/external/skia/tests/ |
D | AdvancedBlendTest.cpp | 35 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 37 GrXPFactory::AnalysisProperties xpfAnalysis = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 38 GrXPFactory::GetAnalysisProperties(xpf, opaque, coverage, caps, GrClampType::kAuto); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 51 !(xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 62 (xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 63 if (xpfAnalysis & GrXPFactory::AnalysisProperties::kRequiresDstTexture) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | AdvancedBlendTest.cpp | 24 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 26 GrXPFactory::AnalysisProperties xpfAnalysis = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 27 GrXPFactory::GetAnalysisProperties(xpf, opaque, coverage, caps); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 39 !(xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 50 (xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 51 if (xpfAnalysis & GrXPFactory::AnalysisProperties::kRequiresDstTexture) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/ |
D | GrProcessorSet.cpp | 35 : fXP((const GrXPFactory*)nullptr) { in GrProcessorSet() 154 GrXPFactory::AnalysisProperties props = GrXPFactory::GetAnalysisProperties( in finalize() 157 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresDstTexture); in finalize() 159 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithCoverageAsAlpha); in finalize() 161 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresNonOverlappingDraws); in finalize() 163 SkToBool(props & GrXPFactory::AnalysisProperties::kUsesNonCoherentHWBlending); in finalize() 165 SkToBool(props & GrXPFactory::AnalysisProperties::kUnaffectedByDstValue); in finalize() 166 if (props & GrXPFactory::AnalysisProperties::kIgnoresInputColor) { in finalize() 182 auto xp = GrXPFactory::MakeXferProcessor(this->xpFactory(), colorAnalysis.outputColor(), in finalize()
|
D | GrXferProcessor.cpp | 153 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties() 154 const GrXPFactory* factory, in GetAnalysisProperties() 177 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
|
D | GrPaint.h | 21 class GrXPFactory; variable 53 void setXPFactory(const GrXPFactory* xpFactory) { in setXPFactory() 89 const GrXPFactory* getXPFactory() const { return fXPFactory; } in getXPFactory() 128 const GrXPFactory* fXPFactory = nullptr;
|
D | GrProcessorUnitTest.h | 28 class GrXPFactory; variable 119 using GetFn = const GrXPFactory*(GrProcessorTestData*); 123 static const GrXPFactory* Get(GrProcessorTestData* data); 148 static const GrXPFactory* TestGet(GrProcessorTestData*); 180 const GrXPFactory* TestGet(GrProcessorTestData*);
|
D | GrXferProcessor.h | 247 class GrXPFactory { 286 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*, 292 static AnalysisProperties GetAnalysisProperties(const GrXPFactory*, 299 constexpr GrXPFactory() {} in GrXPFactory() function 323 GR_MAKE_BITFIELD_CLASS_OPS(GrXPFactory::AnalysisProperties)
|
D | GrProcessorSet.h | 19 class GrXPFactory; variable 172 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP() 178 const GrXPFactory* fFactory; 182 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()
|
/external/skqp/src/gpu/effects/ |
D | GrDisableColorXP.h | 24 class GrDisableColorXPFactory : public GrXPFactory { 26 static const GrXPFactory* Get(); 45 typedef GrXPFactory INHERITED; 54 inline const GrXPFactory* GrDisableColorXPFactory::Get() { in Get()
|
D | GrCoverageSetOpXP.h | 30 class GrCoverageSetOpXPFactory : public GrXPFactory { 32 static const GrXPFactory* Get(SkRegion::Op regionOp, bool invertCoverage = false); 54 typedef GrXPFactory INHERITED;
|
D | GrPorterDuffXferProcessor.h | 24 class GrPorterDuffXPFactory : public GrXPFactory { 26 static const GrXPFactory* Get(SkBlendMode blendMode); 64 typedef GrXPFactory INHERITED;
|
D | GrCustomXfermode.h | 15 class GrXPFactory; variable 23 const GrXPFactory* Get(SkBlendMode mode);
|
D | GrCustomXfermode.cpp | 214 class CustomXPFactory : public GrXPFactory { 234 typedef GrXPFactory INHERITED; 255 GrXPFactory::AnalysisProperties CustomXPFactory::analysisProperties( in analysisProperties() 367 const GrXPFactory* CustomXPFactory::TestGet(GrProcessorTestData* d) { in TestGet() 377 const GrXPFactory* GrCustomXfermode::Get(SkBlendMode mode) { in Get()
|
/external/skqp/src/gpu/ |
D | GrProcessorUnitTest.h | 26 class GrXPFactory; variable 127 using GetFn = const GrXPFactory*(GrProcessorTestData*); 131 static const GrXPFactory* Get(GrProcessorTestData* data) { in Get() 135 const GrXPFactory* xpf = (*GetFactories())[idx]->fGetProc(data); in Get() 160 static const GrXPFactory* TestGet(GrProcessorTestData*); 192 const GrXPFactory* TestGet(GrProcessorTestData*);
|
D | GrXferProcessor.cpp | 165 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties() 166 const GrXPFactory* factory, in GetAnalysisProperties() 185 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
|
D | GrProcessorSet.cpp | 53 , fXP((const GrXPFactory*)nullptr) in GrProcessorSet() 211 GrXPFactory::AnalysisProperties props = GrXPFactory::GetAnalysisProperties( in finalize() 217 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresDstTexture); in finalize() 219 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithAlphaAsCoverage); in finalize() 221 props & GrXPFactory::AnalysisProperties::kRequiresNonOverlappingDraws); in finalize() 222 if (props & GrXPFactory::AnalysisProperties::kIgnoresInputColor) { in finalize() 239 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() 95 const GrXPFactory* getXPFactory() const { return fXPFactory; } in getXPFactory() 130 const GrXPFactory* fXPFactory = nullptr;
|
D | GrXferProcessor.h | 254 class GrXPFactory { 285 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*, 291 static AnalysisProperties GetAnalysisProperties(const GrXPFactory*, 297 constexpr GrXPFactory() {} in GrXPFactory() function 320 GR_MAKE_BITFIELD_CLASS_OPS(GrXPFactory::AnalysisProperties);
|
D | GrProcessorSet.h | 18 class GrXPFactory; variable 176 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP() 182 const GrXPFactory* fFactory; 186 const GrXPFactory* xpFactory() const { in xpFactory()
|
/external/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.h | 24 class GrPorterDuffXPFactory : public GrXPFactory { 26 static const GrXPFactory* Get(SkBlendMode blendMode); 65 using INHERITED = GrXPFactory;
|
D | GrCoverageSetOpXP.h | 30 class GrCoverageSetOpXPFactory : public GrXPFactory { 32 static const GrXPFactory* Get(SkRegion::Op regionOp, bool invertCoverage = false); 70 using INHERITED = GrXPFactory;
|
D | GrCustomXfermode.h | 15 class GrXPFactory; variable 23 const GrXPFactory* Get(SkBlendMode mode);
|
D | GrDisableColorXP.h | 24 class GrDisableColorXPFactory : public GrXPFactory { 48 using INHERITED = GrXPFactory;
|
D | GrCustomXfermode.cpp | 212 class CustomXPFactory : public GrXPFactory { 233 using INHERITED = GrXPFactory; 254 GrXPFactory::AnalysisProperties CustomXPFactory::analysisProperties( in analysisProperties() 367 const GrXPFactory* CustomXPFactory::TestGet(GrProcessorTestData* d) { in TestGet() 377 const GrXPFactory* GrCustomXfermode::Get(SkBlendMode mode) { in Get()
|