Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05b3720b authored by Mike Reed's avatar Mike Reed Committed by Grace Kloba
Browse files
disable high-quality filtering during scrolling, until I can cached the scaled images.

Change-Id: I58fa779a8d9a23a20a0fdd93ea06c251b6c6ca8d

Fix http://b/issue?id=2574172
parent 0990511f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1752,9 +1752,9 @@ final class WebViewCore {

    final DrawFilter mZoomFilter =
                    new PaintFlagsDrawFilter(ZOOM_BITS, Paint.LINEAR_TEXT_FLAG);
    final DrawFilter mScrollFilter = null;
    // If we need to trade more speed for less quality on slower devices
    // use this: new PaintFlagsDrawFilter(SCROLL_BITS, 0);
    // If we need to trade better quality for speed, set mScrollFilter to null
    final DrawFilter mScrollFilter =
                new PaintFlagsDrawFilter(SCROLL_BITS, 0);

    /* package */ void drawContentPicture(Canvas canvas, int color,
                                          boolean animatingZoom,