[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Public WebGL] Context loss events and multi canvas rendering
I just noticed that the context loss events are registered on the canvas rather than the context.
The newly proposed functionality of canvas independent contexts would make it awkward to handle context losses (you will have to register the event on every conceivable canvas and check that you don't double handle it).
Would it be appropriate to extend the WebGLContext object with an event handling mechanism so it can be handled per context?