Changeset 111735 in webkit
- Timestamp:
- Mar 22, 2012 11:32:49 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r111732 r111735 1 2012-03-22 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 TiledBackingStore: Fix test regressions that appeared with r111560. 4 https://bugs.webkit.org/show_bug.cgi?id=81519 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 * platform/qt-5.0-wk2/Skipped: 9 1 10 2012-03-22 Dan Bernstein <mitz@apple.com> 2 11 -
trunk/LayoutTests/platform/qt-5.0-wk2/Skipped
r111711 r111735 531 531 compositing/geometry/tall-page-composited.html 532 532 533 # REGRESSION(r111560): compositing/geometry/preserve-3d-switching.html timeout.534 # https://bugs.webkit.org/show_bug.cgi?id=81519535 compositing/geometry/preserve-3d-switching.html536 # REGRESSION(r111560): The following tests are crashing.537 # https://bugs.webkit.org/show_bug.cgi?id=81519538 compositing/geometry/layer-due-to-layer-children.html539 compositing/geometry/repaint-foreground-layer.html540 541 533 # Boxes are not showing the correct perspective. 542 534 transforms/3d/general/perspective-units.html -
trunk/Source/WebCore/ChangeLog
r111733 r111735 1 2012-03-22 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 TiledBackingStore: Fix test regressions that appeared with r111560. 4 https://bugs.webkit.org/show_bug.cgi?id=81519 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 The visible rect wasn't intersected with the contents rect anymore which 9 could lead to an astronomical layer size to check for intersecting tiles. 10 11 Add a visibleContentsRect that doesn't do the conversion and use it 12 in visibleAreaIsCovered. 13 14 * platform/graphics/TiledBackingStore.cpp: 15 (WebCore::TiledBackingStore::visibleContentsRect): 16 (WebCore): 17 (WebCore::TiledBackingStore::visibleRect): 18 (WebCore::TiledBackingStore::visibleAreaIsCovered): 19 * platform/graphics/TiledBackingStore.h: 20 (TiledBackingStore): 21 1 22 2012-03-22 Joe Thomas <joethomas@motorola.com> 2 23 -
trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp
r111561 r111735 167 167 } 168 168 169 IntRect TiledBackingStore::visibleContentsRect() const 170 { 171 return intersection(m_client->tiledBackingStoreVisibleRect(), m_client->tiledBackingStoreContentsRect()); 172 } 173 169 174 IntRect TiledBackingStore::visibleRect() const 170 175 { 171 return mapFromContents( intersection(m_client->tiledBackingStoreVisibleRect(), m_client->tiledBackingStoreContentsRect()));176 return mapFromContents(visibleContentsRect()); 172 177 } 173 178 … … 228 233 bool TiledBackingStore::visibleAreaIsCovered() const 229 234 { 230 return coverageRatio( m_client->tiledBackingStoreVisibleRect()) == 1.0f;235 return coverageRatio(visibleContentsRect()) == 1.0f; 231 236 } 232 237 -
trunk/Source/WebCore/platform/graphics/TiledBackingStore.h
r109914 r111735 101 101 void removeTile(const Tile::Coordinate& coordinate); 102 102 103 IntRect visibleContentsRect() const; 103 104 IntRect visibleRect() const; 104 105
Note: See TracChangeset
for help on using the changeset viewer.