[Webkit-unassigned] [Bug 71517] New: RenderLayer::styleChanged invalidates the GraphicsLayer needlessly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 3 16:18:29 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=71517

           Summary: RenderLayer::styleChanged invalidates the
                    GraphicsLayer needlessly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org
                CC: simon.fraser at apple.com, jamesr at chromium.org


Currently we invalidate the whole GraphicsLayer with:

void RenderLayer::styleChanged(StyleDifference diff, const RenderStyle* oldStyle)
    ...
    if (m_backing && diff >= StyleDifferenceRepaint)
        m_backing->setContentsNeedDisplay();

This does not seem to take into account that the repainting logic will invalidate the needed part of the layer.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list