DescriptionCreated my own flag parser, based off of gflags.
Share common code between bench_ and render_ to set up the PictureRenderer.
Fix an include error in SkPictureRenderer.h.
Simplified parameter passing in render_pictures_main.
Switch to using an SkAutoTUnref for the PictureRenderer.
I also changed the input format somewhat, so the buildbots need to be updated as well: https://codereview.appspot.com/7441044/
Fixed a bug in PictureBenchmark where calling setTimeIndividualTiles(false) sets the member variable to true.
Removed setDeviceType from PictureBenchmark, since only the PictureRenderer needs to know which device type to use.
Some changes to the input format:
'--logPerIter' no longer takes a 1 or 0. Instead, '--logPerIter'
turns it on and '--nologPerIter' turns it off (with off as the
default). (Note that this is for bench_pictures; bench still uses the old format)
Change '--device' to '--config' and 'bitmap' to '8888' to be
the same as gm.
Requires '--r' before inputs (to match gm), though there can be multiple inputs following it.
Changed --enable-deferred-image-decoding (which no one uses but me yet anyway) to --deferImageDecoding, since the former is incompatible with the flag parser.
Changes to behavior:
Show a short error message on failure (rather than the explanation of all
flags).
BUG=https://code.google.com/p/skia/issues/detail?id=1094
Committed: https://code.google.com/p/skia/source/detail?r=7961
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 13
Patch Set 4 : Add header files to gflags.gyp. Attempt to use --similarity #Patch Set 5 : Configure gflags in gyp_skia #Patch Set 6 : Fix some warnings, and turn off warnings as errors for gflags. #Patch Set 7 : Big changes - no longer uses gflags. #Patch Set 8 : Fix for windows, remove changes to gyp_skia #
Total comments: 6
Patch Set 9 : Small cleanups #Patch Set 10 : Add changes to configs for buildbots. #
Total comments: 8
Patch Set 11 : Change -i to -r to match gm. Rebase. #Patch Set 12 : Change bench's logPerIter to just be a flag, with no 1 or 0 afterwards. #
MessagesTotal messages: 14
|