Bug 1869931 Comment 1 Edit History

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

If we want the synchronization of WebGPU, there are the followings
* [1] Use sync IPC with first rendering like WebGPU [ClientWebGLContext::GetFrontBuffer()](https://searchfox.org/mozilla-central/rev/655f49c541108e3d0a232aa7173fbcb9af88d80b/dom/canvas/ClientWebGLContext.cpp#583)
* [2] Use wait for first rendering in RemoteTextureMap::GetRemoteTextureForDisplayList() that is going to be added by [D194352](https://phabricator.services.mozilla.com/D194352) of  Bug 1829026.
* [3] async wait at [WebRenderAPI::HandleWrTransactionEvents()](https://searchfox.org/mozilla-central/rev/655f49c541108e3d0a232aa7173fbcb9af88d80b/gfx/webrender_bindings/WebRenderAPI.cpp#556) without sync IPC. It is going to be added at  Bug 1863257.

[3] is ideal way to address the problem.
If we want the synchronization of WebGPU, there are the followings
* [1] Use sync IPC with first rendering like WebGPU [ClientWebGLContext::GetFrontBuffer()](https://searchfox.org/mozilla-central/rev/655f49c541108e3d0a232aa7173fbcb9af88d80b/dom/canvas/ClientWebGLContext.cpp#583)
* [2] Use wait for first rendering in RemoteTextureMap::GetRemoteTextureForDisplayList() that is going to be added by [D194352](https://phabricator.services.mozilla.com/D194352) of  Bug 1829026.
* [3] async wait at [WebRenderAPI::HandleWrTransactionEvents()](https://searchfox.org/mozilla-central/rev/655f49c541108e3d0a232aa7173fbcb9af88d80b/gfx/webrender_bindings/WebRenderAPI.cpp#556) without sync IPC of [1]. It is going to be added at  Bug 1863257.

[3] is ideal way to address the problem.

Back to Bug 1869931 Comment 1