Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrXferProcessor.cpp178 bool GrXPFactory::WillNeedDstTexture(const GrXPFactory* factory, const GrCaps& caps, in WillNeedDstTexture()
190 bool GrXPFactory::CompatibleWithCoverageAsAlpha(const GrXPFactory* factory, bool colorIsOpaque) { in CompatibleWithCoverageAsAlpha()
197 bool GrXPFactory::CanCombineOverlappedStencilAndCover(const GrXPFactory* factory, in CanCombineOverlappedStencilAndCover()
205 GrXferProcessor* GrXPFactory::createXferProcessor(const FragmentProcessorAnalysis& analysis, in createXferProcessor()
DGrXferProcessor.h297 class GrXPFactory {
312 static bool WillNeedDstTexture(const GrXPFactory*,
316 static bool CompatibleWithCoverageAsAlpha(const GrXPFactory*, bool colorIsOpaque);
323 static bool CanCombineOverlappedStencilAndCover(const GrXPFactory*, bool colorIsOpaque);
326 constexpr GrXPFactory() {} in GrXPFactory() function
DGrPaint.h22 class GrXPFactory; variable
86 void setXPFactory(const GrXPFactory* xpFactory) { fXPFactory = xpFactory; } in setXPFactory()
129 const GrXPFactory* getXPFactory() const { return fXPFactory; } in getXPFactory()
169 const GrXPFactory* fXPFactory = nullptr;
DGrProcessorSet.h17 class GrXPFactory; variable
49 const GrXPFactory* xpFactory() const { return fXPFactory; } in xpFactory()
184 const GrXPFactory* fXPFactory = nullptr;
DGrPaint.cpp62 static const GrXPFactory* kSrc = GrPorterDuffXPFactory::Get(SkBlendMode::kSrc); in isConstantBlendedColor()
63 static const GrXPFactory* kClear = GrPorterDuffXPFactory::Get(SkBlendMode::kClear); in isConstantBlendedColor()
DGrPipelineBuilder.h77 return GrXPFactory::WillNeedDstTexture(fProcessors.xpFactory(), caps, analysis); in willXPNeedDstTexture()
DGrPipeline.cpp56 const GrXPFactory* xpFactory = args.fProcessors->xpFactory(); in init()
/external/skia/src/gpu/effects/
DGrDisableColorXP.h20 class GrDisableColorXPFactory : public GrXPFactory {
22 static const GrXPFactory* Get();
40 typedef GrXPFactory INHERITED;
46 inline const GrXPFactory* GrDisableColorXPFactory::Get() { in Get()
DGrCoverageSetOpXP.h26 class GrCoverageSetOpXPFactory : public GrXPFactory {
28 static const GrXPFactory* Get(SkRegion::Op regionOp, bool invertCoverage = false);
49 typedef GrXPFactory INHERITED;
DGrPorterDuffXferProcessor.h20 class GrPorterDuffXPFactory : public GrXPFactory {
22 static const GrXPFactory* Get(SkBlendMode blendMode);
64 typedef GrXPFactory INHERITED;
DGrCustomXfermode.h15 class GrXPFactory; variable
23 const GrXPFactory* Get(SkBlendMode mode);
DGrCustomXfermode.cpp319 class CustomXPFactory : public GrXPFactory {
339 typedef GrXPFactory INHERITED;
364 const GrXPFactory* CustomXPFactory::TestGet(GrProcessorTestData* d) { in TestGet()
374 const GrXPFactory* GrCustomXfermode::Get(SkBlendMode mode) { in Get()
DGrCoverageSetOpXP.cpp148 const GrXPFactory* GrCoverageSetOpXPFactory::Get(SkRegion::Op regionOp, bool invertCoverage) { in Get()
248 const GrXPFactory* GrCoverageSetOpXPFactory::TestGet(GrProcessorTestData* d) { in TestGet()
DGrDisableColorXP.cpp99 const GrXPFactory* GrDisableColorXPFactory::TestGet(GrProcessorTestData*) { in TestGet()
DGrPorterDuffXferProcessor.cpp668 const GrXPFactory* GrPorterDuffXPFactory::Get(SkBlendMode blendMode) { in Get()
802 const GrXPFactory* GrPorterDuffXPFactory::TestGet(GrProcessorTestData* d) { in TestGet()
/external/skia/include/gpu/
DGrProcessorUnitTest.h25 class GrXPFactory; variable
118 using GetFn = const GrXPFactory*(GrProcessorTestData*);
122 static const GrXPFactory* Get(GrProcessorTestData* data) { in Get()
126 const GrXPFactory* xpf = (*GetFactories())[idx]->fGetProc(data); in Get()
151 static const GrXPFactory* TestGet(GrProcessorTestData*)
183 const GrXPFactory* TestGet(GrProcessorTestData*)
/external/skia/src/core/
DSkBlendModePriv.h20 const GrXPFactory* SkBlendMode_AsXPFactory(SkBlendMode);
DSkXfermodePriv.h17 class GrXPFactory; variable
249 virtual const GrXPFactory* asXPFactory() const;
DSkXfermode_proccoeff.h49 const GrXPFactory* asXPFactory() const override;
DSkXfermode.cpp1004 const GrXPFactory* SkXfermode::asXPFactory() const { in asXPFactory()
1257 const GrXPFactory* SkProcCoeffXfermode::asXPFactory() const { in asXPFactory()
1259 const GrXPFactory* result(GrPorterDuffXPFactory::Get(fMode)); in asXPFactory()
1472 const GrXPFactory* SkBlendMode_AsXPFactory(SkBlendMode mode) { in SkBlendMode_AsXPFactory()
1475 const GrXPFactory* result = GrPorterDuffXPFactory::Get(mode); in SkBlendMode_AsXPFactory()
/external/skia/tests/
DGrPorterDuffTest.cpp69 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(xfermode); in XPInfo()
72 !analysis.hasCoverage() && GrXPFactory::CanCombineOverlappedStencilAndCover( in XPInfo()
75 TEST_ASSERT(!GrXPFactory::WillNeedDstTexture(xpf, caps, analysis)); in XPInfo()
977 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(SkBlendMode::kSrcOver); in test_lcd_coverage_fallback_case()
978 TEST_ASSERT(!GrXPFactory::WillNeedDstTexture(xpf, caps, analysis)); in test_lcd_coverage_fallback_case()
1031 const GrXPFactory* xpf = GrPorterDuffXPFactory::Get(xfermode);
1033 GrXPFactory::WillNeedDstTexture(xpf, caps, analysis) ? &fakeDstTexture : 0;
/external/skia/src/gpu/ops/
DGrDrawPathOp.h32 return GrXPFactory::WillNeedDstTexture(fProcessorSet.xpFactory(), caps, in xpRequiresDstTexture()
DGrDrawPathOp.cpp157 if (!GrXPFactory::CanCombineOverlappedStencilAndCover(this->processors().xpFactory(), opaque)) { in onCombineIfPossible()
/external/skia/src/gpu/instanced/
DInstancedRendering.cpp372 !GrXPFactory::CompatibleWithCoverageAsAlpha(fProcessors.xpFactory(), in xpRequiresDstTexture()
376 return GrXPFactory::WillNeedDstTexture(fProcessors.xpFactory(), caps, analysis); in xpRequiresDstTexture()