[Webkit-unassigned] [Bug 66901] New: Enable RenderLayer::updateLayerPosition's cachedOffset optimization for more cases
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 24 15:20:29 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66901
Summary: Enable RenderLayer::updateLayerPosition's cachedOffset
optimization for more cases
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: hyatt at apple.com, simon.fraser at apple.com,
jamesr at chromium.org
Currently cachedOffset is only setup when doing a layout of the whole tree (see FrameView::layout()). However RenderLayer::updateLayerPositions has multiple call sites which could benefit from the optimization. Among them is a layout of a subtree inside FrameView::layout.
This is a trade-off as not hitting the cache later means that we have wasted a traversal to the root of the tree. However discussing this with James, it seems OK to go this route and on average should be at least a wash.
--
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