-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
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 on createVertexArray because getExtension('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!!