OSDN Git Service

Fixed infinite redraw loop from running out of layer tiles
authorChris Craik <ccraik@google.com>
Tue, 11 Oct 2011 21:35:51 +0000 (14:35 -0700)
committerChris Craik <ccraik@google.com>
Tue, 11 Oct 2011 22:41:34 +0000 (15:41 -0700)
commit93bfc77abb66a95750b747cf5d782c31beadf7cf
treeac0b60eb2ca3f88b1bd136d3802852c42cf87c00
parent8242049005e7219ea9846eff8eff3cead8e2461e
Fixed infinite redraw loop from running out of layer tiles

bug:5349958

Clear a flag when a layer tile can't allocate a texture, and only try and redraw
from tile dirtiness if that flag is set.

Also, don't ask for redraw if offending tiles are offscreen.

Change-Id: Iadb0cb267a9c1f308e5b42a6e0e3b4bc71d18ece
Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp
Source/WebCore/platform/graphics/android/TiledTexture.cpp
Source/WebCore/platform/graphics/android/TilesManager.cpp
Source/WebCore/platform/graphics/android/TilesManager.h