Index: src/gpu/gl/builders/GrGLProgramBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.h b/src/gpu/gl/builders/GrGLProgramBuilder.h |
index a3a0fe762b603e85eb13671a426d7772f918ee21..f2714f378a98456d174769e29dffa25aa0cc37aa 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.h |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.h |
@@ -17,6 +17,7 @@ |
class GrFragmentProcessor; |
class GrGLContextInfo; |
+class GrGLProgramDesc; |
class GrGLSLShaderBuilder; |
class GrGLSLCaps; |
@@ -29,7 +30,10 @@ public: |
* to be used. |
* @return true if generation was successful. |
*/ |
- static GrGLProgram* CreateProgram(const DrawArgs&, GrGLGpu*); |
+ static GrGLProgram* CreateProgram(const GrPipeline&, |
+ const GrPrimitiveProcessor&, |
+ const GrGLProgramDesc&, |
+ GrGLGpu*); |
const GrCaps* caps() const override; |
const GrGLSLCaps* glslCaps() const override; |
@@ -37,7 +41,8 @@ public: |
GrGLGpu* gpu() const { return fGpu; } |
private: |
- GrGLProgramBuilder(GrGLGpu*, const DrawArgs&); |
+ GrGLProgramBuilder(GrGLGpu*, const GrPipeline&, const GrPrimitiveProcessor&, |
+ const GrGLProgramDesc&); |
bool compileAndAttachShaders(GrGLSLShaderBuilder& shader, |
GrGLuint programId, |