/external/skia/src/gpu/effects/ |
D | GrDisableColorXP.cpp | 19 class DisableColorXP : public GrXferProcessor { 21 static GrXferProcessor* Create() { return new DisableColorXP; } in Create() 32 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, in onGetOptimizations() 36 return GrXferProcessor::kIgnoreColor_OptFlag | GrXferProcessor::kIgnoreCoverage_OptFlag; in onGetOptimizations() 41 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; 43 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual() 47 typedef GrXferProcessor INHERITED; 69 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument 86 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo() 96 GrXferProcessor*
|
D | GrCoverageSetOpXP.cpp | 20 class CoverageSetOpXP : public GrXferProcessor { 22 static GrXferProcessor* Create(SkRegion::Op regionOp, bool invertCoverage) { in Create() 37 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, 44 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override; 46 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual() 55 typedef GrXferProcessor INHERITED; 85 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {}; in onSetData() argument 110 GrXferProcessor::OptFlags 116 return GrXferProcessor::kIgnoreColor_OptFlag; in onGetOptimizations() 119 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo() [all …]
|
D | GrPorterDuffXferProcessor.cpp | 344 class PorterDuffXferProcessor : public GrXferProcessor { 357 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, 366 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo() 373 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual() 380 typedef GrXferProcessor INHERITED; 458 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument 474 GrXferProcessor::OptFlags 479 GrXferProcessor::OptFlags optFlags = GrXferProcessor::kNone_OptFlags; in onGetOptimizations() 482 optFlags |= GrXferProcessor::kSkipDraw_OptFlag; in onGetOptimizations() 484 optFlags |= (GrXferProcessor::kIgnoreColor_OptFlag | in onGetOptimizations() [all …]
|
D | GrCustomXfermode.cpp | 78 class CustomXP : public GrXferProcessor { 106 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, 117 bool onIsEqual(const GrXferProcessor& xpBase) const override; 122 typedef GrXferProcessor INHERITED; 129 GLCustomXP(const GrXferProcessor&) {} in GLCustomXP() argument 132 static void GenKey(const GrXferProcessor& p, const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) { in GenKey() 171 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead() 182 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument 198 bool CustomXP::onIsEqual(const GrXferProcessor& other) const { in onIsEqual() 203 GrXferProcessor::OptFlags CustomXP::onGetOptimizations(const GrPipelineOptimizations& optimizations, in onGetOptimizations() [all …]
|
D | GrDisableColorXP.h | 29 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
|
/external/skia/src/gpu/ |
D | GrXferProcessor.cpp | 14 GrXferProcessor::GrXferProcessor() in GrXferProcessor() function in GrXferProcessor 20 GrXferProcessor::GrXferProcessor(const DstTexture* dstTexture, in GrXferProcessor() function in GrXferProcessor 35 GrXferProcessor::OptFlags GrXferProcessor::getOptimizations( in getOptimizations() 40 GrXferProcessor::OptFlags flags = this->onGetOptimizations(optimizations, in getOptimizations() 47 SkASSERT(!(flags & GrXferProcessor::kIgnoreCoverage_OptFlag)); in getOptimizations() 49 flags |= GrXferProcessor::kIgnoreCoverage_OptFlag; in getOptimizations() 55 bool GrXferProcessor::hasSecondaryOutput() const { in hasSecondaryOutput() 62 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const { in getBlendInfo() 71 void GrXferProcessor::getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { in getGLSLProcessorKey() 88 GrXferBarrierType GrXferProcessor::xferBarrierType(const GrRenderTarget* rt, in xferBarrierType() [all …]
|
D | GrPipeline.cpp | 25 SkAutoTUnref<GrXferProcessor> xferProcessor; in CreateAt() 47 GrXferProcessor::OptFlags optFlags = GrXferProcessor::kNone_OptFlags; in CreateAt() 49 const GrXferProcessor* xpForOpts = xferProcessor ? xferProcessor.get() : in CreateAt() 59 if (GrXferProcessor::kSkipDraw_OptFlag & optFlags) { in CreateAt() 64 if (SkToBool(GrXferProcessor::kIgnoreColor_OptFlag & optFlags)) { in CreateAt() 120 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreColor_OptFlag)) { in CreateAt() 127 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreCoverage_OptFlag)) { in CreateAt() 133 if (SkToBool(optFlags & GrXferProcessor::kCanTweakAlphaForCoverage_OptFlag)) { in CreateAt() 171 const GrXferProcessor& xfer = this->getXferProcessor(); in addDependenciesTo() 181 GrXferProcessor::OptFlags flags, in adjustProgramFromOptimizations() [all …]
|
D | GrPipeline.h | 54 GrXferProcessor::DstTexture fDstTexture; 109 const GrXferProcessor& getXferProcessor() const { in getXferProcessor() 173 GrXferProcessor::OptFlags, 184 void setOutputStateInfo(const GrPipelineBuilder& ds, GrXferProcessor::OptFlags, 195 typedef GrPendingProgramElement<const GrXferProcessor> ProgramXferProcessor;
|
D | GrDrawTarget.h | 228 GrXferProcessor::DstTexture*,
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLXferProcessor.h | 14 class GrXferProcessor; variable 30 const GrXferProcessor& xp, in EmitArgs() 51 const GrXferProcessor& fXP; 72 void setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp); 80 const GrXferProcessor& proc); 104 const GrXferProcessor&) { in emitBlendCodeForDstRead() argument 108 virtual void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) = 0;
|
D | GrGLSLXferProcessor.cpp | 74 void GrGLSLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp) { in setData() 96 const GrXferProcessor& proc) { in DefaultCoverageModulation()
|
D | GrGLSLProgramBuilder.h | 137 void emitAndInstallXferProc(const GrXferProcessor&, 145 void verify(const GrXferProcessor&);
|
D | GrGLSLProgramBuilder.cpp | 156 void GrGLSLProgramBuilder::emitAndInstallXferProc(const GrXferProcessor& xp, in emitAndInstallXferProc() 221 void GrGLSLProgramBuilder::verify(const GrXferProcessor& xp) { in verify()
|
/external/skia/include/gpu/ |
D | GrXferProcessor.h | 52 class GrXferProcessor : public GrProcessor { 215 bool isEqual(const GrXferProcessor& that) const { in isEqual() 235 GrXferProcessor(); 236 GrXferProcessor(const DstTexture*, bool willReadDstColor, bool hasMixedSamples); 276 virtual bool onIsEqual(const GrXferProcessor&) const = 0; 286 GR_MAKE_BITFIELD_OPS(GrXferProcessor::OptFlags); 303 typedef GrXferProcessor::DstTexture DstTexture; 304 GrXferProcessor* createXferProcessor(const GrPipelineOptimizations& optimizations, 354 virtual GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
|
/external/skia/include/gpu/effects/ |
D | GrPorterDuffXferProcessor.h | 27 static GrXferProcessor* CreateSrcOverXferProcessor(const GrCaps& caps, 30 const GrXferProcessor::DstTexture*); 33 static const GrXferProcessor& SimpleSrcOverXP(); 58 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, 73 static void TestGetXPOutputTypes(const GrXferProcessor*, int* outPrimary, int* outSecondary);
|
D | GrCoverageSetOpXP.h | 32 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
|
/external/skia/tools/debugger/ |
D | SkOverdrawMode.cpp | 143 class OverdrawXP : public GrXferProcessor { 155 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, in onGetOptimizations() 160 return GrXferProcessor::kIgnoreColor_OptFlag; in onGetOptimizations() 165 bool onIsEqual(const GrXferProcessor&) const override { return true; } in onIsEqual() 167 typedef GrXferProcessor INHERITED; 188 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead() 196 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override { }; in onSetData() argument 225 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, in onCreateXferProcessor()
|
/external/skia/src/effects/ |
D | SkArithmeticMode_gpu.cpp | 138 class ArithmeticXP : public GrXferProcessor { 154 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, 161 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual() 176 typedef GrXferProcessor INHERITED; 204 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead() 218 const GrXferProcessor& processor) override { in onSetData() 249 GrXferProcessor::OptFlags ArithmeticXP::onGetOptimizations( in onGetOptimizations() 254 return GrXferProcessor::kNone_OptFlags; in onGetOptimizations() 265 GrXferProcessor*
|
D | SkPixelXorXfermode.cpp | 228 class PixelXorXP : public GrXferProcessor { 243 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, in onGetOptimizations() 247 return GrXferProcessor::kNone_OptFlags; in onGetOptimizations() 252 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual() 260 typedef GrXferProcessor INHERITED; 281 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead() 295 const GrXferProcessor& processor) override { in onSetData() 336 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, in onCreateXferProcessor()
|
D | SkAvoidXfermode.cpp | 351 class AvoidXP : public GrXferProcessor { 371 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations, in onGetOptimizations() 375 return GrXferProcessor::kNone_OptFlags; in onGetOptimizations() 380 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual() 392 typedef GrXferProcessor INHERITED; 413 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead() 439 const GrXferProcessor& processor) override { in onSetData() 483 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, in onCreateXferProcessor()
|
D | SkArithmeticMode_gpu.h | 90 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
|
/external/skia/tests/ |
D | GrPorterDuffTest.cpp | 60 kNone_OptFlags = GrXferProcessor::kNone_OptFlags, 61 kSkipDraw_OptFlag = GrXferProcessor::kSkipDraw_OptFlag, 62 kIgnoreColor_OptFlag = GrXferProcessor::kIgnoreColor_OptFlag, 63 kIgnoreCoverage_OptFlag = GrXferProcessor::kIgnoreCoverage_OptFlag, 64 kCanTweakAlphaForCoverage_OptFlag = GrXferProcessor::kCanTweakAlphaForCoverage_OptFlag 73 SkAutoTUnref<GrXferProcessor> xp( in XPInfo() 88 GrXferProcessor::BlendInfo fBlendInfo; 91 static void GetXPOutputTypes(const GrXferProcessor* xp, int* outPrimary, int* outSecondary) { in GetXPOutputTypes() 1127 SkAutoTUnref<GrXferProcessor> xp( in test_lcd_coverage_fallback_case() 1142 GrXferProcessor::BlendInfo blendInfo; in test_lcd_coverage_fallback_case() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkProgramDesc.cpp | 119 const GrXferProcessor& xp = pipeline.getXferProcessor(); in Build()
|
/external/skia/src/gpu/gl/ |
D | GrGLProgramDesc.cpp | 132 const GrXferProcessor& xp = pipeline.getXferProcessor(); in Build()
|
D | GrGLProgram.cpp | 94 const GrXferProcessor& xp = pipeline.getXferProcessor(); in setData()
|