OSDN Git Service

Get layers showing again
authorBen Murdoch <benm@google.com>
Tue, 1 Feb 2011 20:54:50 +0000 (20:54 +0000)
committerBen Murdoch <benm@google.com>
Wed, 2 Feb 2011 02:17:09 +0000 (02:17 +0000)
commit4da96b9950ba2e86203aa50be39adcc8431a95a4
tree53e777d3e5ea61389f5fd0f931ce9a61b7e95f98
parente829439d86a8ce36f5c585ea0344ed9b9b6d067a
Get layers showing again

Lazily get the maximum texture size from GL when
we first need it. This avoids calling GL functions
before GL has been set up and ensures it is done on
the correct (ie. UI) thread.

Also move the tiles expansion setting from WC thread
to UI thread as TilesManager is not thread safe when
creating the singleton instance.

This makes change 4596782e unnecessary so we remove it.

Bug: 3412928

Change-Id: I740974d8cc0ef4f66956cd6a07b058bfa7ca767f
WebCore/platform/graphics/android/ShaderProgram.cpp
WebCore/platform/graphics/android/TilesManager.cpp
WebCore/platform/graphics/android/TilesManager.h
WebKit/android/jni/WebViewCore.cpp
WebKit/android/nav/WebView.cpp