summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/LayerAndroid.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2010-12-17 13:44:51 -0500
committerDerek Sollenberger <djsollen@google.com>2010-12-20 08:21:42 -0500
commit6ca0f0452f06325e4abd3acca40a0a2f13fb644c (patch)
tree26831dc6154fdcb44181b40e27790f03e02e96b9 /WebCore/platform/graphics/android/LayerAndroid.cpp
parentab1ac7bfdac5723904e94d61f42e9c2d9f15fdb4 (diff)
downloadexternal_webkit-6ca0f0452f06325e4abd3acca40a0a2f13fb644c.zip
external_webkit-6ca0f0452f06325e4abd3acca40a0a2f13fb644c.tar.gz
external_webkit-6ca0f0452f06325e4abd3acca40a0a2f13fb644c.tar.bz2
Add initial support for OpenGL plugins.
bug: 2907737 Change-Id: I6f4f21146c834554db5ecb67fed8994f1cdc2cfe
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.cpp')
-rw-r--r--WebCore/platform/graphics/android/LayerAndroid.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp
index 69822b5..b62575f 100644
--- a/WebCore/platform/graphics/android/LayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/LayerAndroid.cpp
@@ -14,6 +14,7 @@
#include "SkPaint.h"
#include "SkPicture.h"
#include "TilesManager.h"
+#include "MediaLayer.h"
#include <wtf/CurrentTime.h>
#define LAYER_DEBUG // Add diagonals for debugging
@@ -619,6 +620,12 @@ bool LayerAndroid::drawGL(SkMatrix& matrix)
m_texture->consumerRelease();
}
+ return drawChildrenGL(matrix);
+}
+
+
+bool LayerAndroid::drawChildrenGL(SkMatrix& matrix)
+{
bool askPaint = false;
int count = this->countChildren();
if (count > 0) {