diff options
author | 2017-01-30 13:27:37 -0500 | |
---|---|---|
committer | 2017-01-30 19:05:36 +0000 | |
commit | f200a90f3e58ce20753420cadced850d7d00dca1 (patch) | |
tree | d4618a39bdd6f74b070b236283819ae7f4770d33 /src/gpu/text/GrAtlasGlyphCache.cpp | |
parent | efe3dedbb3493b738abdb56041b093245e4e8711 (diff) |
Rationalize GrContext's Gr*Proxy getter naming
This CL replaces the entry points:
asDeferredSurface
asDeferredTexture
asDeferredRenderTarget
with:
GrSurfaceProxy* asSurfaceProxy
sk_sp<GrSurfaceProxy> asSurfaceProxyRef
GrTextureProxy* asTextureProxy
sk_sp<GrTextureProxy> asTextureProxyRef
GrRenderTargetProxy* asRenderTargetProxy
sk_sp<GrRenderTargetProxy> asRenderTargetProxyRef
Change-Id: I7c2b1ea3d702023ff23019815ca13c9ff6f3b32d
Reviewed-on: https://skia-review.googlesource.com/7741
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/text/GrAtlasGlyphCache.cpp')
-rw-r--r-- | src/gpu/text/GrAtlasGlyphCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/text/GrAtlasGlyphCache.cpp b/src/gpu/text/GrAtlasGlyphCache.cpp index 315b3c00fa..58e78c1d3a 100644 --- a/src/gpu/text/GrAtlasGlyphCache.cpp +++ b/src/gpu/text/GrAtlasGlyphCache.cpp @@ -130,7 +130,7 @@ static bool save_pixels(GrContext* context, GrSurfaceProxy* sProxy, const char* sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( sk_ref_sp(sProxy), nullptr)); - if (!sContext || !sContext->asDeferredTexture()) { + if (!sContext || !sContext->asTextureProxy()) { return false; } |