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 /gm | |
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 'gm')
-rw-r--r-- | gm/texdata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index b4193a3423..1f7d107a30 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -100,7 +100,7 @@ DEF_SIMPLE_GM_BG(texdata, canvas, 2 * S, 2 * S, SK_ColorBLACK) { } sk_sp<GrSurfaceContext> tContext = context->contextPriv().makeWrappedSurfaceContext( - std::move(proxy), nullptr); + std::move(proxy)); if (!tContext) { return; |