[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] using the same context with multiple canvases
What does the proxy object add?
One idea webgl has discussed is that you could transfer a context and it would get transfered by ownership, same as ArrayBuffer does now. The old context object in the passer would enter the "contextlost" state. This would let you just transfer the context directly. Mozilla has pointed out that 2D canvas now also needs contextlost support because of GPU acceleration so adding that to canvas 2D would let it use the same solution. No need for a proxy