diff options
author | egdaniel <egdaniel@google.com> | 2015-02-05 11:11:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-05 11:11:13 -0800 |
commit | 5e1378d0e075a323144ba14e0a4cbcca35eccc69 (patch) | |
tree | 70156a081890aa64ae91a71d992191d980c21d4e /tests | |
parent | 2fdd29d6e53d3c550bce711363a1d0d5b8069ee3 (diff) |
Move DstCopy on gpu into the GrXferProcessor.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/74a11753604768bf461b80cabb66060e8564d82c
Review URL: https://codereview.chromium.org/885923002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GLProgramsTest.cpp | 4 |
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)); |