From 2c86249465c28a532c8be55b6ba497021e3110ec Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 18 Jan 2017 10:08:39 -0500 Subject: Move read/write-Pixels up to GrSurfaceContext This still needs to be propagated out in several ways: replace more instances of GrSurface::read/write-Pixels add colorSpace to more instances of the TextureContext but it establishes a beach-head and is exciting enough as is. Change-Id: If86035aa0245e70b54541e83722b3c75bc5ade13 Reviewed-on: https://skia-review.googlesource.com/7172 Reviewed-by: Brian Osman Reviewed-by: Brian Salomon Commit-Queue: Robert Phillips --- tests/CopySurfaceTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/CopySurfaceTest.cpp') diff --git a/tests/CopySurfaceTest.cpp b/tests/CopySurfaceTest.cpp index 951d27249f..efb6b2d43d 100644 --- a/tests/CopySurfaceTest.cpp +++ b/tests/CopySurfaceTest.cpp @@ -91,7 +91,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(CopySurface, reporter, ctxInfo) { } sk_sp sContext = - context->contextPriv().makeWrappedSurfaceContext(dst); + context->contextPriv().makeWrappedSurfaceContext(dst, nullptr); bool result = sContext->copy(src.get(), srcRect, dstPoint); -- cgit v1.2.3