commit | 0b8b3bb08330dd341acbd52c16e55455325e465a | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 30 21:06:22 2011 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 30 21:06:22 2011 +0000 |
tree | 5d82858bc74fdd36c8e0cd42b8770870fcecab87 | |
parent | e620ad299f28512f98314da41528fe9f71ebb4cc [diff] |
make inline version of premultiply, to speed up gradient creation. We could speed-up again if we... - respected kDither and only built 1/2 of the table for non-dither requests - output simple params to the gpu rather than always a texture - detected that we have no alpha, and then can skip premul per-entry git-svn-id: http://skia.googlecode.com/svn/trunk@1772 2bbb7eff-a529-9590-31e7-b0007b416f81