Home
last modified time | relevance | path

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

12

/external/skia/tests/
DAdvancedBlendTest.cpp35 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/
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/src/gpu/
DGrProcessorSet.cpp35 : 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()
DGrXferProcessor.cpp153 GrXPFactory::AnalysisProperties GrXPFactory::GetAnalysisProperties( in GetAnalysisProperties()
154 const GrXPFactory* factory, in GetAnalysisProperties()
177 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
DGrPaint.h21 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;
DGrProcessorUnitTest.h28 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*);
DGrXferProcessor.h247 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)
DGrProcessorSet.h19 class GrXPFactory; variable
172 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP()
178 const GrXPFactory* fFactory;
182 const GrXPFactory* xpFactory() const { in xpFactory()
DGrPaint.cpp39 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/
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/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()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.h24 class GrPorterDuffXPFactory : public GrXPFactory {
26 static const GrXPFactory* Get(SkBlendMode blendMode);
65 using INHERITED = GrXPFactory;
DGrCoverageSetOpXP.h30 class GrCoverageSetOpXPFactory : public GrXPFactory {
32 static const GrXPFactory* Get(SkRegion::Op regionOp, bool invertCoverage = false);
70 using INHERITED = GrXPFactory;
DGrCustomXfermode.h15 class GrXPFactory; variable
23 const GrXPFactory* Get(SkBlendMode mode);
DGrDisableColorXP.h24 class GrDisableColorXPFactory : public GrXPFactory {
48 using INHERITED = GrXPFactory;
DGrCustomXfermode.cpp212 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()

12