aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-02-05 11:11:13 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-05 11:11:13 -0800
commit5e1378d0e075a323144ba14e0a4cbcca35eccc69 (patch)
tree70156a081890aa64ae91a71d992191d980c21d4e /tests
parent2fdd29d6e53d3c550bce711363a1d0d5b8069ee3 (diff)
Move DstCopy on gpu into the GrXferProcessor.
Diffstat (limited to 'tests')
-rw-r--r--tests/GLProgramsTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 9b54fa7e9d..30f34587a4 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -298,7 +298,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) {
} else {
primProc = pathProc.get();
}
- if (!this->setupDstReadIfNecessary(&pipelineBuilder, &dstCopy, NULL)) {
+ if (!this->setupDstReadIfNecessary(pipelineBuilder, &dstCopy, NULL)) {
SkDebugf("Couldn't setup dst read texture");
return false;
}
@@ -313,7 +313,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) {
primProc->initBatchTracker(&bt, pipeline.getInitBatchTracker());
GrProgramDesc desc;
- gpu->buildProgramDesc(&desc, *primProc, pipeline, pipeline.descInfo(), bt);
+ gpu->buildProgramDesc(&desc, *primProc, pipeline, bt);
GrGpu::DrawArgs args(primProc, &pipeline, &desc, &bt);
SkAutoTUnref<GrGLProgram> program(GrGLProgramBuilder::CreateProgram(args, gpu));