aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-27 18:14:57 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-27 18:14:57 +0000
commit31ec7985f2b52a0cab4aa714a613b918cf663c08 (patch)
treead59af0996923cf29291351a003767204d70c653 /tests
parent04b959abfc971804bb5b1ee177eb7c24c716ec13 (diff)
Move GrGLProgram::Desc out of GrGLProgram.
Review URL: https://codereview.chromium.org/12942014 git-svn-id: http://skia.googlecode.com/svn/trunk@8411 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r--tests/GLProgramsTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index afbc1221ad..13cf85c81d 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -21,9 +21,9 @@
#include "SkRandom.h"
#include "Test.h"
-void GrGLProgram::Desc::setRandom(SkMWCRandom* random,
- const GrGpuGL* gpu,
- const GrEffectStage stages[GrDrawState::kNumStages]) {
+void GrGLProgramDesc::setRandom(SkMWCRandom* random,
+ const GrGpuGL* gpu,
+ const GrEffectStage stages[GrDrawState::kNumStages]) {
fAttribBindings = 0;
fEmitsPointSize = random->nextBool();
fColorInput = random->nextULessThan(kColorInputCnt);
@@ -106,7 +106,7 @@ bool GrGpuGL::programUnitTest(int maxStages) {
}
#endif
- GrGLProgram::Desc pdesc;
+ GrGLProgramDesc pdesc;
GrEffectStage stages[GrDrawState::kNumStages];
int currAttribIndex = GrDrawState::kAttribIndexCount;