commit | 3c9b2a4a0e4f57db23640e85959ee78b86634628 | [log] [tgz] |
---|---|---|
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 27 19:28:37 2009 +0000 |
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 27 19:28:37 2009 +0000 |
tree | ed5f297f3dbc1d4d6703846c11c2a4f0c5174b9d | |
parent | 2a4d1ff189ef8df14ec40499125b01f406cb442b [diff] |
expand SkShader's flag kConstInY to 16 and 32 variants, allowing a shader (like gradients) to support predithering. If they do, then they would suppress kConstInY16, since they no longer are const. The blitters now check for each flag separately, so we don't have to give up const-in-Y in the 32bit case, since in that mode we don't care about dithering. git-svn-id: http://skia.googlecode.com/svn/trunk@339 2bbb7eff-a529-9590-31e7-b0007b416f81