HomeSort by relevance Sort by last modified time
    Searched refs:GrXferProcessor (Results 1 - 25 of 30) sorted by null

1 2

  /external/skia/src/gpu/effects/
GrDisableColorXP.cpp 19 class DisableColorXP : public GrXferProcessor {
21 static GrXferProcessor* Create() { return new DisableColorXP; }
32 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations,
36 return GrXferProcessor::kIgnoreColor_OptFlag | GrXferProcessor::kIgnoreCoverage_OptFlag;
41 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
43 bool onIsEqual(const GrXferProcessor& xpBase) const override {
47 typedef GrXferProcessor INHERITED;
69 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {}
86 void DisableColorXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const
    [all...]
GrCoverageSetOpXP.cpp 20 class CoverageSetOpXP : public GrXferProcessor {
22 static GrXferProcessor* Create(SkRegion::Op regionOp, bool invertCoverage) {
37 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations,
44 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override;
46 bool onIsEqual(const GrXferProcessor& xpBase) const override {
55 typedef GrXferProcessor INHERITED;
85 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {};
110 GrXferProcessor::OptFlags
116 return GrXferProcessor::kIgnoreColor_OptFlag;
119 void CoverageSetOpXP::onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const
    [all...]
GrPorterDuffXferProcessor.cpp 16 #include "GrXferProcessor.h"
344 class PorterDuffXferProcessor : public GrXferProcessor {
357 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations,
366 void onGetBlendInfo(GrXferProcessor::BlendInfo* blendInfo) const override {
373 bool onIsEqual(const GrXferProcessor& xpBase) const override {
380 typedef GrXferProcessor INHERITED;
458 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {}
474 GrXferProcessor::OptFlags
479 GrXferProcessor::OptFlags optFlags = GrXferProcessor::kNone_OptFlags
    [all...]
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&) {}
132 static void GenKey(const GrXferProcessor& p, const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) {
171 const GrXferProcessor& proc) override {
182 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {}
198 bool CustomXP::onIsEqual(const GrXferProcessor& other) const {
203 GrXferProcessor::OptFlags CustomXP::onGetOptimizations(const GrPipelineOptimizations& optimizations
    [all...]
GrDisableColorXP.h 12 #include "GrXferProcessor.h"
29 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
  /external/skia/src/gpu/glsl/
GrGLSLXferProcessor.h 14 class GrXferProcessor;
30 const GrXferProcessor& xp,
51 const GrXferProcessor& fXP;
67 uniform variables required by the shaders created in emitCode(). The GrXferProcessor
72 void setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp);
80 const GrXferProcessor& proc);
86 * it can construct a GrXferProcessor that will not read the dst color.
95 * method if it can construct a GrXferProcessor that reads the dst color.
104 const GrXferProcessor&) {
108 virtual void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) = 0
    [all...]
GrGLSLXferProcessor.cpp 10 #include "GrXferProcessor.h"
74 void GrGLSLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp) {
96 const GrXferProcessor& proc) {
GrGLSLProgramBuilder.h 137 void emitAndInstallXferProc(const GrXferProcessor&,
145 void verify(const GrXferProcessor&);
GrGLSLProgramBuilder.cpp 156 void GrGLSLProgramBuilder::emitAndInstallXferProc(const GrXferProcessor& xp,
221 void GrGLSLProgramBuilder::verify(const GrXferProcessor& xp) {
  /external/skia/src/gpu/
GrXferProcessor.cpp 8 #include "GrXferProcessor.h"
14 GrXferProcessor::GrXferProcessor()
20 GrXferProcessor::GrXferProcessor(const DstTexture* dstTexture,
35 GrXferProcessor::OptFlags GrXferProcessor::getOptimizations(
40 GrXferProcessor::OptFlags flags = this->onGetOptimizations(optimizations,
47 SkASSERT(!(flags & GrXferProcessor::kIgnoreCoverage_OptFlag));
49 flags |= GrXferProcessor::kIgnoreCoverage_OptFlag
    [all...]
GrPipeline.cpp 15 #include "GrXferProcessor.h"
25 SkAutoTUnref<GrXferProcessor> xferProcessor;
47 GrXferProcessor::OptFlags optFlags = GrXferProcessor::kNone_OptFlags;
49 const GrXferProcessor* xpForOpts = xferProcessor ? xferProcessor.get() :
59 if (GrXferProcessor::kSkipDraw_OptFlag & optFlags) {
64 if (SkToBool(GrXferProcessor::kIgnoreColor_OptFlag & optFlags)) {
120 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreColor_OptFlag)) {
127 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreCoverage_OptFlag)) {
133 if (SkToBool(optFlags & GrXferProcessor::kCanTweakAlphaForCoverage_OptFlag))
    [all...]
GrPipeline.h 54 GrXferProcessor::DstTexture fDstTexture;
109 const GrXferProcessor& getXferProcessor() const {
113 // A null xp member means the common src-over case. GrXferProcessor's ref'ing
173 GrXferProcessor::OptFlags,
184 void setOutputStateInfo(const GrPipelineBuilder& ds, GrXferProcessor::OptFlags,
195 typedef GrPendingProgramElement<const GrXferProcessor> ProgramXferProcessor;
GrDrawTarget.h 21 #include "GrXferProcessor.h"
228 GrXferProcessor::DstTexture*,
  /external/skia/include/gpu/effects/
GrPorterDuffXferProcessor.h 12 #include "GrXferProcessor.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);
GrCoverageSetOpXP.h 12 #include "GrXferProcessor.h"
32 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
  /external/skia/include/gpu/
GrXferProcessor.h 37 * GrXferProcessor is responsible for implementing the xfer mode that blends the src color and dst
40 * write a seconday fragment shader output color. GrXferProcessor has two modes of operation:
43 * GrXferProcessor may read the destination color. While operating in this mode, the subclass only
49 * A GrXferProcessor is never installed directly into our draw state, but instead is created from a
52 class GrXferProcessor : public GrProcessor {
57 * GrXferProcessor for blending in the fragment shader.
102 for the given GrXferProcessor; caller is responsible for deleting
115 * GrXferProcessor will ignore color, thus no need to provide
119 * GrXferProcessor will ignore coverage, thus no need to provide
215 bool isEqual(const GrXferProcessor& that) const
    [all...]
  /external/skia/tools/debugger/
SkOverdrawMode.cpp 16 #include "GrXferProcessor.h"
143 class OverdrawXP : public GrXferProcessor {
155 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations,
160 return GrXferProcessor::kIgnoreColor_OptFlag;
165 bool onIsEqual(const GrXferProcessor&) const override { return true; }
167 typedef GrXferProcessor INHERITED;
188 const GrXferProcessor& proc) override {
196 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override { };
225 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
  /external/skia/src/effects/
SkArithmeticMode_gpu.cpp 138 class ArithmeticXP : public GrXferProcessor {
154 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations,
161 bool onIsEqual(const GrXferProcessor& xpBase) const override {
176 typedef GrXferProcessor INHERITED;
204 const GrXferProcessor& proc) override {
218 const GrXferProcessor& processor) override {
249 GrXferProcessor::OptFlags ArithmeticXP::onGetOptimizations(
254 return GrXferProcessor::kNone_OptFlags;
265 GrXferProcessor*
SkPixelXorXfermode.cpp 43 #include "GrXferProcessor.h"
228 class PixelXorXP : public GrXferProcessor {
243 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations,
247 return GrXferProcessor::kNone_OptFlags;
252 bool onIsEqual(const GrXferProcessor& xpBase) const override {
260 typedef GrXferProcessor INHERITED;
281 const GrXferProcessor& proc) override {
295 const GrXferProcessor& processor) override {
336 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
SkAvoidXfermode.cpp 172 #include "GrXferProcessor.h"
351 class AvoidXP : public GrXferProcessor {
371 GrXferProcessor::OptFlags onGetOptimizations(const GrPipelineOptimizations& optimizations,
375 return GrXferProcessor::kNone_OptFlags;
380 bool onIsEqual(const GrXferProcessor& xpBase) const override {
392 typedef GrXferProcessor INHERITED;
413 const GrXferProcessor& proc) override {
439 const GrXferProcessor& processor) override {
483 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
SkArithmeticMode_gpu.h 20 #include "GrXferProcessor.h"
90 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
  /external/skia/src/gpu/gl/
GrGLProgram.cpp 17 #include "GrXferProcessor.h"
94 const GrXferProcessor& xp = pipeline.getXferProcessor();
GrGLProgramDesc.cpp 132 const GrXferProcessor& xp = pipeline.getXferProcessor();
  /external/skia/src/gpu/vk/
GrVkProgramDesc.cpp 119 const GrXferProcessor& xp = pipeline.getXferProcessor();
  /external/skia/tests/
GrPorterDuffTest.cpp 17 #include "GrXferProcessor.h"
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(
88 GrXferProcessor::BlendInfo fBlendInfo;
91 static void GetXPOutputTypes(const GrXferProcessor* xp, int* outPrimary, int* outSecondary) {
    [all...]

Completed in 1010 milliseconds

1 2