diff options
author | 2015-07-07 10:28:43 -0700 | |
---|---|---|
committer | 2015-07-07 10:28:43 -0700 | |
commit | 8e0c1500a78f450115ce1a8de438d66e2e892cdc (patch) | |
tree | 6f16385ef3eb1f6ab954bcb1aa6cc10cb642b5e5 /src/gpu/GrTextContext.cpp | |
parent | a8db72864a43ad1fbba3c2892cf5cd88060a43ef (diff) |
Propagate SkSurfaceProps when known
This CL just closes the loop on some low hanging fruit w.r.t. propagating surface properties.
Review URL: https://codereview.chromium.org/1214853025
Diffstat (limited to 'src/gpu/GrTextContext.cpp')
-rw-r--r-- | src/gpu/GrTextContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp index 90328584a3..f929de69b1 100644 --- a/src/gpu/GrTextContext.cpp +++ b/src/gpu/GrTextContext.cpp @@ -218,7 +218,7 @@ void GrTextContext::drawPosTextAsPath(GrRenderTarget* rt, paint.setPathEffect(NULL); SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); - SkAutoGlyphCache autoCache(paint, NULL, NULL); + SkAutoGlyphCache autoCache(paint, &fSurfaceProps, NULL); SkGlyphCache* cache = autoCache.getCache(); const char* stop = text + byteLength; |