You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading from the device buffer in wgpu is an async task. And for decent video recording I'm thinking of adding thread pool and pushing tasks in it for resolving.
But I'm losing ordering this way. First idea that come to my mind is attaching frame number to the task and when it's ready I send it to the another thread with channel.
On the other end receiving bytes+frame number to BinaryHeap restoring the right ordering.
The text was updated successfully, but these errors were encountered:
Reading from the device buffer in wgpu is an async task. And for decent video recording I'm thinking of adding thread pool and pushing tasks in it for resolving.
But I'm losing ordering this way. First idea that come to my mind is attaching frame number to the task and when it's ready I send it to the another thread with channel.
On the other end receiving bytes+frame number to BinaryHeap restoring the right ordering.
The text was updated successfully, but these errors were encountered: