Index: src/gpu/gl/GrGLUniformManager.h |
diff --git a/src/gpu/gl/GrGLUniformManager.h b/src/gpu/gl/GrGLUniformManager.h |
index 1ef262da9fe055869134c5d4f8569c5e2c29af78..eefab049865070d92ea57cb88ccdfb536fea3a18 100644 |
--- a/src/gpu/gl/GrGLUniformManager.h |
+++ b/src/gpu/gl/GrGLUniformManager.h |
@@ -14,7 +14,7 @@ |
#include "SkTArray.h" |
-class GrGLContext; |
+class GrGpuGL; |
class SkMatrix; |
/** Manages a program's uniforms. |
@@ -46,7 +46,7 @@ public: |
friend class GrGLUniformManager; // For accessing toUniformIndex(). |
}; |
- GrGLUniformManager(const GrGLContext& context) : fContext(context) {} |
+ GrGLUniformManager(GrGpuGL* gpu) : fGpu(gpu) {} |
UniformHandle appendUniform(GrSLType type, int arrayCount = GrGLShaderVar::kNonArray); |
@@ -104,7 +104,7 @@ private: |
}; |
SkTArray<Uniform, true> fUniforms; |
- const GrGLContext& fContext; |
+ GrGpuGL* fGpu; |
}; |
#endif |