OSDN Git Service

Set the number of current textures depending on the layers' count,
authorNicolas Roard <nicolasroard@google.com>
Thu, 17 Nov 2011 02:25:59 +0000 (18:25 -0800)
committerNicolas Roard <nicolasroard@google.com>
Sat, 19 Nov 2011 01:48:08 +0000 (17:48 -0800)
commitc4718e6733cb345bafc3a95a9e1c234047bfde7e
treef34e5caa87569e0936f7790fee3e9b3c79a3da19
parent4b6100afbe2ee836e22f8fa8d55d7434309fe563
Set the number of current textures depending on the layers' count,
to avoid going to single drawing surface if we can.
Also fix a crash when logging layers.

bug:5279231
Change-Id: I1c3f2ce4bcedac1c172e87c7ec3c6692d8e35e14
Source/WebCore/platform/graphics/android/GLWebViewState.cpp
Source/WebCore/platform/graphics/android/LayerAndroid.cpp
Source/WebCore/platform/graphics/android/TilesManager.cpp
Source/WebCore/platform/graphics/android/TilesManager.h
Source/WebCore/platform/graphics/android/TreeManager.cpp