Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index d9354491c08ff57a2f39610cbccd88f7e931c68b..43cb32c8c92574f0ed44fd0cc2ee111752f36f5b 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -117,8 +117,6 @@ public: |
#endif |
}; |
- bool shouldDisableLCD(const SkPaint&) const; |
- |
protected: |
enum Usage { |
kGeneral_Usage, |
@@ -130,6 +128,12 @@ protected: |
uint32_t fFlags; // SkPaint::getFlags() |
}; |
+ /** |
+ * Returns the text-related flags, possibly modified based on the state of the |
+ * device (e.g. support for LCD). |
+ */ |
+ uint32_t filterTextFlags(const SkPaint&) const; |
+ |
virtual bool onShouldDisableLCD(const SkPaint&) const { return false; } |
/** |