diff options
author | Robert Phillips <robertphillips@google.com> | 2018-01-31 09:29:48 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-31 21:15:45 +0000 |
commit | d5f9cdd4b3a6ab0e49bb1a56f2e52e2f40edd0fa (patch) | |
tree | 6dce4e0c8b1d00eaef4514cb426790a0d75c73c2 /tests/GrSurfaceTest.cpp | |
parent | 9c17391cef1b0903a3240a50557e20fe68a7f42d (diff) |
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 <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/GrSurfaceTest.cpp')
-rw-r--r-- | tests/GrSurfaceTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp index d1385b826c..3e246ccd93 100644 --- a/tests/GrSurfaceTest.cpp +++ b/tests/GrSurfaceTest.cpp @@ -196,7 +196,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(InitialTextureClear, reporter, context_info) } auto texCtx = context->contextPriv().makeWrappedSurfaceContext( - std::move(proxy), nullptr); + std::move(proxy)); SkImageInfo info = SkImageInfo::Make( kSize, kSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType); memset(data.get(), 0xAB, kSize * kSize * sizeof(uint32_t)); |