summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/LayerAndroid.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-02-16 12:48:46 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-02-16 12:48:46 -0800
commit5ad675d34069bcdf6bcd983ae4941c0531216354 (patch)
treef04ba87adf01e537b817dff8e177e62bad0e495b /WebCore/platform/graphics/android/LayerAndroid.cpp
parente9d5f570f22c46f9adaa4181c3fa1b715f15ccb3 (diff)
parent87a12aa24a87540251e0d2d0a223e761ceb31da2 (diff)
downloadexternal_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.cpp3
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();
}