Index: src/gpu/gl/GrGLProcessor.h |
diff --git a/src/gpu/gl/GrGLProcessor.h b/src/gpu/gl/GrGLProcessor.h |
index ca4fa2459f97a1c1ca9b823120fae1d2bdcfeafa..2ef676cacf87f39d2afcc8b69fe204d593bf1dfb 100644 |
--- a/src/gpu/gl/GrGLProcessor.h |
+++ b/src/gpu/gl/GrGLProcessor.h |
@@ -70,13 +70,6 @@ public: |
virtual ~GrGLProcessor() {} |
- /** A GrGLProcessor instance can be reused with any GrProcessor that produces the same stage |
- key; this function reads data from a GrProcessor and uploads any uniform variables required |
- by the shaders created in emitCode(). The GrProcessor parameter is guaranteed to be of the |
- same type that created this GrGLProcessor and to have an identical effect key as the one |
- that created this GrGLProcessor. */ |
- virtual void setData(const GrGLProgramDataManager&, const GrProcessor&) {} |
- |
const char* name() const { return fFactory.name(); } |
static void GenKey(const GrProcessor&, const GrGLCaps&, GrProcessorKeyBuilder*) {} |
@@ -121,6 +114,14 @@ public: |
const TransformedCoordsArray& coords, |
const TextureSamplerArray& samplers) = 0; |
+ /** A GrGLFragmentProcessor instance can be reused with any GrFragmentProcessor that produces |
+ the same stage key; this function reads data from a GrFragmentProcessor and uploads any |
+ uniform variables required by the shaders created in emitCode(). The GrFragmentProcessor |
+ parameter is guaranteed to be of the same type that created this GrGLFragmentProcessor and |
+ to have an identical effect key as the one that created this GrGLFragmentProcessor. */ |
+ // TODO update this to pass in GrFragmentProcessor |
+ virtual void setData(const GrGLProgramDataManager&, const GrProcessor&) {} |
bsalomon
2014/12/03 19:38:32
Why can't it be fp?
effect->processor
|
+ |
private: |
typedef GrGLProcessor INHERITED; |
}; |