Description[Android WebView] Clamp Bitmap size when it will be drawn into a Canvas.
While the WebView GL path is still under development, we fall back
to the SW path which uses a renders into a View-sized bitmap if a
HW draw is requested. When drawing into a Canvas, there are
maximum dimensions imposed on bitmaps that can be drawn into it,
and when using a HW Canvas the limits are quite small (based on
maximum GL texture size)
This patch adds a size check on the bitmap we create if we intend
it to be drawn into a Canvas. This means content may be cropped,
but for testing some content is better than no content.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207747
Patch Set 1 #
Total comments: 8
Patch Set 2 : joth comments #
Messages
Total messages: 6 (0 generated)
|