Home
last modified time | relevance | path

Searched refs:GrXferProcessor (Results 1 – 25 of 74) sorted by relevance

123

/external/skqp/src/gpu/effects/
DGrDisableColorXP.cpp19 class DisableColorXP : public GrXferProcessor {
32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
34 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
38 typedef GrXferProcessor INHERITED;
60 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
73 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
78 sk_sp<const GrXferProcessor> GrDisableColorXPFactory::makeXferProcessor( in makeXferProcessor()
83 return sk_sp<const GrXferProcessor>(new DisableColorXP); in makeXferProcessor()
DGrPorterDuffXferProcessor.cpp398 class PorterDuffXferProcessor : public GrXferProcessor {
416 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
423 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
430 typedef GrXferProcessor INHERITED;
490 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
508 class ShaderPDXferProcessor : public GrXferProcessor {
525 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
532 typedef GrXferProcessor INHERITED;
552 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead()
562 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
[all …]
DGrPorterDuffXferProcessor.h30 static sk_sp<const GrXferProcessor> MakeSrcOverXferProcessor(const GrProcessorAnalysisColor&,
36 static sk_sp<const GrXferProcessor> MakeNoCoverageXP(SkBlendMode);
40 static const GrXferProcessor& SimpleSrcOverXP();
49 sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
59 static void TestGetXPOutputTypes(const GrXferProcessor*, int* outPrimary, int* outSecondary);
DGrCustomXfermode.cpp75 class CustomXP : public GrXferProcessor {
107 bool onIsEqual(const GrXferProcessor& xpBase) const override;
112 typedef GrXferProcessor INHERITED;
119 GLCustomXP(const GrXferProcessor&) {} in GLCustomXP() argument
122 static void GenKey(const GrXferProcessor& p, const GrShaderCaps& caps, in GenKey()
158 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead()
169 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
185 bool CustomXP::onIsEqual(const GrXferProcessor& other) const { in onIsEqual()
220 sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
243 sk_sp<const GrXferProcessor> CustomXPFactory::makeXferProcessor( in makeXferProcessor()
[all …]
DGrCoverageSetOpXP.cpp19 class CoverageSetOpXP : public GrXferProcessor {
36 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
38 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
47 typedef GrXferProcessor INHERITED;
77 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
93 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
210 sk_sp<const GrXferProcessor> GrCoverageSetOpXPFactory::makeXferProcessor( in makeXferProcessor()
223 return sk_sp<GrXferProcessor>(new CoverageSetOpXP(fRegionOp, fInvertCoverage)); in makeXferProcessor()
/external/skia/src/gpu/effects/
DGrDisableColorXP.cpp19 class DisableColorXP : public GrXferProcessor {
32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
34 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
38 typedef GrXferProcessor INHERITED;
60 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
73 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
78 sk_sp<const GrXferProcessor> GrDisableColorXPFactory::makeXferProcessor( in makeXferProcessor()
84 return sk_sp<const GrXferProcessor>(new DisableColorXP); in makeXferProcessor()
DGrPorterDuffXferProcessor.cpp398 class PorterDuffXferProcessor : public GrXferProcessor {
416 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
423 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
430 typedef GrXferProcessor INHERITED;
490 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
508 class ShaderPDXferProcessor : public GrXferProcessor {
525 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
532 typedef GrXferProcessor INHERITED;
552 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead()
562 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
[all …]
DGrPorterDuffXferProcessor.h30 static sk_sp<const GrXferProcessor> MakeSrcOverXferProcessor(const GrProcessorAnalysisColor&,
36 static sk_sp<const GrXferProcessor> MakeNoCoverageXP(SkBlendMode);
40 static const GrXferProcessor& SimpleSrcOverXP();
50 sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
62 static void TestGetXPOutputTypes(const GrXferProcessor*, int* outPrimary, int* outSecondary);
DGrCustomXfermode.cpp75 class CustomXP : public GrXferProcessor {
107 bool onIsEqual(const GrXferProcessor& xpBase) const override;
112 typedef GrXferProcessor INHERITED;
119 GLCustomXP(const GrXferProcessor&) {} in GLCustomXP() argument
122 static void GenKey(const GrXferProcessor& p, const GrShaderCaps& caps, in GenKey()
158 const GrXferProcessor& proc) override { in emitBlendCodeForDstRead()
169 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
185 bool CustomXP::onIsEqual(const GrXferProcessor& other) const { in onIsEqual()
220 sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
245 sk_sp<const GrXferProcessor> CustomXPFactory::makeXferProcessor( in makeXferProcessor()
[all …]
DGrCoverageSetOpXP.cpp19 class CoverageSetOpXP : public GrXferProcessor {
36 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
38 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
47 typedef GrXferProcessor INHERITED;
77 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
93 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
210 sk_sp<const GrXferProcessor> GrCoverageSetOpXPFactory::makeXferProcessor( in makeXferProcessor()
224 return sk_sp<GrXferProcessor>(new CoverageSetOpXP(fRegionOp, fInvertCoverage)); in makeXferProcessor()
/external/skqp/src/gpu/
DGrXferProcessor.cpp13 GrXferProcessor::GrXferProcessor(ClassID classID) in GrXferProcessor() function in GrXferProcessor
19 GrXferProcessor::GrXferProcessor(ClassID classID, bool willReadDstColor, bool hasMixedSamples, in GrXferProcessor() function in GrXferProcessor
26 bool GrXferProcessor::hasSecondaryOutput() const { in hasSecondaryOutput()
33 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const { in getBlendInfo()
42 void GrXferProcessor::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b, in getGLSLProcessorKey()
154 SkString GrXferProcessor::BlendInfo::dump() const { in dump()
185 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
DGrXferProcessor.h49 class GrXferProcessor : public GrProcessor, public GrNonAtomicRef<GrXferProcessor> {
174 bool isEqual(const GrXferProcessor& that) const { in isEqual()
191 GrXferProcessor(ClassID classID);
192 GrXferProcessor(ClassID classID, bool willReadDstColor, bool hasMixedSamples,
216 virtual bool onIsEqual(const GrXferProcessor&) const = 0;
256 typedef GrXferProcessor::DstProxy DstProxy;
285 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*,
300 virtual sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
DGrProcessorSet.h49 const GrXferProcessor* xferProcessor() const { in xferProcessor()
53 sk_sp<const GrXferProcessor> refXferProcessor() const { in refXferProcessor()
160 GrProcessorSet(Empty) : fXP((const GrXferProcessor*)nullptr), fFlags(kFinalized_Flag) {} in GrProcessorSet()
177 XP(const GrXferProcessor* processor) : fProcessor(processor) {} in XP()
183 const GrXferProcessor* fProcessor;
DGrPipeline.h60 GrXferProcessor::DstProxy fDstProxy;
117 const GrXferProcessor& getXferProcessor() const { in getXferProcessor()
217 sk_sp<const GrXferProcessor> fXferProcessor;
/external/skia/src/gpu/
DGrXferProcessor.cpp13 GrXferProcessor::GrXferProcessor(ClassID classID) in GrXferProcessor() function in GrXferProcessor
19 GrXferProcessor::GrXferProcessor(ClassID classID, bool willReadDstColor, bool hasMixedSamples, in GrXferProcessor() function in GrXferProcessor
26 bool GrXferProcessor::hasSecondaryOutput() const { in hasSecondaryOutput()
33 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const { in getBlendInfo()
42 void GrXferProcessor::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b, in getGLSLProcessorKey()
154 SkString GrXferProcessor::BlendInfo::dump() const { in dump()
187 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
DGrXferProcessor.h49 class GrXferProcessor : public GrProcessor, public GrNonAtomicRef<GrXferProcessor> {
174 bool isEqual(const GrXferProcessor& that) const { in isEqual()
191 GrXferProcessor(ClassID classID);
192 GrXferProcessor(ClassID classID, bool willReadDstColor, bool hasMixedSamples,
216 virtual bool onIsEqual(const GrXferProcessor&) const = 0;
256 typedef GrXferProcessor::DstProxy DstProxy;
285 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*,
302 virtual sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
DGrProcessorSet.h50 const GrXferProcessor* xferProcessor() const { in xferProcessor()
54 sk_sp<const GrXferProcessor> refXferProcessor() const { in refXferProcessor()
165 GrProcessorSet(Empty) : fXP((const GrXferProcessor*)nullptr), fFlags(kFinalized_Flag) {} in GrProcessorSet()
182 XP(const GrXferProcessor* processor) : fProcessor(processor) {} in XP()
188 const GrXferProcessor* fProcessor;
DGrPipeline.h60 GrXferProcessor::DstProxy fDstProxy;
118 const GrXferProcessor& getXferProcessor() const { in getXferProcessor()
221 sk_sp<const GrXferProcessor> fXferProcessor;
DGrOpFlushState.h66 GrXferProcessor::DstProxy fDstProxy;
101 const GrXferProcessor::DstProxy& dstProxy() const final { return fOpArgs->fDstProxy; } in dstProxy()
/external/skqp/src/gpu/glsl/
DGrGLSLXferProcessor.h15 class GrXferProcessor; variable
32 const GrXferProcessor& xp, in EmitArgs()
52 const GrXferProcessor& fXP;
73 void setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp,
82 const GrXferProcessor& proc);
106 const GrXferProcessor&) { in emitBlendCodeForDstRead() argument
110 virtual void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) = 0;
DGrGLSLXferProcessor.cpp22 const GrXferProcessor& proc) { in adjust_for_lcd_coverage()
108 void GrGLSLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp, in setData()
130 const GrXferProcessor& proc) { in DefaultCoverageModulation()
/external/skia/src/gpu/glsl/
DGrGLSLXferProcessor.h15 class GrXferProcessor; variable
32 const GrXferProcessor& xp, in EmitArgs()
52 const GrXferProcessor& fXP;
73 void setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp,
82 const GrXferProcessor& proc);
106 const GrXferProcessor&) { in emitBlendCodeForDstRead() argument
110 virtual void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) = 0;
DGrGLSLXferProcessor.cpp22 const GrXferProcessor& proc) { in adjust_for_lcd_coverage()
108 void GrGLSLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp, in setData()
130 const GrXferProcessor& proc) { in DefaultCoverageModulation()
/external/skia/src/gpu/vk/
DGrVkPipeline.h18 class GrXferProcessor; variable
45 const GrXferProcessor&);
/external/skqp/src/gpu/vk/
DGrVkPipeline.h18 class GrXferProcessor; variable
45 const GrXferProcessor&);

123