do not merge
remove the filter when we're scrolling, so we don't degrade the quality http://b/issue?id=2174463&cookieId=2009300052135424 same change (in spirit) in MR2 https://android-git.corp.google.com/g/#change,30860
This commit is contained in:
@@ -1643,8 +1643,6 @@ final class WebViewCore {
|
||||
|
||||
final DrawFilter mZoomFilter =
|
||||
new PaintFlagsDrawFilter(ZOOM_BITS, Paint.LINEAR_TEXT_FLAG);
|
||||
final DrawFilter mScrollFilter =
|
||||
new PaintFlagsDrawFilter(SCROLL_BITS, 0);
|
||||
|
||||
/* package */ void drawContentPicture(Canvas canvas, int color,
|
||||
boolean animatingZoom,
|
||||
@@ -1653,7 +1651,7 @@ final class WebViewCore {
|
||||
if (animatingZoom) {
|
||||
df = mZoomFilter;
|
||||
} else if (animatingScroll) {
|
||||
df = mScrollFilter;
|
||||
df = null;
|
||||
}
|
||||
canvas.setDrawFilter(df);
|
||||
boolean tookTooLong = nativeDrawContent(canvas, color);
|
||||
|
||||
Reference in New Issue
Block a user