From 1a87f05e2263f9e256d65d4a61f9cd7b5d53e72b Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Wed, 2 Mar 2011 16:33:19 -0500 Subject: Do not merge: Cherry-pick change I21555e92 from master Bug: 3471680 Enable the plugin to specify the BGRA internal format for textures. Change-Id: Ied336c0a2309d14033a065b74e675d6d4405551b --- WebCore/platform/graphics/android/MediaLayer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'WebCore/platform/graphics/android') diff --git a/WebCore/platform/graphics/android/MediaLayer.cpp b/WebCore/platform/graphics/android/MediaLayer.cpp index 9bc2a3e..46f0dfc 100644 --- a/WebCore/platform/graphics/android/MediaLayer.cpp +++ b/WebCore/platform/graphics/android/MediaLayer.cpp @@ -98,6 +98,7 @@ bool MediaLayer::drawGL(SkMatrix& matrix) } bool forceBlending = textureInfo->m_internalFormat == GL_RGBA || + textureInfo->m_internalFormat == GL_BGRA_EXT || textureInfo->m_internalFormat == GL_ALPHA; TilesManager::instance()->shader()->drawLayerQuad(m, rect, textureInfo->m_textureId, -- cgit v1.1