Move game logic/rendering to another thread #1204
Labels
enhancement
New feature or request
topic:performance
Performance enhancements, regressions, etc
topic:rendering
Rendering architecture and implementation
topic:ui
User interface
topic:web
Related to running on the Web
At present, the top-level UI world and the game world that it's presenting (through
GameClientView
) live on the same thread. This means that performance issues in the game world will stall the top-level UI as well, making the debugger and any other UI we might offer at this layer (performance tooling, etc) unresponsive.We may be able to address this by moving the entirety of the game world and its rendering to another thread, so that the game world can run over-budget without impacting the surrounding tooling. The game thread would receive input from the outside world (user input, what to connect to, etc) and output to a render target, which the main thread's UI will then render.
There are a few caveats here, thought:
The text was updated successfully, but these errors were encountered: