Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 5ab35b7d227b9314d80fcd14e9c06e6a481cde8a..75032bdbe6a168b8b0a3daba063b0c9794823711 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; |