| Index: src/gpu/gl/GrGLProcessor.h
|
| diff --git a/src/gpu/gl/GrGLProcessor.h b/src/gpu/gl/GrGLProcessor.h
|
| index 4bc3dd019b553895c1c28e5bf434b01213455fad..c1c1501b3e4757eda483c6409a9781751150d11a 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&) {}
|
| +
|
| private:
|
| typedef GrGLProcessor INHERITED;
|
| };
|
|
|