Home
last modified time | relevance | path

Searched refs:GrXPFactory (Results 1 – 25 of 41) sorted by relevance

12

/external/skqp/tests/
DAdvancedBlendTest.cpp24 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/tests/
DAdvancedBlendTest.cpp24 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, GrClampType::kAuto); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
41 !(xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
52 (xpfAnalysis & GrXPFactory::AnalysisProperties::kReadsDstInShader)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
53 if (xpfAnalysis & GrXPFactory::AnalysisProperties::kRequiresDstTexture) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/effects/
DGrDisableColorXP.h24 class GrDisableColorXPFactory : public GrXPFactory {
26 static const GrXPFactory* Get();
45 typedef GrXPFactory INHERITED;
54 inline const GrXPFactory* GrDisableColorXPFactory::Get() { in Get()
DGrCoverageSetOpXP.h30 class GrCoverageSetOpXPFactory : public GrXPFactory {
32 static const GrXPFactory* Get(SkRegion::Op regionOp, bool invertCoverage = false);
54 typedef GrXPFactory INHERITED;
DGrPorterDuffXferProcessor.h24 class GrPorterDuffXPFactory : public GrXPFactory {
26 static const GrXPFactory* Get(SkBlendMode blendMode);
64 typedef GrXPFactory INHERITED;
DGrCustomXfermode.h15 class GrXPFactory; variable
23 const GrXPFactory* Get(SkBlendMode mode);
DGrCustomXfermode.cpp214 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/skia/src/gpu/effects/
DGrDisableColorXP.h24 class GrDisableColorXPFactory : public GrXPFactory {
26 static const GrXPFactory* Get();
47 typedef GrXPFactory INHERITED;
56 inline const GrXPFactory* GrDisableColorXPFactory::Get() { in Get()
DGrCoverageSetOpXP.h30 class GrCoverageSetOpXPFactory : public GrXPFactory {
32 static const GrXPFactory* Get(SkRegion::Op regionOp, bool invertCoverage = false);
56 typedef GrXPFactory INHERITED;
DGrPorterDuffXferProcessor.h24 class GrPorterDuffXPFactory : public GrXPFactory {
26 static const GrXPFactory* Get(SkBlendMode blendMode);
67 typedef GrXPFactory INHERITED;
DGrCustomXfermode.h15 class GrXPFactory; variable
23 const GrXPFactory* Get(SkBlendMode mode);
DGrCustomXfermode.cpp214 class CustomXPFactory : public GrXPFactory {
236 typedef GrXPFactory INHERITED;
258 GrXPFactory::AnalysisProperties CustomXPFactory::analysisProperties( in analysisProperties()
370 const GrXPFactory* CustomXPFactory::TestGet(GrProcessorTestData* d) { in TestGet()
380 const GrXPFactory* GrCustomXfermode::Get(SkBlendMode mode) { in Get()
/external/skia/src/gpu/
DGrProcessorUnitTest.h26 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*);
DGrProcessorSet.cpp54 , 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()
242 auto xp = GrXPFactory::MakeXferProcessor(this->xpFactory(), colorAnalysis.outputColor(), in finalize()
DGrXferProcessor.cpp165 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties()
166 const GrXPFactory* factory, in GetAnalysisProperties()
187 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
DGrPaint.h21 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;
DGrXferProcessor.h254 class GrXPFactory {
285 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*,
292 static AnalysisProperties GetAnalysisProperties(const GrXPFactory*,
299 constexpr GrXPFactory() {} in GrXPFactory() function
324 GR_MAKE_BITFIELD_CLASS_OPS(GrXPFactory::AnalysisProperties);
DGrProcessorSet.h19 class GrXPFactory; variable
181 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP()
187 const GrXPFactory* fFactory;
191 const GrXPFactory* xpFactory() const { in xpFactory()
/external/skqp/src/gpu/
DGrProcessorUnitTest.h26 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*);
DGrXferProcessor.cpp165 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties()
166 const GrXPFactory* factory, in GetAnalysisProperties()
185 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
DGrProcessorSet.cpp53 , 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()
DGrPaint.h21 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;
DGrXferProcessor.h254 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);
DGrProcessorSet.h18 class GrXPFactory; variable
176 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP()
182 const GrXPFactory* fFactory;
186 const GrXPFactory* xpFactory() const { in xpFactory()
DGrPaint.cpp63 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor()
64 static const GrXPFactory* kClear = GrPorterDuffXPFactory::Get(SkBlendMode::kClear); in isConstantBlendedColor()

12