Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new 'OffscreenCanvas' to enable WebGL processing in a webworker #36

Closed
GordoRank opened this issue Jan 28, 2016 · 1 comment
Closed
Labels

Comments

@GordoRank
Copy link

It should be extremely trivial to make use of the new "OffscreenCanvas" feature to allow the webGL resizing to happen in a webworker.

Combining WebGL and webworkers in this manner would enable maximum speed, flexibility and responsiveness. It can currently tested by turning on the "about:config" flag "gfx.offscreencanvas.enabled" in Firefox or Firefox Nightly.

Further information can be found here:

https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas

With a lot more detail here:

https://hacks.mozilla.org/2016/01/webgl-off-the-main-thread/

Firefox has a completed implementation, behind an experimental flag, Chrome has it in development and MS is soon to start.

@puzrin puzrin added the webgl label Feb 1, 2016
@puzrin
Copy link
Member

puzrin commented Feb 7, 2016

Closing until supported in major browsers and util webgl works in pica with production quality.

@puzrin puzrin closed this as completed Feb 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants