aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkCanvas.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-11-20 13:42:42 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-20 13:42:42 -0800
commit42b73eb00367c8315974b1c374308d20efa78897 (patch)
treeda8e2b2da68215e0cdd45b0bba7affb36bf7b7e8 /include/core/SkCanvas.h
parent1ac026d71c4637622138adcbfa320e41e61bde53 (diff)
enable conservative raster clipping
There may be other (better?) ways to enable this. For example, if we queried the device *before* we init our root DeviceCM, we wouldn't need this flag in InitFlags, since the device already has a virtual to opt-in ... BUG=skia: Review URL: https://codereview.chromium.org/1458153003
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r--include/core/SkCanvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 3e8f362e43..53f6dda88b 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1436,7 +1436,7 @@ private:
mutable bool fCachedLocalClipBoundsDirty;
bool fAllowSoftClip;
bool fAllowSimplifyClip;
- bool fConservativeRasterClip;
+ const bool fConservativeRasterClip;
const SkRect& getLocalClipBounds() const {
if (fCachedLocalClipBoundsDirty) {