OSDN Git Service

Mark tiles discarded by TransferQueue as dirty
authorChris Craik <ccraik@google.com>
Mon, 10 Oct 2011 22:58:27 +0000 (15:58 -0700)
committerChris Craik <ccraik@google.com>
Tue, 11 Oct 2011 21:46:00 +0000 (14:46 -0700)
commit959c08a729d39539327aeb634dbce69524e7b678
treee9652bd8a5e0d3d356f37b57c2bd3405d0ef3a98
parent8242049005e7219ea9846eff8eff3cead8e2461e
Mark tiles discarded by TransferQueue as dirty

bug:5409902

Tiles were being discarded from the queue (and simply unsuccessfully
added). This caused them to get stuck in the 'ValidatedUntransferred' state.

Now if a tile isn't added successfully, or if it's discarded, it removes its
painting texture and will have to repaint from scratch.

Change-Id: I551e00fb8a6be3b0f3cabeabaa91e8b8b30019d5
Source/WebCore/platform/graphics/android/BaseTile.cpp
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/TilesManager.cpp
Source/WebCore/platform/graphics/android/TransferQueue.cpp
Source/WebCore/platform/graphics/android/TransferQueue.h