Wait for all pending frames to be resolved

This commit is contained in:
Martin Robinson 2025-09-26 21:16:01 +02:00
parent 6dd4df9852
commit 1555d4f50a
3 changed files with 41 additions and 28 deletions

View file

@ -93,7 +93,7 @@ pub enum CompositorMsg {
/// WebRender has produced a new frame. This message informs the compositor that
/// the frame is ready. It contains a bool to indicate if it needs to composite and the
/// `DocumentId` of the new frame.
NewWebRenderFrameReady(DocumentId, u64, bool),
NewWebRenderFrameReady(DocumentId, bool),
/// Script or the Constellation is notifying the renderer that a Pipeline has finished
/// shutting down. The renderer will not discard the Pipeline until both report that
/// they have fully shut it down, to avoid recreating it due to any subsequent