mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1041157 - Add link to the discussion about using the same context with multiple canvases, for the replayAnimationFrame function in canvas.js, r=past
This commit is contained in:
parent
03114230a0
commit
a9a0c9ee2b
@ -564,8 +564,11 @@ let ContextUtils = {
|
||||
* the respective canvas, and the rendering will be performed into it.
|
||||
* This is necessary because some state (like shaders, textures etc.) can't
|
||||
* be shared between two different WebGL contexts.
|
||||
* Hopefully, once SharedResources are a thing this won't be necessary:
|
||||
* http://www.khronos.org/webgl/wiki/SharedResouces
|
||||
* - Hopefully, once SharedResources are a thing this won't be necessary:
|
||||
* http://www.khronos.org/webgl/wiki/SharedResouces
|
||||
* - Alternatively, we could pursue the idea of using the same context
|
||||
* for multiple canvases, instead of trying to share resources:
|
||||
* https://www.khronos.org/webgl/public-mailing-list/archives/1210/msg00058.html
|
||||
*
|
||||
* In case of a 2D context, a new canvas is created, since there's no
|
||||
* intrinsic state that can't be easily duplicated.
|
||||
|
Loading…
Reference in New Issue
Block a user