Changeset 139034 in webkit


Ignore:
Timestamp:
Jan 7, 2013 11:07:02 PM (11 years ago)
Author:
Christophe Dumez
Message:

[CoordinatedGraphics] compositing/repaint/resize-repaint.html is failing
https://bugs.webkit.org/show_bug.cgi?id=104637

Reviewed by Noam Rosenthal.

Source/WebKit2:

r137526 attempted to fix excessive repainting when compositing layers
change size. However, the fix did not suffice for ports using Coordinated
Graphics because CoordinatedGraphicsLayer::setSize() was calling
setNeedsDisplay() causing a full repaint.

This patch removes the call to setNeedsDisplay() in
CoordinatedGraphicsLayer::setSize() so that we don't unconditionally
repaint CoordinatedGraphics layers when their size changes.

  • WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:

(WebCore::CoordinatedGraphicsLayer::setSize):

LayoutTests:

Unskip compositing/repaint/resize-repaint.html now that Coordinated
Graphics is no longer repainting unconditionally compositing layers
when their size changes.

  • platform/efl-wk2/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r139031 r139034  
     12013-01-07  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [CoordinatedGraphics] compositing/repaint/resize-repaint.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=104637
     5
     6        Reviewed by Noam Rosenthal.
     7
     8        Unskip compositing/repaint/resize-repaint.html now that Coordinated
     9        Graphics is no longer repainting unconditionally compositing layers
     10        when their size changes.
     11
     12        * platform/efl-wk2/TestExpectations:
     13
    1142013-01-07  Christophe Dumez  <christophe.dumez@intel.com>
    215
  • trunk/LayoutTests/platform/efl-wk2/TestExpectations

    r139031 r139034  
    369369Bug(EFL) svg/transforms/transformed-text-fill-pattern.html [ ImageOnlyFailure ]
    370370
    371 # New compositing test introduced in r137215 that is failing on WK2 EFL.
    372 webkit.org/b/104637 compositing/repaint/resize-repaint.html [ Failure ]
    373 
    374371webkit.org/b/104656 compositing/repaint/clipped-layer-size-change.html [ ImageOnlyFailure Pass ]
    375372
  • trunk/Source/WebKit2/ChangeLog

    r139031 r139034  
     12013-01-07  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [CoordinatedGraphics] compositing/repaint/resize-repaint.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=104637
     5
     6        Reviewed by Noam Rosenthal.
     7
     8        r137526 attempted to fix excessive repainting when compositing layers
     9        change size. However, the fix did not suffice for ports using Coordinated
     10        Graphics because CoordinatedGraphicsLayer::setSize() was calling
     11        setNeedsDisplay() causing a full repaint.
     12
     13        This patch removes the call to setNeedsDisplay() in
     14        CoordinatedGraphicsLayer::setSize() so that we don't unconditionally
     15        repaint CoordinatedGraphics layers when their size changes.
     16
     17        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
     18        (WebCore::CoordinatedGraphicsLayer::setSize):
     19
    1202013-01-07  Christophe Dumez  <christophe.dumez@intel.com>
    221
  • trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp

    r139031 r139034  
    215215
    216216    GraphicsLayer::setSize(size);
    217     setNeedsDisplay();
     217
    218218    if (maskLayer())
    219219        maskLayer()->setSize(size);
Note: See TracChangeset for help on using the changeset viewer.