From: robertphillips Date: Thu, 12 Jun 2014 19:56:58 +0000 (-0700) Subject: Remove SkPicture SK_SUPPORT_LEGACY_RECORDING_FLAG flag X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~7214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02830f0448ce1af077cedc552e913f464834e455;p=platform%2Fupstream%2FlibSkiaSharp.git Remove SkPicture SK_SUPPORT_LEGACY_RECORDING_FLAG flag Chromium/Blink should no longer need this flag after: Chromium: Remove use of kUsePathBoundsForClip_RecordingFlag https://codereview.chromium.org/322123002/ Blink: Remove use of kUsePathBoundsForClip_RecordingFlag https://codereview.chromium.org/326953002/ R=mtklein@google.com, scroggo@google.com, reed@google.com, bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/328343002 --- diff --git a/gyp/skia_for_chromium_defines.gypi b/gyp/skia_for_chromium_defines.gypi index 30ec290..938893b 100644 --- a/gyp/skia_for_chromium_defines.gypi +++ b/gyp/skia_for_chromium_defines.gypi @@ -17,7 +17,6 @@ 'SK_SUPPORT_LEGACY_N32_NAME', 'SK_SUPPORT_LEGACY_SETCONFIG', 'SK_IGNORE_ETC1_SUPPORT', - 'SK_SUPPORT_LEGACY_RECORDING_FLAG', ], }, } diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index fcedcef..7b38230 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -131,23 +131,6 @@ 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). - enum RecordingFlags { - /* This flag specifies that when clipPath() is called, the path will - be faithfully recorded, but the recording canvas' current clip will - only see the path's bounds. This speeds up the recording process - without compromising the fidelity of the playback. The only side- - effect for recording is that calling getTotalClip() or related - clip-query calls will reflect the path's bounds, not the actual - path. - */ - kUsePathBoundsForClip_RecordingFlag = 0x01 - }; -#endif - /** Replays the drawing commands on the specified canvas. @param canvas the canvas receiving the drawing commands. */