Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: include/core/SkPaint.h

Issue 17381008: More general version of image filtering; reworked to be robust and easier to SSE (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: make temp. scale function private; disable GM and bench for that function Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index d390ce29f38ce631b9453ee573515b1d8adca2da..daa317bd0c75d150ca58687e1eabd90ba2b875cf 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -43,6 +43,8 @@ typedef const SkGlyph& (*SkDrawCacheProc)(SkGlyphCache*, const char**,
typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**);
+#define kBicubicFilterBitmap_Flag kHighQualityFilterBitmap_Flag
reed1 2013/07/09 17:26:29 Lets update the callers in chrome to use your pref
humper 2013/07/09 17:46:13 Once we change the API properly we'll need to nuke
+
/** \class SkPaint
The SkPaint class holds the style and color information about how to draw
@@ -108,7 +110,7 @@ public:
kAutoHinting_Flag = 0x800, //!< mask to force Freetype's autohinter
kVerticalText_Flag = 0x1000,
kGenA8FromLCD_Flag = 0x2000, // hack for GDI -- do not use if you can help it
- kBicubicFilterBitmap_Flag = 0x4000, // temporary flag
+ kHighQualityFilterBitmap_Flag = 0x4000, // temporary flag
// when adding extra flags, note that the fFlags member is specified
// with a bit-width and you'll have to expand it.

Powered by Google App Engine
This is Rietveld 408576698