DescriptionAdd a means of extracting active operations from SkPicture
For the "pull forward" task I will be comparing the two cases:
analyze the whole skp and use the BBH information
analyze only the active portion of the skp
In the first case we need a way to get the BBH information out of the picture in order to extract the relevant portions of the whole-skp analysis. This adds caching of the active ops so that work isn't duplicated between when the optimization path queries for that information and when the usual draw path queries for it.
Committed: http://code.google.com/p/skia/source/detail?r=13836
Committed: http://code.google.com/p/skia/source/detail?r=13853
Patch Set 1 #Patch Set 2 : clean up #Patch Set 3 : mark new SkPicture entry point as experimental #Patch Set 4 : Add EXPERIMENTAL prefix to the new entry point #Patch Set 5 : Add EXPERIMENTAL prefix to the new entry point #
Total comments: 4
Patch Set 6 : address code review comments #Patch Set 7 : cleanup #Patch Set 8 : more clean up #
Total comments: 5
Patch Set 9 : hide the new SkPicture class & entry point & make SkGpuDevice a friend #Patch Set 10 : Added virtual dtor #Patch Set 11 : Fix bug & add unit test #
Messages
Total messages: 25 (0 generated)
|