Descriptionupdate bitmapshader to avoid potential rendering error for kA8_Config
A local matrix is set to the shader, which will show the potential error for SkCanvas::drawBitmap when the bitmap is kA8_Config, as well as the potential error for drawing a geometry with a bitmapshader who's bitmap is kA8_Config.
A simple case is also added for SkCanvas::drawBitmap when the bitmap is kA8_Config, but there is not shader. Then the drawing area will be colorized by the solid color set in SkPaint.
BUG=skia:2278
BUG=skia:2293
Committed: http://code.google.com/p/skia/source/detail?r=13904
Patch Set 1 : #Patch Set 2 : #Patch Set 3 : rebase code #
Messages
Total messages: 10 (0 generated)
|