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

/external/skia/src/gpu/
H A DGrXferProcessor.cpp8 #include "GrXferProcessor.h"
14 GrXferProcessor::GrXferProcessor() function in class:GrXferProcessor
20 GrXferProcessor::GrXferProcessor(const DstTexture* dstTexture, function in class:GrXferProcessor
35 GrXferProcessor::OptFlags GrXferProcessor::getOptimizations(
40 GrXferProcessor::OptFlags flags = this->onGetOptimizations(optimizations,
47 SkASSERT(!(flags & GrXferProcessor::kIgnoreCoverage_OptFlag));
49 flags |= GrXferProcessor
[all...]
/external/skia/src/gpu/glsl/
H A DGrGLSLXferProcessor.h14 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
97 emitBlendCodeForDstRead(GrGLSLXPFragmentBuilder*, GrGLSLUniformHandler*, const char* srcColor, const char* srcCoverage, const char* dstColor, const char* outColor, const char* outColorSecondary, const GrXferProcessor&) argument
[all...]
/external/skia/include/gpu/
H A DGrXferProcessor.h37 * 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 { class in inherits: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
[all...]
/external/skia/src/gpu/effects/
H A DGrCustomXfermode.cpp78 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&) {} argument
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
[all...]

Completed in 125 milliseconds