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..7fa8ba266c56ad079c85a60a347ee447a4784e2e 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.h |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.h |
@@ -145,8 +145,9 @@ public: |
protected: |
typedef GrTAllocator<GrGLShaderVar> VarArray; |
- GrGLProgramBuilder(GrGpuGL*, const GrGLProgramDesc&); |
+ GrGLProgramBuilder(GrGpuGL*, const GrOptDrawState&, const GrGLProgramDesc&); |
+ const GrOptDrawState& optState() const { return fOptState; } |
const GrGLProgramDesc& desc() const { return fDesc; } |
// Helper for emitEffects(). |
@@ -326,6 +327,7 @@ private: |
GrGLFragmentProcessorEmitter fGrProcessorEmitter; |
+ const GrOptDrawState& fOptState; |
const GrGLProgramDesc& fDesc; |
GrGpuGL* fGpu; |
UniformInfoArray fUniforms; |