From 6ca0f0452f06325e4abd3acca40a0a2f13fb644c Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Fri, 17 Dec 2010 13:44:51 -0500 Subject: Add initial support for OpenGL plugins. bug: 2907737 Change-Id: I6f4f21146c834554db5ecb67fed8994f1cdc2cfe --- WebCore/platform/graphics/android/LayerAndroid.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (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 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 #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) { -- cgit v1.1