diff options
author | Nicolas Roard <nicolas@android.com> | 2011-02-01 03:58:44 -0800 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2011-02-01 04:22:24 -0800 |
commit | 3a3a8a5cdda72d79add3d08082523d5115cb47a8 (patch) | |
tree | d8d0b14c6daad8bef1bf022c996648d77bc7ffad /WebCore/platform/graphics/android/BaseLayerAndroid.cpp | |
parent | d7c28d82f1f7f97cd9527fc6372596fbf69bd2fd (diff) | |
download | external_webkit-3a3a8a5cdda72d79add3d08082523d5115cb47a8.zip external_webkit-3a3a8a5cdda72d79add3d08082523d5115cb47a8.tar.gz external_webkit-3a3a8a5cdda72d79add3d08082523d5115cb47a8.tar.bz2 |
Implement automatic texture size allocation for layers
This fix several issues (3d transforms, etc.) and in general
makes websites using layers snappier (gmail, etc.)
bug:3367038 bug:3367048
Change-Id: Ib178416209c3636c7700296978a1f35a7a54ee22
Diffstat (limited to 'WebCore/platform/graphics/android/BaseLayerAndroid.cpp')
-rw-r--r-- | WebCore/platform/graphics/android/BaseLayerAndroid.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/BaseLayerAndroid.cpp b/WebCore/platform/graphics/android/BaseLayerAndroid.cpp index d2d515a..b632664 100644 --- a/WebCore/platform/graphics/android/BaseLayerAndroid.cpp +++ b/WebCore/platform/graphics/android/BaseLayerAndroid.cpp @@ -314,6 +314,7 @@ bool BaseLayerAndroid::drawGL(IntRect& viewRect, SkRect& visibleRect, scale = m_glWebViewState->futureScale(); } compositedRoot->setScale(scale); + compositedRoot->computeTextureSize(); compositedRoot->reserveGLTextures(); #ifdef DEBUG |