Bug 201018 - Migrate from m_layoutTimer to scheduled rendering updates
Summary: Migrate from m_layoutTimer to scheduled rendering updates
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 202843
  Show dependency treegraph
 
Reported: 2019-08-21 18:41 PDT by Simon Fraser (smfr)
Modified: 2019-10-11 01:31 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2019-08-21 18:41:43 PDT
Now that we have the rendering update mechanism (RenderingUpdateScheduler), we should remove m_layoutTimer and just call scheduleRenderingUpdate().

I see extra layouts in traces from the layout timer, which never make it to the screen because something else dirties layout before the next update.
Comment 1 zalan 2019-08-21 18:49:29 PDT
(In reply to Simon Fraser (smfr) from comment #0)
> Now that we have the rendering update mechanism (RenderingUpdateScheduler),
> we should remove m_layoutTimer and just call scheduleRenderingUpdate().
> 
> I see extra layouts in traces from the layout timer, which never make it to
> the screen because something else dirties layout before the next update.
This is great! (though having multiple layouts within the same update does not necessarily mean redundant work.)