When I moved everything to FFI I implemented a very hacky frame timer that just waits for the given interval (e.g. 16ms) after processing all tasks on the queue.
This means the actual frame interval won't be correct if we're submitting a lot of jobs to the queue. We should have a nicer way of handling this.
When I moved everything to FFI I implemented a very hacky frame timer that just waits for the given interval (e.g. 16ms) after processing all tasks on the queue.
This means the actual frame interval won't be correct if we're submitting a lot of jobs to the queue. We should have a nicer way of handling this.