ZOulhadj / vmve

Vulkan Model Viewer and Importer. A project developed as part of my final year project at University.
https://zoulhadj.github.io/vmve_website/
MIT License
1 stars 0 forks source link

Seperate GUI into its own thread #56

Closed ZOulhadj closed 1 year ago

ZOulhadj commented 1 year ago

At the moment, the UI is being rendered on the same thread as rendering. The main issue here is that performance may decrease as one thread does lots of UI-specific work such as clipping, layout calculations, etc. This will then directly affect other rendering operations such as the actual world.

So the plan should be to create a separate thread just for the UI and only once all calculations have been completed, to return to the main thread so that the frame can be created.