commit | b5c97895f31a280f4848fd138a692c26289021e8 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 05 17:04:51 2011 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 05 17:04:51 2011 +0000 |
tree | b321402bafb8f8c6764bc3d94ad4b988482a4354 | |
parent | 95eed983be9a3fa787d38acc33790197bbdb5799 [diff] |
don't call setContext on shader (not necessary), since now gradients ensure that their bitmap will be built with opaque colors. Also, this avoids calling lockPixels on the shader's bitmap (if it has one), which is usually not needed or desired, given that we're a gpu device. git-svn-id: http://skia.googlecode.com/svn/trunk@1790 2bbb7eff-a529-9590-31e7-b0007b416f81