[Webkit-unassigned] [Bug 119551] New: Every scroll causes additional layer tree work because of flatteningLayer->removeFromParent();

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 7 10:44:08 PDT 2013


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

           Summary: Every scroll causes additional layer tree work because
                    of flatteningLayer->removeFromParent();
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: dino at apple.com


Whenever we update layer geometry on a layer with a tile cache flattening layer, we hit:

    if (GraphicsLayer* flatteningLayer = tileCacheFlatteningLayer()) {
        flatteningLayer->removeFromParent();
        m_graphicsLayer->addChild(flatteningLayer);
    }

which is normally a no-op, but does cause us to push a new sublayers array down to CA. We should avoid this.

-- 
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