summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/LayerAndroid.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.h')
-rw-r--r--WebCore/platform/graphics/android/LayerAndroid.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.h b/WebCore/platform/graphics/android/LayerAndroid.h
index 3d1c5af..fb6c4c7 100644
--- a/WebCore/platform/graphics/android/LayerAndroid.h
+++ b/WebCore/platform/graphics/android/LayerAndroid.h
@@ -112,8 +112,9 @@ public:
bool needsTexture();
void checkForObsolescence();
- bool drawGL(SkMatrix&);
- void paintBitmapGL();
+ virtual bool drawGL(SkMatrix&);
+ bool drawChildrenGL(SkMatrix&);
+ virtual void paintBitmapGL();
void updateGLPositions(const TransformationMatrix& parentMatrix, float opacity);
void setDrawOpacity(float opacity) { m_drawOpacity = opacity; }
@@ -223,6 +224,8 @@ public:
unsigned int pictureUsed() { return m_pictureUsed; }
void contentDraw(SkCanvas*);
+ virtual bool isMedia() const { return false; }
+
protected:
virtual void onDraw(SkCanvas*, SkScalar opacity);