mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
33159b53db
It is a preparation for Bug 1804233. From bug 1776885 comment 6, we need to defer WebRender rendering on render thread if remote texture is not ready. To do it, ResultMsg messages handling needs to be controlled. By adding the followings, ResultMsg messages handling could be controlled by RenderThread. - FramePublishId to new_frame_ready() - Renderer::set_target_frame_publish_id() new_frame_ready() has frame_publish_id. The publish_id could be set to Renderer::set_target_frame_publish_id(). Then Renderer::update() defers processing of ResultMsg, if frame_publish_id of ResultMsg::PublishDocument exceeds target_frame_publish_id. Differential Revision: https://phabricator.services.mozilla.com/D173512 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |