OSDN Git Service

Modified tile reclamation heuristic for multi-webview display
authorChris Craik <ccraik@google.com>
Fri, 1 Jul 2011 17:27:35 +0000 (10:27 -0700)
committerChris Craik <ccraik@google.com>
Fri, 1 Jul 2011 17:47:26 +0000 (10:47 -0700)
commit72a76070d36a51926c224d230f1503c46f30da60
tree08c67ac8a25dc7714de98243709b513d51699e5d
parentbeb5d5b7abfe05ecd6dccd281a0885e7a9526286
Modified tile reclamation heuristic for multi-webview display

When tiles are reclaimed, they are now taken first from webviews that haven't
been drawn in a while. Previously they were taken from any other webview - which
may have been one still being displayed if multiple are onscreen.

bug:4049143 partially solved (still not enough graphics memory allocated for
tiles on tablet devices)

Change-Id: Id400ea28e92ba805120c8353881834157fefa483
Source/WebCore/platform/graphics/android/AndroidAnimation.cpp
Source/WebCore/platform/graphics/android/BaseTile.cpp
Source/WebCore/platform/graphics/android/BaseTile.h
Source/WebCore/platform/graphics/android/BaseTileTexture.cpp
Source/WebCore/platform/graphics/android/BaseTileTexture.h
Source/WebCore/platform/graphics/android/GLWebViewState.cpp
Source/WebCore/platform/graphics/android/LayerAndroid.h
Source/WebCore/platform/graphics/android/TextureOwner.h
Source/WebCore/platform/graphics/android/TiledPage.cpp
Source/WebCore/platform/graphics/android/TilesManager.cpp
Source/WebCore/platform/graphics/android/TilesManager.h