diff options
author | Derek Sollenberger <djsollen@google.com> | 2010-12-17 13:44:51 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2010-12-20 08:21:42 -0500 |
commit | 6ca0f0452f06325e4abd3acca40a0a2f13fb644c (patch) | |
tree | 26831dc6154fdcb44181b40e27790f03e02e96b9 /WebCore/platform/graphics/android/LayerAndroid.cpp | |
parent | ab1ac7bfdac5723904e94d61f42e9c2d9f15fdb4 (diff) | |
download | external_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.cpp | 7 |
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) { |