aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2014-10-10 17:47:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-10 17:47:00 -0700
commita5305a110ab5201d5dadd40cbe711582d5ac4996 (patch)
tree239878bf237402e4fb7d88081d4f1289c5824d2e /tests
parentba5fb932a1b5666a861043735cfb055cc1b600c7 (diff)
Opt state takes a GP instead of a GeometryStage
Diffstat (limited to 'tests')
-rw-r--r--tests/GLProgramsTest.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 5ab35b7d22..75032bdbe6 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -456,9 +456,6 @@ bool GrGpuGL::programUnitTest(int maxStages) {
ds->reset();
continue;
}
- const GrGeometryStage* geometryProcessor = NULL;
- SkSTArray<8, const GrFragmentStage*, true> colorStages;
- SkSTArray<8, const GrFragmentStage*, true> coverageStages;
GrGLProgramDesc desc;
GrDeviceCoordTexture dstCopy;
@@ -468,24 +465,14 @@ bool GrGpuGL::programUnitTest(int maxStages) {
}
if (!GrGLProgramDesc::Build(*ods,
drawType,
- ods->getSrcBlendCoeff(),
- ods->getDstBlendCoeff(),
this,
dstCopy.texture() ? &dstCopy : NULL,
- &geometryProcessor,
- &colorStages,
- &coverageStages,
&desc)) {
SkDebugf("Failed to generate GL program descriptor");
return false;
}
- SkAutoTUnref<GrGLProgram> program(GrGLProgramBuilder::CreateProgram(*ods,
- desc,
- drawType,
- geometryProcessor,
- colorStages.begin(),
- coverageStages.begin(),
- this));
+ SkAutoTUnref<GrGLProgram> program(
+ GrGLProgramBuilder::CreateProgram(*ods, desc, drawType, this));
if (NULL == program.get()) {
SkDebugf("Failed to create program!");
return false;