Index: src/gpu/gl/GrGLProgram.h |
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h |
index 36bf8602330e55c9a1fe9f5e12c8aec0fafd29f9..a273a0381e0df45a073cbc0ad503ab017935de56 100644 |
--- a/src/gpu/gl/GrGLProgram.h |
+++ b/src/gpu/gl/GrGLProgram.h |
@@ -129,7 +129,7 @@ |
* GrGpuGL object to bind the textures required by the GrGLProcessors. The color and coverage |
* stages come from GrGLProgramDesc::Build(). |
*/ |
- void setData(const GrOptDrawState&); |
+ void setData(const GrOptDrawState&, GrGpu::DrawType); |
protected: |
typedef GrGLProgramDataManager::UniformHandle UniformHandle; |
@@ -167,8 +167,8 @@ |
virtual void didSetData(GrGpu::DrawType); |
// Helper for setData() that sets the view matrix and loads the render target height uniform |
- void setMatrixAndRenderTargetHeight(const GrOptDrawState&); |
- virtual void onSetMatrixAndRenderTargetHeight(const GrOptDrawState&); |
+ void setMatrixAndRenderTargetHeight(GrGpu::DrawType, const GrOptDrawState&); |
+ virtual void onSetMatrixAndRenderTargetHeight(GrGpu::DrawType, const GrOptDrawState&); |
// these reflect the current values of uniforms (GL uniform values travel with program) |
MatrixState fMatrixState; |
@@ -206,7 +206,7 @@ |
GrGLuint programID, |
const UniformInfoArray&, |
GrGLInstalledFragProcs* fragmentProcessors); |
- virtual void onSetMatrixAndRenderTargetHeight(const GrOptDrawState&); |
+ virtual void onSetMatrixAndRenderTargetHeight(GrGpu::DrawType, const GrOptDrawState&); |
typedef GrGLProgram INHERITED; |
}; |