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

Unified Diff: include/core/SkPaint.h

Issue 1009183002: swith over from SkPaint::FilterLevel to SkFilterQuality (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « gm/tilemodes_scaled.cpp ('k') | include/effects/SkMatrixImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index bb5eff4d91cc47084e3e92ad5145e7c6a1d3e367..d5c750666de009cec068f67528dda69733958b50 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -14,9 +14,6 @@
#include "SkMatrix.h"
#include "SkXfermode.h"
-// TODO: clean up Skia internals so we can remove this and only keep it for clients
-#define SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM
-
class SkAnnotation;
class SkAutoGlyphCache;
class SkColorFilter;
@@ -338,6 +335,7 @@ public:
*/
void setFilterQuality(SkFilterQuality quality);
+#ifdef SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM
/**
* If the predicate is true, set the filterLevel to Low, else set it to
* None.
@@ -354,6 +352,7 @@ public:
bool isFilterBitmap() const {
return kNone_FilterLevel != this->getFilterLevel();
}
+#endif
/** Styles apply to rect, oval, path, and text.
Bitmaps are always drawn in "fill", and lines are always drawn in
« no previous file with comments | « gm/tilemodes_scaled.cpp ('k') | include/effects/SkMatrixImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698