| Index: src/gpu/gl/builders/GrGLProgramBuilder.h
|
| diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.h b/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| index f6397d8871bdbf4ac7e1f0a0afb105e4a98eb1d8..59f50940588cb1ca6578584ff013f962055fc632 100644
|
| --- a/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| +++ b/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| @@ -86,7 +86,8 @@ public:
|
| * @return true if generation was successful.
|
| */
|
|
|
| - bool genProgram(const GrGeometryStage* inGeometryProcessor,
|
| + bool genProgram(const GrOptDrawState& optstate,
|
| + const GrGeometryStage* inGeometryProcessor,
|
| const GrFragmentStage* inColorStages[],
|
| const GrFragmentStage* inCoverageStages[]);
|
|
|
| @@ -180,7 +181,7 @@ protected:
|
|
|
| virtual bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const;
|
|
|
| - virtual void bindProgramLocations(GrGLuint programId);
|
| + virtual void bindProgramLocations(const GrOptDrawState&, GrGLuint programId);
|
| void resolveProgramLocations(GrGLuint programId);
|
|
|
| void appendDecls(const VarArray&, SkString*) const;
|
| @@ -322,7 +323,7 @@ private:
|
| * Compiles all the shaders, links them into a program, and writes the program id to the output
|
| * struct.
|
| **/
|
| - bool finish();
|
| + bool finish(const GrOptDrawState&);
|
|
|
| GrGLFragmentProcessorEmitter fGrProcessorEmitter;
|
|
|
|
|