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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 19 17:30:56 PDT 2012


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


James Robinson <jamesr at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nduca at chromium.org




--- Comment #2 from James Robinson <jamesr at chromium.org>  2012-04-19 17:30:56 PST ---
One difficulty design-wise is that currently WebCore doesn't generally know if it's doing layout because the host wants to make a frame or if it's doing layout for some other reason (like JS wanted it to or the host wants it to do layout to query some values).  If we knew that in FrameView::layout then we could only update the compositing tree when it was a layout-because-it's-make-a-frame-time.

We could use the rAF mechanism since it's (hopefully) tied in to the host's "I want to make a frame now" scheduling mechanism.

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