diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-01-23 13:54:27 -0800 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2012-01-23 14:00:27 -0800 |
commit | a88a02318873ea1ed00398091f92d6ebe1dc1139 (patch) | |
tree | e304b77b09c721e5658530f43ece369b81838335 /Source/WebKit/android/nav/WebView.cpp | |
parent | 2641f0118c78c83b37b7dd9ee6f6cb793cdb8cfb (diff) | |
download | external_webkit-a88a02318873ea1ed00398091f92d6ebe1dc1139.zip external_webkit-a88a02318873ea1ed00398091f92d6ebe1dc1139.tar.gz external_webkit-a88a02318873ea1ed00398091f92d6ebe1dc1139.tar.bz2 |
Delay the shader init till the draw time.
GLWebViewState::setupDrawing is checking whether or not the shader has been
initialized and initialize it if necessary now, with that, we don't need to
initialized the GL resource in the constuctor of ShaderProgram any more.
TODO: create/destroy all GL resources as request.
bug:5093097
Change-Id: I8b280a9060a8f8fc2f03b8427feb597928ea6d9f
Diffstat (limited to 'Source/WebKit/android/nav/WebView.cpp')
0 files changed, 0 insertions, 0 deletions