Index: src/gpu/gl/GrGLProgram.h |
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h |
index 7487a1e9007468547e3f97def09e9ec8e01a1b67..c70b1bd0e22ac36cca2e35b384a94ac24f982d9a 100644 |
--- a/src/gpu/gl/GrGLProgram.h |
+++ b/src/gpu/gl/GrGLProgram.h |
@@ -106,11 +106,11 @@ |
const BuiltinUniformHandles&, |
GrGLuint programID, |
const UniformInfoArray&, |
- const SkTArray<GrGLSampler>&, |
const VaryingInfoArray&, // used for NVPR only currently |
GrGLSLPrimitiveProcessor* geometryProcessor, |
GrGLSLXferProcessor* xferProcessor, |
- const GrGLSLFragProcs& fragmentProcessors); |
+ const GrGLSLFragProcs& fragmentProcessors, |
+ SkTArray<UniformHandle>* passSamplerUniforms); |
// A helper to loop over effects, set the transforms (via subclass) and bind textures |
void setFragmentData(const GrPrimitiveProcessor&, const GrPipeline&, int* nextSamplerIdx); |
@@ -135,6 +135,7 @@ |
GrProgramDesc fDesc; |
GrGLGpu* fGpu; |
GrGLProgramDataManager fProgramDataManager; |
+ SkTArray<UniformHandle> fSamplerUniforms; |
friend class GrGLProgramBuilder; |