OSDN Git Service

Take scale into account when greedily prefetching an entire layer
authorChris Craik <ccraik@google.com>
Tue, 25 Oct 2011 01:39:29 +0000 (18:39 -0700)
committerChris Craik <ccraik@google.com>
Tue, 25 Oct 2011 01:42:49 +0000 (18:42 -0700)
commit4d0ea4e3b154e29321df8e6d8c76a1535dbb1a73
treef4d4169c282de81389df7308e4f94d07a7dcae60
parenta4adfec4837fe35c27bbee2963cbc105dbce38ff
Take scale into account when greedily prefetching an entire layer

bug:5509149

Scale wasn't being taken into account when estimating layer tile consumption, so
zooming in on layer content could attempt to fetch and draw hundreds of layers
per tile, causing lots of missing content.

Change-Id: Ib26e203827ad93be12d29561b9d8094cb712f014
Source/WebCore/platform/graphics/android/PaintedSurface.cpp