|
|
|
|
|
by dwoldrich
198 days ago
|
|
Hi @w4g1, this is a very beautiful API! I am curious if it supports my hypothetical use case. I want the pre-existing DOM thread to enter into a long term relationship with a particular web worker thread. I'd like the web worker to hold onto a transferrable that has ties back to the DOM thread, the WebGLRenderingContext, and have the DOM thread send draw commands to the worker and its gl context over time. I imagine this could be achieved by having a dedicated web worker pool of size 1 and allowing the DOM thread to initiate an async send to the worker pool. Can your API do something like this? Thank you for this early Christmas gift! |
|