Make aggressive shader opts an option in GrUserConfig.h. Currently just controls...
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 2 Feb 2011 22:42:20 +0000 (22:42 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 2 Feb 2011 22:42:20 +0000 (22:42 +0000)
commitd16983b31f5750c28f0b493f3639d407f1b94610
treeae294eb768a9de9743a90a3ff2ce3b96dc1616dc
parent4333323006ac6ef472e011b8ea8f0bb303a0f21f
Make aggressive shader opts an option in GrUserConfig.h. Currently just controls whether color=white optimization is applied (eliminates reading color varying and modulation by color). This was already a compile time option just not exposed through user config.

git-svn-id: http://skia.googlecode.com/svn/trunk@754 2bbb7eff-a529-9590-31e7-b0007b416f81
gpu/include/GrConfig.h
gpu/include/GrUserConfig.h
gpu/src/GrGpuGLShaders2.cpp