Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(804)

Unified Diff: src/core/SkDraw.cpp

Issue 6818058: Gpu to apply mask gamma. Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 13 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkDraw.cpp
===================================================================
--- src/core/SkDraw.cpp (revision 6206)
+++ src/core/SkDraw.cpp (working copy)
@@ -1547,7 +1547,8 @@
const SkMatrix* matrix = fMatrix;
- SkAutoGlyphCache autoCache(paint, matrix);
+ SkAutoGlyphCache autoCache(paint, matrix,
+ fDevice->wantsLinearMasks());
SkGlyphCache* cache = autoCache.getCache();
// transform our starting point
@@ -1741,7 +1742,8 @@
const SkMatrix* matrix = fMatrix;
SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc();
- SkAutoGlyphCache autoCache(paint, matrix);
+ SkAutoGlyphCache autoCache(paint, matrix,
+ fDevice->wantsLinearMasks());
SkGlyphCache* cache = autoCache.getCache();
SkAAClipBlitterWrapper wrapper;

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b