Prevent picture recording from over optimizing the culling of clips.
BUG=skia:1496
R=mtklein@google.com, reed@google.com, robertphillips@google.com
Review URL: https://codereview.chromium.org/22875008
git-svn-id: http://skia.googlecode.com/svn/trunk/include@10689 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core/SkCanvas.h b/core/SkCanvas.h
index b4853f7..a368182 100644
--- a/core/SkCanvas.h
+++ b/core/SkCanvas.h
@@ -239,6 +239,12 @@
operate on this copy.
When the balancing call to restore() is made, the previous matrix, clip,
and drawFilter are restored.
+ @param flags The flags govern what portion of the Matrix/Clip/drawFilter
+ state the save (and matching restore) effect. For example,
+ if only kMatrix is specified, then only the matrix state
+ will be pushed and popped. Likewise for the clip if kClip
+ is specified. However, the drawFilter is always affected
+ by calls to save/restore.
@return The value to pass to restoreToCount() to balance this save()
*/
virtual int save(SaveFlags flags = kMatrixClip_SaveFlag);