/external/skia/src/gpu/ganesh/ |
D | GrProcessorSet.cpp | 35 : fXP((const GrXPFactory*)nullptr) { in GrProcessorSet() 154 GrXPFactory::AnalysisProperties props = GrXPFactory::GetAnalysisProperties( in finalize() 156 analysis.fRequiresDstTexture = (props & GrXPFactory::AnalysisProperties::kRequiresDstTexture) || in finalize() 159 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithCoverageAsAlpha); in finalize() 161 (props & GrXPFactory::AnalysisProperties::kRequiresNonOverlappingDraws) || in finalize() 164 SkToBool(props & GrXPFactory::AnalysisProperties::kUsesNonCoherentHWBlending); in finalize() 166 SkToBool(props & GrXPFactory::AnalysisProperties::kUnaffectedByDstValue); in finalize() 167 if (props & GrXPFactory::AnalysisProperties::kIgnoresInputColor) { in finalize() 183 auto xp = GrXPFactory::MakeXferProcessor(this->xpFactory(), colorAnalysis.outputColor(), in finalize()
|
D | GrPaint.h | 21 class GrXPFactory; variable 53 void setXPFactory(const GrXPFactory* xpFactory) { in setXPFactory() 89 const GrXPFactory* getXPFactory() const { return fXPFactory; } in getXPFactory() 129 const GrXPFactory* fXPFactory = nullptr;
|
D | GrProcessorUnitTest.h | 28 class GrXPFactory; variable 113 using GetFn = const GrXPFactory*(GrProcessorTestData*); 117 static const GrXPFactory* Get(GrProcessorTestData* data); 142 static const GrXPFactory* TestGet(GrProcessorTestData*); 176 const GrXPFactory* TestGet(GrProcessorTestData*);
|
D | GrXferProcessor.cpp | 59 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties() 60 const GrXPFactory* factory, in GetAnalysisProperties() 83 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
|
D | GrXferProcessor.h | 194 class GrXPFactory { 231 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*, 237 static AnalysisProperties GetAnalysisProperties(const GrXPFactory*, 244 constexpr GrXPFactory() {} in GrXPFactory() function 268 GR_MAKE_BITFIELD_CLASS_OPS(GrXPFactory::AnalysisProperties) in GR_MAKE_BITFIELD_CLASS_OPS()
|
D | GrProcessorSet.h | 19 class GrXPFactory; variable 169 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP() 175 const GrXPFactory* fFactory; 179 const GrXPFactory* xpFactory() const { in xpFactory()
|
D | GrPaint.cpp | 39 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor() 40 static const GrXPFactory* kClear = GrPorterDuffXPFactory::Get(SkBlendMode::kClear); in isConstantBlendedColor()
|
D | GrProcessorUnitTest.cpp | 113 const GrXPFactory* GrXPFactoryTestFactory::Get(GrProcessorTestData* data) { in Get() 119 const GrXPFactory* xpf = (*GetFactories())[idx]->fGetProc(data); in Get()
|
/external/skia/tests/ |
D | AdvancedBlendTest.cpp | 40 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 42 GrXPFactory::AnalysisProperties xpfAnalysis = in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 43 GrXPFactory::GetAnalysisProperties(xpf, opaque, coverage, caps, GrClampType::kAuto); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 56 !(xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 67 (xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() 68 if (xpfAnalysis & GrXPFactory::AnalysisProperties::kRequiresDstTexture) { in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
|
D | GrPorterDuffTest.cpp | 86 static GrProcessorSet::Analysis do_analysis(const GrXPFactory* xpf, in do_analysis() 105 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(xfermode); in XPInfo() 114 GrXPFactory::MakeXferProcessor(xpf, inputColor, inputCoverage, caps, in XPInfo() 1054 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(SkBlendMode::kSrcOver); in test_lcd_coverage_fallback_case() 1057 TEST_ASSERT(!(GrXPFactory::GetAnalysisProperties(xpf, color, coverage, caps, autoClamp) & in test_lcd_coverage_fallback_case() 1058 GrXPFactory::AnalysisProperties::kRequiresDstTexture)); in test_lcd_coverage_fallback_case() 1060 GrXPFactory::MakeXferProcessor(xpf, color, coverage, caps, autoClamp)); in test_lcd_coverage_fallback_case() 1072 TEST_ASSERT(!(GrXPFactory::GetAnalysisProperties(xpf, color, coverage, caps, autoClamp) & in test_lcd_coverage_fallback_case() 1073 GrXPFactory::AnalysisProperties::kRequiresDstTexture)); in test_lcd_coverage_fallback_case() 1075 GrXPFactory::MakeXferProcessor(xpf, color, coverage, caps, autoClamp)); in test_lcd_coverage_fallback_case() [all …]
|
/external/skia/src/gpu/ganesh/effects/ |
D | GrPorterDuffXferProcessor.h | 26 class GrPorterDuffXPFactory : public GrXPFactory { 28 static const GrXPFactory* Get(SkBlendMode blendMode); 67 using INHERITED = GrXPFactory;
|
D | GrCoverageSetOpXP.h | 31 class GrCoverageSetOpXPFactory : public GrXPFactory { 33 static const GrXPFactory* Get(SkRegion::Op regionOp, bool invertCoverage = false); 71 using INHERITED = GrXPFactory;
|
D | GrCustomXfermode.h | 15 class GrXPFactory; variable 23 const GrXPFactory* Get(SkBlendMode mode);
|
D | GrDisableColorXP.h | 25 class GrDisableColorXPFactory : public GrXPFactory { 49 using INHERITED = GrXPFactory;
|
D | GrCustomXfermode.cpp | 206 class CustomXPFactory : public GrXPFactory { 227 using INHERITED = GrXPFactory; 248 GrXPFactory::AnalysisProperties CustomXPFactory::analysisProperties( in analysisProperties() 361 const GrXPFactory* CustomXPFactory::TestGet(GrProcessorTestData* d) { in GR_DEFINE_XP_FACTORY_TEST() 371 const GrXPFactory* GrCustomXfermode::Get(SkBlendMode mode) { in Get()
|
D | GrCoverageSetOpXP.cpp | 103 const GrXPFactory* GrCoverageSetOpXPFactory::Get(SkRegion::Op regionOp, bool invertCoverage) { in Get() 184 const GrXPFactory* GrCoverageSetOpXPFactory::TestGet(GrProcessorTestData* d) { in GR_DEFINE_XP_FACTORY_TEST()
|
D | GrDisableColorXP.cpp | 70 const GrXPFactory* GrDisableColorXPFactory::TestGet(GrProcessorTestData*) { in GR_DEFINE_XP_FACTORY_TEST()
|
D | GrPorterDuffXferProcessor.cpp | 672 const GrXPFactory* GrPorterDuffXPFactory::Get(SkBlendMode blendMode) { in Get() 764 static inline GrXPFactory::AnalysisProperties analysis_properties( in analysis_properties() 767 using AnalysisProperties = GrXPFactory::AnalysisProperties; in analysis_properties() 823 GrXPFactory::AnalysisProperties GrPorterDuffXPFactory::analysisProperties( in analysisProperties() 834 const GrXPFactory* GrPorterDuffXPFactory::TestGet(GrProcessorTestData* d) { in GR_DEFINE_XP_FACTORY_TEST() 915 GrXPFactory::AnalysisProperties GrPorterDuffXPFactory::SrcOverAnalysisProperties( in SrcOverAnalysisProperties()
|
/external/skia/src/core/ |
D | SkXfermode.cpp | 162 const GrXPFactory* SkBlendMode_AsXPFactory(SkBlendMode mode) { in SkBlendMode_AsXPFactory() 164 const GrXPFactory* result = GrPorterDuffXPFactory::Get(mode); in SkBlendMode_AsXPFactory()
|
D | SkBlendModePriv.h | 37 const GrXPFactory* SkBlendMode_AsXPFactory(SkBlendMode);
|
D | SkXfermodePriv.h | 17 class GrXPFactory; variable
|