Skip to content

Better specified context events #11

Closed

Description

@dmikis

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

  1. self-assigned this
    on Jan 17, 2019
  2. kainino0x commented on Jan 17, 2019

    @kainino0x
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions