Understood, thanks. So PROXY_TO_THREAD doesn't make sense for my usecase. All I want to do is - draw WebGL content in one thread (could be the main thread because rendering doesn't need much time, and there is no animation loop) - do some work in the background that makes use of the same canvas including the uploaded geometry for depth calculations I am struggling to find the right way through all the context and proxy options. Any suggestions would be very welcome. The test cases are helpful, however, I wasn't able to find one that passes back and forth control over the same canvas between a thread and the main thread.
-- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/a36c042f-3b33-4f52-ad18-75ca480394e7n%40googlegroups.com.