From: JungJik Lee Date: Mon, 1 Apr 2013 04:59:12 +0000 (+0900) Subject: [WK2] Recover a loss of dirty region. X-Git-Tag: 2.1_release~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9223ae576ffe543c954e048c325d0dd6cf62a5a1;p=platform%2Fframework%2Fweb%2Fwebkit-efl.git [WK2] Recover a loss of dirty region. [Title] [WK2] Recover a loss of dirty region. [Issue#] N_SE-26405 [Problem] TBS can not update the tile due to a loss of dirty region. [Cause] intersecting dirty region with keepRect can cause the loss of dirty resion. [Solution] Remove intersect code and invalidate all dirties. --- diff --git a/Source/WebCore/platform/graphics/TiledBackingStore.cpp b/Source/WebCore/platform/graphics/TiledBackingStore.cpp index 9dd6cb9..1a7e9c9 100755 --- a/Source/WebCore/platform/graphics/TiledBackingStore.cpp +++ b/Source/WebCore/platform/graphics/TiledBackingStore.cpp @@ -107,10 +107,8 @@ void TiledBackingStore::invalidate(const IntRect& contentsDirtyRect) { IntRect dirtyRect(mapFromContents(contentsDirtyRect)); - // Only iterate on the part of the rect that we know we might have tiles. - IntRect coveredDirtyRect = intersection(dirtyRect, m_keepRect); - Tile::Coordinate topLeft = tileCoordinateForPoint(coveredDirtyRect.location()); - Tile::Coordinate bottomRight = tileCoordinateForPoint(innerBottomRight(coveredDirtyRect)); + Tile::Coordinate topLeft = tileCoordinateForPoint(dirtyRect.location()); + Tile::Coordinate bottomRight = tileCoordinateForPoint(innerBottomRight(dirtyRect)); for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {