这是indexloc提供的服务,不要输入任何密码
Skip to content

Better specified context events #11

@dmikis

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.

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