From d5f9cdd4b3a6ab0e49bb1a56f2e52e2f40edd0fa Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 31 Jan 2018 09:29:48 -0500 Subject: Add SkSurface_Gpu::MakeWrappedRenderTarget method This is pulled out of https://skia-review.googlesource.com/c/skia/+/101480 (Implement GPU/OpList DDLs) Change-Id: I12b1ac346c7c1fa10f2120bc92bee63c93fc2249 Reviewed-on: https://skia-review.googlesource.com/102101 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- tests/ReadWriteAlphaTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ReadWriteAlphaTest.cpp') diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp index 57739ccda6..e6c8c89e7d 100644 --- a/tests/ReadWriteAlphaTest.cpp +++ b/tests/ReadWriteAlphaTest.cpp @@ -68,7 +68,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ReadWriteAlpha, reporter, ctxInfo) { return; } sk_sp sContext(context->contextPriv().makeWrappedSurfaceContext( - std::move(proxy), nullptr)); + std::move(proxy))); const SkImageInfo ii = SkImageInfo::MakeA8(X_SIZE, Y_SIZE); sk_sp surf(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, ii)); @@ -179,7 +179,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ReadWriteAlpha, reporter, ctxInfo) { } sk_sp sContext = context->contextPriv().makeWrappedSurfaceContext( - std::move(proxy), nullptr); + std::move(proxy)); for (auto rowBytes : kRowBytes) { size_t nonZeroRowBytes = rowBytes ? rowBytes : X_SIZE; -- cgit v1.2.3