Bug 1612443 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

WebRender currently allows too much pipelining (see bug 1487864). Submitting draw calls on the same thread as frame building would have a number of benefits:

- remove some of this pipelining that is causing more harm than good,
- remove the latency between the time the renderer is notified and the time it wakes up (the event loop code isn't very efficient),
- allow us to submit drawing commands and uploads earlier in the frame.

To do this we need to be confident that frame-building and rendering are fast enough that the sum of the two always fits in the frame budget.

Instead of having a render backend thread, the render backend would move to the renderer thread (we currently have one renderer thread per window).
WebRender currently allows too much pipelining (see bug 1487864). Submitting draw calls on the same thread as frame building would have a number of benefits:

- remove some of this pipelining that is causing more harm than good,
- remove the latency between the time the renderer is notified and the time it wakes up (the event loop code isn't very efficient),
- allow us to submit drawing commands and uploads earlier in the frame.

To do this we need to be confident that frame-building and rendering are fast enough that the sum of the two always fits in the frame budget.

Instead of having a render backend thread, the render backend would move to the renderer thread (we currently have one render backend thread per window).

Back to Bug 1612443 Comment 0