[Webkit-unassigned] [Bug 86792] New: Possibly redundant calls to convertToLayerCoords() in layer painting
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 17 18:00:54 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86792
Summary: Possibly redundant calls to convertToLayerCoords() in
layer painting
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: mitz at webkit.org, jchaffraix at webkit.org,
enne at google.com, timothy_horton at apple.com
We noticed that convertToLayerCoords() was taking some time in some rendering tests. It's bad to call this during painting (because it walks all the way up to the root, so O(N^2)), yet we do so in a least two places when painting layers:
* RenderLayer::paintLayerContents() calls calculateRects() which calls convertToLayerCoords() to compute layerBounds
* intersectsDamageRect() calls boundingBox() which uses convertToLayerCoords()
* performOverlapTests() calls boundingBox() which uses convertToLayerCoords()
There may be more.
--
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