summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/MediaTexture.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-01-29 11:54:52 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-29 11:54:52 -0800
commite991ae38e756dc1efe730946f95747e42e5a920a (patch)
tree1468c51d2a8d60eaf33c0bc77d2502dad3535ad4 /WebCore/platform/graphics/android/MediaTexture.cpp
parent5e3e997a109b7e20ddd7e04c6ec14b01dac2f32a (diff)
parent9586d1ddb0e8c47a4983aff77bdc71333617bb7e (diff)
downloadexternal_webkit-e991ae38e756dc1efe730946f95747e42e5a920a.zip
external_webkit-e991ae38e756dc1efe730946f95747e42e5a920a.tar.gz
external_webkit-e991ae38e756dc1efe730946f95747e42e5a920a.tar.bz2
Merge "Add YUV shader for plugin video playback." into honeycomb
Diffstat (limited to 'WebCore/platform/graphics/android/MediaTexture.cpp')
-rw-r--r--WebCore/platform/graphics/android/MediaTexture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/MediaTexture.cpp b/WebCore/platform/graphics/android/MediaTexture.cpp
index 71a4a0e..22fabc3 100644
--- a/WebCore/platform/graphics/android/MediaTexture.cpp
+++ b/WebCore/platform/graphics/android/MediaTexture.cpp
@@ -16,6 +16,7 @@
#include "config.h"
#include "MediaTexture.h"
#include "TilesManager.h"
+#include "GLUtils.h"
#if USE(ACCELERATED_COMPOSITING)
@@ -85,7 +86,7 @@ void VideoTexture::drawVideo(TransformationMatrix matrix)
return;
m_surfaceTexture->updateTexImage();
- TilesManager::instance()->shader()->drawLayerQuad(matrix, m_dimensions, m_textureId, 1.0f);
+ TilesManager::instance()->shader()->drawVideoLayerQuad(matrix, m_dimensions, m_textureId);
}
ANativeWindow* VideoTexture::requestNewWindow()