[Webkit-unassigned] [Bug 84393] Avoid calling updateCompositingLayers() more than once before each render

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 09:50:30 PDT 2015


--- Comment #16 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
(In reply to comment #15)
> So we need an in-WebKit data structure for tracking repaints

We have this already (we accumulate dirty rects in GraphicsLayers). The problems are:
1. we dirty during layout, and dirtying assumes that you can find the relevant repaintContainer (which is a compositing layer) and compute a dirty rect relative to it.
2. RenderLayers cache repaint rects, which will also go stale if their repaint container changes because of compositing updates.

So we need a data structure that hangs off the render tree that tracks repaints, and can track them sensibly across multiple layouts, in a compositing-independent way.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150415/2ce0de0d/attachment.html>

More information about the webkit-unassigned mailing list