diff options
Diffstat (limited to 'WebCore/platform/graphics/android/GLWebViewState.h')
-rw-r--r-- | WebCore/platform/graphics/android/GLWebViewState.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/GLWebViewState.h b/WebCore/platform/graphics/android/GLWebViewState.h index e3b33f2..854d8cc 100644 --- a/WebCore/platform/graphics/android/GLWebViewState.h +++ b/WebCore/platform/graphics/android/GLWebViewState.h @@ -213,7 +213,7 @@ public: return false; } - bool drawGL(IntRect& rect, SkRect& viewport, + bool drawGL(IntRect& rect, SkRect& viewport, IntRect* invalRect, float scale, SkColor color = SK_ColorWHITE); void setBackgroundColor(SkColor color) { m_backgroundColor = color; } @@ -223,6 +223,10 @@ public: void dumpMeasures(); #endif + void resetFrameworkInval(); + void addDirtyArea(const IntRect& rect); + void resetLayersDirtyArea(); + private: void inval(const IntRect& rect); // caller must hold m_baseLayerLock void invalRegion(const SkRegion& region); @@ -259,6 +263,8 @@ private: TiledPage* m_tiledPageA; TiledPage* m_tiledPageB; IntRect m_lastInval; + IntRect m_frameworkInval; + IntRect m_frameworkLayersInval; android::Mutex* m_globalButtonMutex; bool m_baseLayerUpdate; |