OSDN Git Service

tile prefetching now triggered automatically
authorChris Craik <ccraik@google.com>
Wed, 17 Aug 2011 18:59:05 +0000 (11:59 -0700)
committerChris Craik <ccraik@google.com>
Thu, 18 Aug 2011 00:10:32 +0000 (17:10 -0700)
commite302ae4e13736d03118318e52aab6c4847285626
tree74c8912e649ad492e982db542c2e0da9afe80924
parentbd7e9ea6769039d66b97b4286e096416b53bdc4a
tile prefetching now triggered automatically

bug:5178457
bug:5168261
Tiles are now prefetched at a distance of 2 from the view if the content is at
least 1.2x the size of the view (in each dimension independantly)

Change-Id: I1c251ffbbae709f8924133b9b22df39b4fa88b4c
Source/WebCore/platform/graphics/android/GLWebViewState.cpp
Source/WebCore/platform/graphics/android/GLWebViewState.h
Source/WebCore/platform/graphics/android/TiledPage.cpp
Source/WebCore/platform/graphics/android/TilesManager.cpp
Source/WebCore/platform/graphics/android/TilesManager.h
Source/WebKit/android/nav/WebView.cpp