OSDN Git Service

Account for dirty tiles doubly in texture counting
authorChris Craik <ccraik@google.com>
Wed, 7 Dec 2011 01:40:33 +0000 (17:40 -0800)
committerChris Craik <ccraik@google.com>
Wed, 7 Dec 2011 01:40:33 +0000 (17:40 -0800)
commit429351139cee4eb681000434a73fabc3450a1f1d
treea6b404349927642835e8dd552eff3ba11d0b6e37
parent1d71a5f4405639dece648eda291ab6a2aecbb968
Account for dirty tiles doubly in texture counting

bug:5704511

Dirty tiles use two textures - one for display, and one for painting.

This fixes an issue where the number of textures requested did not meet the
needs of a double buffered tree with most content invalidated. The webview would
give up drawing, and thus not paint the invalidated portions of the layers.

Change-Id: Icd9b9e0b53cf82415074dac4338a8c48de880364
Source/WebCore/platform/graphics/android/TiledTexture.cpp