RESOLVED FIXED 237952
WebGL context lost event is not sent again for contexts that are lost and restored
https://bugs.webkit.org/show_bug.cgi?id=237952
Summary WebGL context lost event is not sent again for contexts that are lost and res...
Kimmo Kinnunen
Reported 2022-03-16 03:42:32 PDT
WebGL context lost event is not sent again for contexts that are lost and restored The restored contexts do not set the GraphicsContextGL::Client
Attachments
Patch (25.93 KB, patch)
2022-03-16 05:09 PDT, Kimmo Kinnunen
no flags
Patch (25.71 KB, patch)
2022-03-16 05:11 PDT, Kimmo Kinnunen
no flags
For landing (25.86 KB, patch)
2022-03-16 05:35 PDT, Kimmo Kinnunen
no flags
Kimmo Kinnunen
Comment 1 2022-03-16 05:09:47 PDT
Kimmo Kinnunen
Comment 2 2022-03-16 05:11:32 PDT
Kimmo Kinnunen
Comment 3 2022-03-16 05:35:05 PDT
Created attachment 454828 [details] For landing
Antti Koivisto
Comment 4 2022-03-16 05:35:36 PDT
Comment on attachment 454824 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=454824&action=review > Source/WebCore/platform/graphics/GraphicsContextGL.h:1050 > + void setClient(Client* client) { m_client = client; } This could assert that m_client is null.
Antti Koivisto
Comment 5 2022-03-16 05:36:28 PDT
...or that either m_client or client is null.
EWS
Comment 6 2022-03-17 03:08:28 PDT
Committed r291399 (248529@main): <https://commits.webkit.org/248529@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454828 [details].
Radar WebKit Bug Importer
Comment 7 2022-03-17 03:09:16 PDT
Note You need to log in before you can comment on or make changes to this bug.