Bug 1690621 Comment 3 Edit History

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

The problem seems to happen because DidComposite is notified to all clients that was notified by [RendererOGL::FlushPipelineInfo()](https://searchfox.org/mozilla-central/rev/d504494eab038fd1bbc82eb4191bb334b4de2c8d/gfx/webrender_bindings/RendererOGL.cpp#404).

- https://searchfox.org/mozilla-central/rev/d504494eab038fd1bbc82eb4191bb334b4de2c8d/gfx/webrender_bindings/RenderThread.cpp#431

It seems that [CompositorBridgeParent::NotifyPipelineRendered()](https://searchfox.org/mozilla-central/rev/d504494eab038fd1bbc82eb4191bb334b4de2c8d/gfx/layers/wr/WebRenderBridgeParent.cpp#2280) need to send DidComposite to client only when it is necessary.
The problem seems to happen because DidComposite is notified to all clients that was notified by [RendererOGL::FlushPipelineInfo()](https://searchfox.org/mozilla-central/rev/d504494eab038fd1bbc82eb4191bb334b4de2c8d/gfx/webrender_bindings/RendererOGL.cpp#404).

- https://searchfox.org/mozilla-central/rev/d504494eab038fd1bbc82eb4191bb334b4de2c8d/gfx/webrender_bindings/RenderThread.cpp#431

It seems that [CompositorBridgeParent::NotifyPipelineRendered()](https://searchfox.org/mozilla-central/rev/d504494eab038fd1bbc82eb4191bb334b4de2c8d/gfx/layers/ipc/CompositorBridgeParent.cpp#2245) need to send DidComposite to client only when it is necessary.

Back to Bug 1690621 Comment 3