You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebGL has events for loss and restoration of a context and creation failure error. However, there's a problem with them: sometimes they're not very helpful.
For instance, webglcontextlost event. Since it doesn't give the reason why we've lost the context, it's not clear what to do: show our user an error message or wait for restore event. I actually tried to log statusMessage property of event objects and it was empty.
It'd be good to have better specified context events.
Activity
kainino0x commentedon Jan 17, 2019
Assigning myself since I did the error handling doc.
I agree that we should do this. Maybe we can split the device-lost into device-lost-recoverable and device-lost-unrecoverable or something.