From 500d58b2a6e6fd03239622da42b67b2c9843b7be Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Thu, 24 Aug 2017 15:59:33 -0400 Subject: Make Copy Ops to go through GpuCommandBuffer instead of straigt to GPU. Bug: skia: Change-Id: I4eae4507e07278997e26419e94586eef0780c423 Reviewed-on: https://skia-review.googlesource.com/38361 Commit-Queue: Greg Daniel Reviewed-by: Robert Phillips --- samplecode/SampleCCPRGeometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samplecode/SampleCCPRGeometry.cpp') diff --git a/samplecode/SampleCCPRGeometry.cpp b/samplecode/SampleCCPRGeometry.cpp index d1cb2b5b57..9749e45a29 100644 --- a/samplecode/SampleCCPRGeometry.cpp +++ b/samplecode/SampleCCPRGeometry.cpp @@ -271,7 +271,7 @@ void CCPRGeometryView::Op::onExecute(GrOpFlushState* state) { GR_GL_CALL(glGpu->glInterface(), Enable(GR_GL_LINE_SMOOTH)); } - state->commandBuffer()->draw(pipeline, ccprProc, &mesh, nullptr, 1, this->bounds()); + state->rtCommandBuffer()->draw(pipeline, ccprProc, &mesh, nullptr, 1, this->bounds()); if (glGpu) { context->resetContext(kMisc_GrGLBackendState); -- cgit v1.2.3