Open
Bug 1681294
Opened 4 years ago
Updated 3 years ago
WebRender is lost when new window creation races with device reset handling
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
ASSIGNED
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 1 open bug)
Details
Due to:
We have a race condition where device reset handling might not complete before a new window is created. This happens in the wild. As a result, the window creation fails, and we disable WebRender.
We don't clear the flag until the last RenderCompositor is destroyed:
This also blocks us recreating the SharedGL context, presumably because we don't want to destroy it until all of the RenderCompositors depending on it are destroyed:
We should handle this race condition. We also need to ensure the SharedGL clearing is available on other platforms as well -- both Linux/Wayland and Android use a shared EGL context, although at the moment, we don't have robustness enabled on either of those configuration.
You need to log in
before you can comment on or make changes to this bug.
Description
•