diff options
author | Robert Phillips <robertphillips@google.com> | 2017-01-18 10:08:39 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-18 16:22:59 +0000 |
commit | 2c86249465c28a532c8be55b6ba497021e3110ec (patch) | |
tree | b33ecbfb9bfdb8e848e461ea67beeca1097d9cb6 /tests/CopySurfaceTest.cpp | |
parent | dfff166db5d5226dc002a22ab3e3097ef971d615 (diff) |
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 <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/CopySurfaceTest.cpp')
-rw-r--r-- | tests/CopySurfaceTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<GrSurfaceContext> sContext = - context->contextPriv().makeWrappedSurfaceContext(dst); + context->contextPriv().makeWrappedSurfaceContext(dst, nullptr); bool result = sContext->copy(src.get(), srcRect, dstPoint); |