diff options
author | 2014-06-09 06:25:34 -0700 | |
---|---|---|
committer | 2014-06-09 06:25:34 -0700 | |
commit | 9f1c241e0d8a756fca1ec2dacb565eec83166d5f (patch) | |
tree | 77a588bd485fb27de5d4dc81a78624968361f65e /include/core/SkPicture.h | |
parent | 5713352a64936428d37a721382d021f4a9002172 (diff) |
Remove SkPicture::kUsePathBoundsForClip_RecordingFlag
The real question is whether we ever want to record a picture without using the path bounds for a conservative (but faster) clip answer?
R=reed@google.com, mtklein@google.com, djsollen@google.com, scroggo@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/316143003
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r-- | include/core/SkPicture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index fb5e7ffd03..793a2e4793 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -132,6 +132,7 @@ public: */ void clone(SkPicture* pictures, int count) const; +#ifdef SK_SUPPORT_LEGACY_RECORDING_FLAG // TODO: kUsePathBoundsForClip_RecordingFlag no longer belongs in // SkPicture. It should be moved to SkPictureRecorder (or just made // the default behavior). @@ -146,6 +147,7 @@ public: */ kUsePathBoundsForClip_RecordingFlag = 0x01 }; +#endif /** Replays the drawing commands on the specified canvas. @param canvas the canvas receiving the drawing commands. |