Home
last modified time | relevance | path

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

1234

/third_party/skia/src/gpu/
DGrXferProcessor.h60 class GrXferProcessor : public GrProcessor, public GrNonAtomicRef<GrXferProcessor> { in GR_MAKE_BITFIELD_CLASS_OPS()
129 bool isEqual(const GrXferProcessor& that) const { in GR_MAKE_BITFIELD_CLASS_OPS()
143 GrXferProcessor(ClassID classID); in GR_MAKE_BITFIELD_CLASS_OPS()
144 GrXferProcessor(ClassID classID, bool willReadDstColor, GrProcessorAnalysisCoverage); in GR_MAKE_BITFIELD_CLASS_OPS()
167 virtual bool onIsEqual(const GrXferProcessor&) const = 0; in GR_MAKE_BITFIELD_CLASS_OPS()
241 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*,
257 virtual sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
282 class GrXferProcessor::ProgramImpl { in GR_MAKE_BITFIELD_CLASS_OPS()
292 const GrXferProcessor& xp, in GR_MAKE_BITFIELD_CLASS_OPS()
314 const GrXferProcessor& fXP; in GR_MAKE_BITFIELD_CLASS_OPS()
[all …]
DGrXferProcessor.cpp15 GrXferProcessor::GrXferProcessor(ClassID classID) in GrXferProcessor() function in GrXferProcessor
20 GrXferProcessor::GrXferProcessor(ClassID classID, bool willReadDstColor, in GrXferProcessor() function in GrXferProcessor
26 bool GrXferProcessor::hasSecondaryOutput() const { in hasSecondaryOutput()
33 void GrXferProcessor::addToKey(const GrShaderCaps& caps, in addToKey()
143 SkString GrXferProcessor::BlendInfo::dump() const { in dump()
178 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
192 using ProgramImpl = GrXferProcessor::ProgramImpl;
199 const GrXferProcessor& proc) { in adjust_for_lcd_coverage()
282 void ProgramImpl::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp) { in setData()
291 const GrXferProcessor& proc) { in DefaultCoverageModulation()
DGrProcessorSet.h46 const GrXferProcessor* xferProcessor() const { in xferProcessor()
50 sk_sp<const GrXferProcessor> refXferProcessor() const { in refXferProcessor()
160 GrProcessorSet(Empty) : fXP((const GrXferProcessor*)nullptr), fFlags(kFinalized_Flag) {} in GrProcessorSet()
170 XP(const GrXferProcessor* processor) : fProcessor(processor) {} in XP()
176 const GrXferProcessor* fProcessor;
DGrPipeline.h82 sk_sp<const GrXferProcessor>,
86 GrPipeline(const InitArgs& args, sk_sp<const GrXferProcessor>, const GrAppliedHardClip&);
114 const GrXferProcessor& getXferProcessor() const { in getXferProcessor()
222 sk_sp<const GrXferProcessor> fXferProcessor;
DGrPipeline.cpp17 sk_sp<const GrXferProcessor> xferProcessor, in GrPipeline()
65 sk_sp<const GrXferProcessor> xp, in GrPipeline()
82 const GrXferProcessor::BlendInfo& blendInfo = this->getXferProcessor().getBlendInfo(); in genKey()
/third_party/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp374 class PorterDuffXferProcessor : public GrXferProcessor {
392 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
399 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
406 using INHERITED = GrXferProcessor;
447 std::unique_ptr<GrXferProcessor::ProgramImpl> PorterDuffXferProcessor::makeProgramImpl() const { in makeProgramImpl()
477 class ShaderPDXferProcessor : public GrXferProcessor {
491 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
498 using INHERITED = GrXferProcessor;
508 std::unique_ptr<GrXferProcessor::ProgramImpl> ShaderPDXferProcessor::makeProgramImpl() const { in makeProgramImpl()
518 const GrXferProcessor& proc) override { in makeProgramImpl()
[all …]
DGrDisableColorXP.cpp21 class DisableColorXP : public GrXferProcessor {
27 bool onIsEqual(const GrXferProcessor& xpBase) const override { return true; } in onIsEqual()
29 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
34 using INHERITED = GrXferProcessor;
37 std::unique_ptr<GrXferProcessor::ProgramImpl> DisableColorXP::makeProgramImpl() const { in makeProgramImpl()
63 sk_sp<const GrXferProcessor> GrDisableColorXPFactory::MakeXferProcessor() { in MakeXferProcessor()
DGrCoverageSetOpXP.cpp18 class CoverageSetOpXP : public GrXferProcessor {
32 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
34 bool onIsEqual(const GrXferProcessor& xpBase) const override { in onIsEqual()
43 using INHERITED = GrXferProcessor;
50 std::unique_ptr<GrXferProcessor::ProgramImpl> CoverageSetOpXP::makeProgramImpl() const { in makeProgramImpl()
66 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const { in onGetBlendInfo()
172 sk_sp<const GrXferProcessor> GrCoverageSetOpXPFactory::makeXferProcessor( in makeXferProcessor()
177 return sk_sp<GrXferProcessor>(new CoverageSetOpXP(fRegionOp, fInvertCoverage)); in makeXferProcessor()
DGrPorterDuffXferProcessor.h31 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&,
61 static void TestGetXPOutputTypes(const GrXferProcessor*, int* outPrimary, int* outSecondary);
DGrCustomXfermode.cpp72 class CustomXP : public GrXferProcessor {
98 bool onIsEqual(const GrXferProcessor& xpBase) const override;
103 using INHERITED = GrXferProcessor;
118 std::unique_ptr<GrXferProcessor::ProgramImpl> CustomXP::makeProgramImpl() const { in makeProgramImpl()
145 const GrXferProcessor& proc) override { in makeProgramImpl()
164 bool CustomXP::onIsEqual(const GrXferProcessor& other) const { in onIsEqual()
199 sk_sp<const GrXferProcessor> makeXferProcessor(const GrProcessorAnalysisColor&,
223 sk_sp<const GrXferProcessor> CustomXPFactory::makeXferProcessor( in makeXferProcessor()
230 return sk_sp<GrXferProcessor>(new CustomXP(fMode, fHWBlendEquation)); in makeXferProcessor()
232 return sk_sp<GrXferProcessor>(new CustomXP(fMode, coverage)); in makeXferProcessor()
DGrDisableColorXP.h28 static sk_sp<const GrXferProcessor> MakeXferProcessor();
40 sk_sp<const GrXferProcessor> makeXferProcessor( in makeXferProcessor()
/third_party/flutter/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::getGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b, in getGLSLProcessorKey()
145 SkString GrXferProcessor::BlendInfo::dump() const { in dump()
178 sk_sp<const GrXferProcessor> GrXPFactory::MakeXferProcessor(const GrXPFactory* factory, in MakeXferProcessor()
DGrXferProcessor.h49 class GrXferProcessor : public GrProcessor, public GrNonAtomicRef<GrXferProcessor> {
170 bool isEqual(const GrXferProcessor& that) const { in isEqual()
187 GrXferProcessor(ClassID classID);
188 GrXferProcessor(ClassID classID, bool willReadDstColor, bool hasMixedSamples,
212 virtual bool onIsEqual(const GrXferProcessor&) const = 0;
252 typedef GrXferProcessor::DstProxy DstProxy;
281 static sk_sp<const GrXferProcessor> MakeXferProcessor(const GrXPFactory*,
298 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()
167 GrProcessorSet(Empty) : fXP((const GrXferProcessor*)nullptr), fFlags(kFinalized_Flag) {} in GrProcessorSet()
184 XP(const GrXferProcessor* processor) : fProcessor(processor) {} in XP()
190 const GrXferProcessor* fProcessor;
DGrPipeline.h62 GrXferProcessor::DstProxy fDstProxy;
106 GrPipeline(GrScissorTest, sk_sp<const GrXferProcessor>, const GrSwizzle& outputSwizzle,
126 const GrXferProcessor& getXferProcessor() const { in getXferProcessor()
226 sk_sp<const GrXferProcessor> fXferProcessor;
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLXferProcessor.h15 class GrXferProcessor; variable
32 const GrXferProcessor& xp, in EmitArgs()
55 const GrXferProcessor& fXP;
77 void setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp,
86 const GrXferProcessor& proc);
110 const GrXferProcessor&) { in emitBlendCodeForDstRead() argument
119 virtual void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) = 0;
DGrGLSLXferProcessor.cpp22 const GrXferProcessor& proc) { in adjust_for_lcd_coverage()
123 void GrGLSLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp, in setData()
145 const GrXferProcessor& proc) { in DefaultCoverageModulation()
/third_party/flutter/skia/src/gpu/effects/
DGrDisableColorXP.cpp20 class DisableColorXP : public GrXferProcessor {
26 bool onIsEqual(const GrXferProcessor& xpBase) const override { return true; } in onIsEqual()
30 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override { in onGetBlendInfo()
35 typedef GrXferProcessor INHERITED;
57 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {} in onSetData() argument
66 sk_sp<const GrXferProcessor> GrDisableColorXPFactory::MakeXferProcessor() { 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 …]
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()
209 sk_sp<const GrXferProcessor> GrCoverageSetOpXPFactory::makeXferProcessor( in makeXferProcessor()
223 return sk_sp<GrXferProcessor>(new CoverageSetOpXP(fRegionOp, fInvertCoverage)); in makeXferProcessor()
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);
DGrDisableColorXP.h28 static sk_sp<const GrXferProcessor> MakeXferProcessor();
40 sk_sp<const GrXferProcessor> makeXferProcessor( in makeXferProcessor()
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineState.h46 std::unique_ptr<GrXferProcessor::ProgramImpl>,
60 const GrXferProcessor&);
91 void setBlendConstants(GrMtlRenderCommandEncoder*, const GrSwizzle&, const GrXferProcessor&);
115 std::unique_ptr<GrXferProcessor::ProgramImpl> fXPImpl;
/third_party/skia/src/gpu/gl/
DGrGLProgram.h60 std::unique_ptr<GrXferProcessor::ProgramImpl>,
133 std::unique_ptr<GrXferProcessor::ProgramImpl>,
151 std::unique_ptr<GrXferProcessor::ProgramImpl> fXPImpl;

1234