From 9188a15f846ae79892c332aed2a72ee38116bdc6 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Thu, 5 Sep 2013 18:28:24 +0000 Subject: Add a GrGpuGL reference for GrGLProgram/GrGLUniformManager Updates GrGLProgram and GrGLUniformManager to keep a GrGpuGL reference instead of one for GrGLContextInfo. No change in functionality, this is in preparation to support fixed function GL calls for vertexless shaders. R=bsalomon@google.com Author: cdalton@nvidia.com Review URL: https://chromiumcodereview.appspot.com/23636011 git-svn-id: http://skia.googlecode.com/svn/trunk@11111 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGpuGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/gl/GrGpuGL.cpp') diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index 28e41af5f0..a9fd41ed5a 100644 --- a/src/gpu/gl/GrGpuGL.cpp +++ b/src/gpu/gl/GrGpuGL.cpp @@ -148,7 +148,7 @@ GrGpuGL::GrGpuGL(const GrGLContext& ctx, GrContext* context) ctx.info().caps()->print(); } - fProgramCache = SkNEW_ARGS(ProgramCache, (this->glContext())); + fProgramCache = SkNEW_ARGS(ProgramCache, (this)); SkASSERT(this->glCaps().maxVertexAttributes() >= GrDrawState::kMaxVertexAttribCnt); -- cgit v1.2.3