Changeset 139031 in webkit
- Timestamp:
- Jan 7, 2013 10:03:20 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139029 r139031 1 2013-01-07 Christophe Dumez <christophe.dumez@intel.com> 2 3 [CoordinatedGraphics] Support invalidation tracking for CoordinatedGraphicsLayer 4 https://bugs.webkit.org/show_bug.cgi?id=106002 5 6 Reviewed by Noam Rosenthal. 7 8 Unskip several tests that require invalidation tracking for EFL WK2 now that 9 it is supported by Coordinated Graphics. 10 11 * platform/efl-wk2/TestExpectations: 12 * platform/efl/TestExpectations: 13 * platform/efl/compositing/repaint/invalidations-on-composited-layers-expected.txt: Added. 14 Use same expectation as mac port. 15 * platform/efl/fast/images/repaint-subrect-grid-expected.txt: Added. We are sometimes 16 1 pixel off compared to the global expectation likely due to lack for subpixel layout 17 support. 18 1 19 2013-01-07 Hajime Morrita <morrita@google.com> 2 20 -
trunk/LayoutTests/platform/efl-wk2/TestExpectations
r138935 r139031 318 318 webkit.org/b/98345 fast/parser/document-open-in-unload.html [ Skip ] 319 319 320 # Requires TestRunner displayInvalidatedRegion() support.321 webkit.org/b/98523 fast/images/repaint-subrect-grid.html [ Failure ]322 323 320 # NPP_SetWindow is not called with proper size for the first time. 324 321 webkit.org/b/98746 plugins/netscape-plugin-setwindow-size-2.html [ Failure ] -
trunk/LayoutTests/platform/efl/TestExpectations
r138939 r139031 142 142 fast/repaint/inline-relative-positioned.html 143 143 fast/repaint/overflow-flipped-writing-mode-block.html 144 fast/repaint/overflow-flipped-writing-mode-table.html145 144 fast/repaint/text-in-relative-positioned-inline.html 146 145 fast/repaint/trailing-floats-root-line-box-overflow.html … … 1617 1616 Bug(EFL) compositing/bounds-in-flipped-writing-mode.html [ Failure ] 1618 1617 Bug(EFL) compositing/iframes/leave-compositing-iframe.html [ Failure ] 1619 Bug(EFL) compositing/repaint/invalidations-on-composited-layers.html [ Failure ]1620 1618 Bug(EFL) compositing/visibility/visibility-composited.html [ Failure ] 1621 1619 Bug(EFL) editing/selection/caret-rtl.html [ Failure Pass ] -
trunk/Source/WebKit2/ChangeLog
r139023 r139031 1 2013-01-07 Christophe Dumez <christophe.dumez@intel.com> 2 3 [CoordinatedGraphics] Support invalidation tracking for CoordinatedGraphicsLayer 4 https://bugs.webkit.org/show_bug.cgi?id=106002 5 6 Reviewed by Noam Rosenthal. 7 8 Add calls to addRepaintRect() to CoordinatedGraphicsLayer so that 9 we can track invalidation in the composited layer. 10 11 * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp: 12 (WebCore::CoordinatedGraphicsLayer::setContentsNeedsDisplay): 13 (WebCore::CoordinatedGraphicsLayer::setNeedsDisplay): Pass a FloatRect instead 14 of an IntRect to setNeedsDisplayInRect() since it is what it expects. 15 (WebCore::CoordinatedGraphicsLayer::setNeedsDisplayInRect): 16 1 17 2013-01-07 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp
r138234 r139031 319 319 if (client()) 320 320 client()->notifyFlushRequired(this); 321 322 addRepaintRect(contentsRect()); 321 323 } 322 324 … … 430 432 void CoordinatedGraphicsLayer::setNeedsDisplay() 431 433 { 432 setNeedsDisplayInRect( IntRect(IntPoint::zero(), IntSize(size().width(), size().height())));434 setNeedsDisplayInRect(FloatRect(FloatPoint(), size())); 433 435 } 434 436 … … 437 439 if (m_mainBackingStore) 438 440 m_mainBackingStore->invalidate(IntRect(rect)); 439 didChangeLayerState(); 441 442 didChangeLayerState(); 443 444 addRepaintRect(rect); 440 445 } 441 446
Note: See TracChangeset
for help on using the changeset viewer.