diff options
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.h')
-rw-r--r-- | WebCore/platform/graphics/android/LayerAndroid.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.h b/WebCore/platform/graphics/android/LayerAndroid.h index 3e00bfa..98a0a15 100644 --- a/WebCore/platform/graphics/android/LayerAndroid.h +++ b/WebCore/platform/graphics/android/LayerAndroid.h @@ -128,8 +128,8 @@ public: void setScale(float scale); float getScale() { return m_scale; } - virtual bool drawGL(SkMatrix&); - bool drawChildrenGL(SkMatrix&); + virtual bool drawGL(GLWebViewState*, SkMatrix&); + bool drawChildrenGL(GLWebViewState*, SkMatrix&); virtual void paintBitmapGL(); void updateGLPositions(const TransformationMatrix& parentMatrix, const FloatRect& clip, float opacity); @@ -182,9 +182,10 @@ public: void addAnimation(PassRefPtr<AndroidAnimation> anim); void removeAnimationsForProperty(AnimatedPropertyID property); void removeAnimationsForKeyframes(const String& name); - bool evaluateAnimations() const; - bool evaluateAnimations(double time) const; + bool evaluateAnimations(); + bool evaluateAnimations(double time); bool hasAnimations() const; + void addDirtyArea(GLWebViewState*); SkPicture* picture() const { return m_recordingPicture; } @@ -325,6 +326,9 @@ private: bool m_dirty; unsigned int m_pictureUsed; + // used to signal the framework we need a repaint + bool m_hasRunningAnimations; + // painting request sent bool m_requestSent; |