Searched defs:GrXferProcessor (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/gpu/
H A DGrXferProcessor.cpp8 #include "GrXferProcessor.h"
12 GrXferProcessor::GrXferProcessor() function in class:GrXferProcessor
18 GrXferProcessor::GrXferProcessor(const DstTexture* dstTexture, function in class:GrXferProcessor
32 GrXferProcessor::OptFlags GrXferProcessor::getOptimizations(
37 bool GrXferProcessor::hasSecondaryOutput() const {
44 void GrXferProcessor::getBlendInfo(BlendInfo* blendInfo) const {
53 void GrXferProcessor
[all...]
H A DGrXferProcessor.h34 * GrXferProcessor is responsible for implementing the xfer mode that blends the src color and dst
37 * write a seconday fragment shader output color. GrXferProcessor has two modes of operation:
40 * GrXferProcessor may read the destination color. While operating in this mode, the subclass only
46 * A GrXferProcessor is never installed directly into our draw state, but instead is created from a
49 class GrXferProcessor : public GrProcessor { class in inherits:GrProcessor
56 * GrXferProcessor for blending in the fragment shader.
106 for the given GrXferProcessor; caller is responsible for deleting
115 * GrXferProcessor will ignore color, thus no need to provide
201 bool isEqual(const GrXferProcessor& that) const {
221 GrXferProcessor();
[all...]
/external/skia/src/gpu/glsl/
H A DGrGLSLXferProcessor.h14 class GrXferProcessor;
31 const GrXferProcessor& xp,
54 const GrXferProcessor& fXP;
71 uniform variables required by the shaders created in emitCode(). The GrXferProcessor
76 void setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp);
84 const GrXferProcessor& proc);
90 * it can construct a GrXferProcessor that will not read the dst color.
99 * method if it can construct a GrXferProcessor that reads the dst color.
108 const GrXferProcessor&) {
112 virtual void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor
101 emitBlendCodeForDstRead(GrGLSLXPFragmentBuilder*, GrGLSLUniformHandler*, const char* srcColor, const char* srcCoverage, const char* dstColor, const char* outColor, const char* outColorSecondary, const GrXferProcessor&) argument
[all...]
/external/skia/src/gpu/effects/
H A DGrCustomXfermode.cpp73 class CustomXP : public GrXferProcessor {
101 GrXferProcessor::OptFlags onGetOptimizations(const FragmentProcessorAnalysis&) const override;
109 bool onIsEqual(const GrXferProcessor& xpBase) const override;
114 typedef GrXferProcessor INHERITED;
121 GLCustomXP(const GrXferProcessor&) {} argument
124 static void GenKey(const GrXferProcessor& p, const GrShaderCaps& caps,
160 const GrXferProcessor& proc) override {
171 void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {}
187 bool CustomXP::onIsEqual(const GrXferProcessor& other) const {
192 GrXferProcessor
[all...]

Completed in 148 milliseconds