Incorrect tile size in the slow scrolling case
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2012 20:39:32 +0000 (20:39 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2012 20:39:32 +0000 (20:39 +0000)
commit7e18d384e3f49c8d1f6ba534bf0e1706526c4bb2
tree2234724b7cf434c2e08b7900d8a31e21446e66fc
parent0085d6a54c6856276f21cff9240617f19066059d
Incorrect tile size in the slow scrolling case
https://bugs.webkit.org/show_bug.cgi?id=100411

Reviewed by Beth Dakin.

Source/WebCore:

If we're in slow scrolling mode, we don't want to inflate the
coverage rect based on scrollability. This ensures that the few
big tiles we create have the correct size.

* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::computeTileCoverageRect):

LayoutTests:

New result with better tile size.

* platform/mac/tiled-drawing/tile-coverage-slow-scrolling-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@132527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/tiled-drawing/tile-coverage-slow-scrolling-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/mac/TileCache.mm