Refactor gm to minimize wasted passes through picture and pipe code paths.
authordjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 26 Oct 2012 14:07:13 +0000 (14:07 +0000)
committerdjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 26 Oct 2012 14:07:13 +0000 (14:07 +0000)
commitebce16d21bd988ce32768f61946776a66b9b1f25
tree1ad9b1553226686695dfd2aff56dec6adff8b429
parent1322134a3a7232e4ae3433733ed425fd9966bd5c
Refactor gm to minimize wasted passes through picture and pipe code paths.

Testing this CL shows around a 40% time reduction when running gm on a mac debug build.

Review URL: https://codereview.appspot.com/6791043

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