-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Use OffscreenCanvas instead of --proxy-to-worker
#13652
Comments
I think We do still have support for it though and there is still some testing. The last time this came up I think perhaps @juj still had some valid use cases for it? |
Yeah, I spent some more time trying to figure out It still might be worth adding a note in the docs at |
I have actually never used --proxy-to-worker for anything. When I authored --proxy-to-pthread, I thought that would obsolete --proxy-to-worker, and on several occassions I have proposed for --proxy-to-worker to be removed, though @kripken has held on to it iiuc as he has dealt with users that have used --proxy-to-worker. |
(Perhaps when pthreads support on the web is ubiquitous that will not matter though.) |
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant. |
I was trying to figure out how to get WORKERFS to work so I can read from
File
objects directly, and for that I needed my SDL application to run in a web worker. In order to do that I came across--proxy-to-worker
, but ran into its limitations (e.g. it crashes oncreateVertexArray
becausegetExtension('OES_vertex_array_object')
is not implemented).I was then wondering if
--proxy-to-worker
should be deprecated altogether, since we can now render to a WebGL OffscreenCanvas in a WebWorker directly. I'm still trying to figure out how to do this exactly, so maybe it's implemented already (-s PROXY_TO_PTHREAD
?). In that case it might be good to update the documentation accordingly (and perhaps add a note to--proxy-to-worker
that you shouldn't use it, and what the alternative is?). Thanks!!The text was updated successfully, but these errors were encountered: