aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-08-18 09:30:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-18 09:30:44 -0700
commit7c1235457f7ef69d3bde48306e9be528718da7e6 (patch)
tree0c495d7c91f194507d7d5063ddbd50cc0a5e089e /include/core
parent6d391b6c37c66770913aaecc50ddb466705dde31 (diff)
remove disable aa/dither flags from Props -- never used
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkSurfaceProps.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/core/SkSurfaceProps.h b/include/core/SkSurfaceProps.h
index 735561f1dc..da04d1fe92 100644
--- a/include/core/SkSurfaceProps.h
+++ b/include/core/SkSurfaceProps.h
@@ -51,9 +51,7 @@ static inline bool SkPixelGeometryIsV(SkPixelGeometry geo) {
class SK_API SkSurfaceProps {
public:
enum Flags {
- kDisallowAntiAlias_Flag = 1 << 0,
- kDisallowDither_Flag = 1 << 1,
- kUseDeviceIndependentFonts_Flag = 1 << 2,
+ kUseDeviceIndependentFonts_Flag = 1 << 0,
};
/** Deprecated alias used by Chromium. Will be removed. */
static const Flags kUseDistanceFieldFonts_Flag = kUseDeviceIndependentFonts_Flag;
@@ -70,8 +68,6 @@ public:
uint32_t flags() const { return fFlags; }
SkPixelGeometry pixelGeometry() const { return fPixelGeometry; }
- bool isDisallowAA() const { return SkToBool(fFlags & kDisallowAntiAlias_Flag); }
- bool isDisallowDither() const { return SkToBool(fFlags & kDisallowDither_Flag); }
bool isUseDeviceIndependentFonts() const {
return SkToBool(fFlags & kUseDeviceIndependentFonts_Flag);
}