Add the ability to specify config to GM.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 7 Jun 2012 17:39:48 +0000 (17:39 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 7 Jun 2012 17:39:48 +0000 (17:39 +0000)
commit5867c0f03262a3ce11c6790d5bd75ce0ebcb197c
tree414907a36ea41e0ca18306336012185870b0e592
parentaca29ae8cdebdc3406c70bc1d8bd6dbfd5ffbbf5
Add the ability to specify config to GM.

Code adapted from bench.

To specify a config, add -config <configName1>|<configName2> etc
to the command line.

To find the valid names (which can depend on flags passed in), use
-h or --help.
Review URL: https://codereview.appspot.com/6297053

git-svn-id: http://skia.googlecode.com/svn/trunk@4205 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/gmmain.cpp