From 87a12aa24a87540251e0d2d0a223e761ceb31da2 Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Mon, 14 Feb 2011 11:26:30 -0500 Subject: Selectively enable and disable GL_BLEND for better performance. Change-Id: I473e2bff91c2e0b1ec2436f0666506023a7c0945 --- WebCore/platform/graphics/android/LayerAndroid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'WebCore/platform/graphics/android/LayerAndroid.cpp') diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp index bee423c..7e998c1 100644 --- a/WebCore/platform/graphics/android/LayerAndroid.cpp +++ b/WebCore/platform/graphics/android/LayerAndroid.cpp @@ -861,9 +861,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(); } -- cgit v1.1