aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLProgram.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-30 13:09:05 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-30 13:09:05 +0000
commitcddaf340f1474cc1ff429b8ef9bc8739c72f80ba (patch)
tree56a71479f93fa814e6c14a3c6d2ce35eac49afcd /src/gpu/gl/GrGLProgram.h
parent79a1c34ee45a3eb5edd568fd97626dff1b64a0db (diff)
Remove GrDrawState::setTexture/getTexture
Review URL: http://codereview.appspot.com/6455051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4826 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGLProgram.h')
-rw-r--r--src/gpu/gl/GrGLProgram.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h
index 02cb6ef55a..b6c224cfeb 100644
--- a/src/gpu/gl/GrGLProgram.h
+++ b/src/gpu/gl/GrGLProgram.h
@@ -43,7 +43,7 @@ public:
static GrGLProgram* Create(const GrGLContextInfo& gl,
const Desc& desc,
- GrCustomStage** customStages);
+ const GrCustomStage** customStages);
virtual ~GrGLProgram();
@@ -235,14 +235,14 @@ public:
private:
GrGLProgram(const GrGLContextInfo& gl,
const Desc& desc,
- GrCustomStage** customStages);
+ const GrCustomStage** customStages);
bool succeeded() const { return 0 != fProgramID; }
/**
* This is the heavy initilization routine for building a GLProgram.
*/
- bool genProgram(GrCustomStage** customStages);
+ bool genProgram(const GrCustomStage** customStages);
void genInputColor(GrGLShaderBuilder* builder, SkString* inColor);