diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-02-16 12:48:46 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-16 12:48:46 -0800 |
commit | 5ad675d34069bcdf6bcd983ae4941c0531216354 (patch) | |
tree | f04ba87adf01e537b817dff8e177e62bad0e495b /WebCore/platform/graphics/android/LayerAndroid.cpp | |
parent | e9d5f570f22c46f9adaa4181c3fa1b715f15ccb3 (diff) | |
parent | 87a12aa24a87540251e0d2d0a223e761ceb31da2 (diff) | |
download | external_webkit-5ad675d34069bcdf6bcd983ae4941c0531216354.zip external_webkit-5ad675d34069bcdf6bcd983ae4941c0531216354.tar.gz external_webkit-5ad675d34069bcdf6bcd983ae4941c0531216354.tar.bz2 |
Merge "Selectively enable and disable GL_BLEND for better performance."
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.cpp')
-rw-r--r-- | WebCore/platform/graphics/android/LayerAndroid.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp index 7375cba..e000ab1 100644 --- a/WebCore/platform/graphics/android/LayerAndroid.cpp +++ b/WebCore/platform/graphics/android/LayerAndroid.cpp @@ -868,9 +868,10 @@ bool LayerAndroid::drawGL(SkMatrix& matrix) uniqueId(), this, getWidth(), getHeight(), m_drawingTexture, textureRect.x(), textureRect.y(), textureRect.width(), textureRect.height()); + //TODO determine when drawing if the alpha value is used. TilesManager::instance()->shader()->drawLayerQuad(m, bounds, textureInfo->m_textureId, - m_drawOpacity); + m_drawOpacity, true); } m_drawingTexture->consumerRelease(); } |