Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: include/core/SkPicture.h

Issue 12843028: Add testing of optimizations to GM (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« gm/optimizations.cpp ('K') | « gyp/gmslides.gypi ('k') | src/core/SkPictureRecord.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698