DescriptionFix error in Ganesh' tiled bitmap drawing
When the paint filter level is high ShouldUseBicubic doesn't always return true. In this case the paint's filter level will differ from the filtering Ganesh will use. This was leading to a mismatch between the tiling computed in SkGpuDevice::drawBitmapCommon and the one in SkGpuDevice::drawTiledBitmap.
The end result of this was that the max texture restriction could be violated which is currently being seen on the Xoom & N7 bots. Both of them have a max texture size of 2048 which is invoking the tiled drawbitmap case.
Committed: https://skia.googlesource.com/skia/+/ec8bb946c37ace5d1ac76dfb56a9fc4be4fb142e
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|