-
Notifications
You must be signed in to change notification settings - Fork 641
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
Truly asynchronous kernel API support #4
Comments
https://github.com/kripken/webgl-worker No idea if it would help lol |
The blog post for webgl-worker said async calls cannot be implemented by their method. |
So we got no choice but to use webworkers i assume =( ? |
WebGL does not work in WebWorkers (yet). Waiting on this: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen |
Lol. so we gotta wait 3 years before it becomes standard in browser? if it makes it there. Anyway i will update the API to support "ASYNC". - For the future ! |
There's already async on the webworker branch |
Added gpu_utils class to centralize small snippets of code. Also fixed while loop test case to default value
Conflicts: gulpfile.js src/gpu.js src/utils.js
Merged in 036bc66 |
Currently all APIs are blocking and will freeze the main thread if the kernel is computationally large.
Challenges:
The text was updated successfully, but these errors were encountered: