commit | 5259814305e3290dea3b197301f7824a14c5fa6f | [log] [tgz] |
---|---|---|
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu May 24 17:44:30 2012 +0000 |
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu May 24 17:44:30 2012 +0000 |
tree | 7f04020f99f01833c1d8e63b910c8490b0ae0e34 | |
parent | 3fd979874c5bd233a8f731fb68fca87f84712a52 [diff] |
Move swizzle & modulation computation, non-virtual functions onto GrGLShaderBuilder. This lets us access all the default computations when there's no GrCustomStage specified, and means that GrGLProgramStage is effectively an interface class, all of whose functions can/should be overriden. http://codereview.appspot.com/6242051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4045 2bbb7eff-a529-9590-31e7-b0007b416f81