diff options
author | 2018-01-31 09:29:48 -0500 | |
---|---|---|
committer | 2018-01-31 21:15:45 +0000 | |
commit | d5f9cdd4b3a6ab0e49bb1a56f2e52e2f40edd0fa (patch) | |
tree | 6dce4e0c8b1d00eaef4514cb426790a0d75c73c2 /src/gpu/text | |
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 'src/gpu/text')
-rw-r--r-- | src/gpu/text/GrAtlasGlyphCache.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/text/GrAtlasGlyphCache.cpp b/src/gpu/text/GrAtlasGlyphCache.cpp index edc751ec95..c36ad8798d 100644 --- a/src/gpu/text/GrAtlasGlyphCache.cpp +++ b/src/gpu/text/GrAtlasGlyphCache.cpp @@ -144,8 +144,7 @@ static bool save_pixels(GrContext* context, GrSurfaceProxy* sProxy, const char* } sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( - sk_ref_sp(sProxy), - nullptr)); + sk_ref_sp(sProxy))); if (!sContext || !sContext->asTextureProxy()) { return false; } |