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!!
I was trying to figure out how to get WORKERFS to work so I can read from
Fileobjects 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 oncreateVertexArraybecausegetExtension('OES_vertex_array_object')is not implemented).I was then wondering if
--proxy-to-workershould 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-workerthat you shouldn't use it, and what the alternative is?). Thanks!!