Merge r1267628 from branch.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 May 2014 03:24:41 +0000 (03:24 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 May 2014 03:24:41 +0000 (03:24 +0000)
commitc85d9a9aa01294cf99165a97b25a15a8b399bc7b
tree292c40e4bca68b0318a1f05bf3031ab3e171a6b6
parentda989f9d18a83c3323a93a1fbd95083e8cec285b
Merge r1267628 from branch.
<rdar://problem/15751219>

    Pratik Solanki  <psolanki@apple.com>

    Reviewed by Simon Fraser.",

    TileController relied on the tiling mode in TileCache to determine if it should use low-res
    tiles when zooming. Unfortunately, sometimes the tiling mode gets set to Zooming even though
    it's actually a pan. Thus we can end up with blurry tiles. Fix this by adding a new flag on
    TileCache that controls this behavior and have UIKit set it only when we have an actual zoom
    operation.

* platform/ios/LegacyTileCache.h:
(WebCore::LegacyTileCache::tileControllerShouldUseLowScaleTiles):
(WebCore::LegacyTileCache::setTileControllerShouldUseLowScaleTiles):
* platform/ios/LegacyTileCache.mm:
(WebCore::LegacyTileCache::LegacyTileCache):
* platform/ios/wak/WAKWindow.h:
* platform/ios/wak/WAKWindow.mm:
(-[WAKWindow setTileControllerShouldUseLowScaleTiles:]):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::contentsScaleMultiplierForNewTiles):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ios/LegacyTileCache.h
Source/WebCore/platform/ios/LegacyTileCache.mm
Source/WebCore/platform/ios/wak/WAKWindow.h
Source/WebCore/platform/ios/wak/WAKWindow.mm
Source/WebCore/rendering/RenderLayerCompositor.cpp