diff options
author | 2013-01-22 19:25:14 +0000 | |
---|---|---|
committer | 2013-01-22 19:25:14 +0000 | |
commit | 532470f34dbe9fc0b8b71e3917eca8894feaf336 (patch) | |
tree | 32189d576d8183776ac6ace8cdebce1d55600bb3 /src/core/SkDraw.cpp | |
parent | da7cb287682a1bcc1c2703fdf75a4dce867e5cc9 (diff) |
Expose geometry and gamma on device.
https://codereview.appspot.com/6499101/
git-svn-id: http://skia.googlecode.com/svn/trunk@7317 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index cf638e9b4c..ad8a0be8c0 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -1658,7 +1658,7 @@ void SkDraw::drawText(const char text[], size_t byteLength, const SkMatrix* matrix = fMatrix; - SkAutoGlyphCache autoCache(paint, matrix); + SkAutoGlyphCache autoCache(paint, &fDevice->fLeakyProperties, matrix); SkGlyphCache* cache = autoCache.getCache(); // transform our starting point @@ -1852,7 +1852,7 @@ void SkDraw::drawPosText(const char text[], size_t byteLength, const SkMatrix* matrix = fMatrix; SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); - SkAutoGlyphCache autoCache(paint, matrix); + SkAutoGlyphCache autoCache(paint, &fDevice->fLeakyProperties, matrix); SkGlyphCache* cache = autoCache.getCache(); SkAAClipBlitterWrapper wrapper; |