From bd3f93b66934582acd0b6c70bcf60ca643b36ead Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 10 May 2012 13:45:37 -0700 Subject: dirty all tiles when entering/exiting single surface mode bug:6471089 Change-Id: I609a75d028ec9fa7b26be90d38b116a9766c4f21 --- Source/WebCore/platform/graphics/android/rendering/Tile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/WebCore/platform/graphics/android/rendering/Tile.h') diff --git a/Source/WebCore/platform/graphics/android/rendering/Tile.h b/Source/WebCore/platform/graphics/android/rendering/Tile.h index 9697b61..4c8052c 100644 --- a/Source/WebCore/platform/graphics/android/rendering/Tile.h +++ b/Source/WebCore/platform/graphics/android/rendering/Tile.h @@ -114,6 +114,7 @@ public: SkRect& realTileRect); bool isTileVisible(const IntRect& viewTileBounds); + void markAsDirty(); void markAsDirty(const SkRegion& dirtyArea); bool isDirty(); const SkRegion& dirtyArea() { return m_dirtyArea; } @@ -140,6 +141,7 @@ public: virtual bool removeTexture(TileTexture* texture); private: + void markAsDirtyInternal(); void validatePaint(); int m_x; -- cgit v1.1