Chromium Code Reviews| Index: include/core/SkPicture.h |
| =================================================================== |
| --- include/core/SkPicture.h (revision 8360) |
| +++ include/core/SkPicture.h (working copy) |
| @@ -115,7 +115,12 @@ |
| Note: Currently this is not serializable, the bounding data will be |
| discarded if you serialize into a stream and then deserialize. |
| */ |
| - kOptimizeForClippedPlayback_RecordingFlag = 0x02 |
| + kOptimizeForClippedPlayback_RecordingFlag = 0x02, |
| + /* |
| + This flag disables all the picture recording optimizations. It is |
|
Justin Novosad
2013/03/25 18:34:55
This is too vague. I.e. What specific optimization
robertphillips
2013/04/01 18:08:52
I have changed the name and updated the comment -
|
| + mainly intended for testing the existing optimizations. |
| + */ |
| + kDisableOptimizations_RecordingFlag = 0x04 |
| }; |
| /** Returns the canvas that records the drawing commands. |