Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render windows fps limit is slowing down the main thread #11

Open
Ovahlord opened this issue Jun 16, 2023 · 0 comments
Open

Render windows fps limit is slowing down the main thread #11

Ovahlord opened this issue Jun 16, 2023 · 0 comments

Comments

@Ovahlord
Copy link

Ovahlord commented Jun 16, 2023

So I got quite suspicious about the increddibly slow loading/saving and indexing times and after longer observation, it turns out that the render window is synchronous with the main thread and due to the hardcoded fps limit the whole thing is being slowed down by alot. It gets even worse once you actually start rendering anything inside of the render window.

So there are two solutions:

  1. Unlock the fps of the render window and let the programm go nuts, which improves the loading and render fps by alot but also causes unnecessary load for the GPU
  2. Make the rendering asynchronous, moving it to a 2nd thread, which should solve the problem alltogether

revision at the time of reporting: 8f06f75

@Ovahlord Ovahlord changed the title Render windows fps limit is slowing down the main threat Render windows fps limit is slowing down the main thread Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant