Bug 133059 - Simplify RenderLayerCompositor::updateCompositingDescendantGeometry()
Summary: Simplify RenderLayerCompositor::updateCompositingDescendantGeometry()
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 21:33 PDT by Simon Fraser (smfr)
Modified: 2014-05-18 21:33 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2014-05-18 21:33:12 PDT
RenderLayer::updateLayerPositions(), which is called on every layer after layout, does backing()->updateAfterLayout() which can call compositor().updateCompositingDescendantGeometry().

This is a potentially O(^2) (but I don't think it ever gets this bad because the tee walk is truncated in various ways). I think it might better to just do a RenderLayerCompositor::updateLayerTreeGeometry() after layout if !compositingLayersNeedRebuild().