Jump to content

[AU-221662] ONI being a resource hog while in background


Masterpintsman
  • Branch: Preview Branch Pending

ONI listens to mouse (movement) events when in background (behind other windows), when hovering over the upfront window it still updates the interface (highlights, tooltips, whatnot).

Additionally it runs the full render loop without having focus and being paused.

Suggestion: Nothing speaks about continuing to run norrmally in case the tab-out happens while the simulation is running (=not being paused ingame), but when losing focus while being paused the game should hibernate (shutdown render loop and whatnot, except to redraw the screen (in case it gets a message for the OS that it has to reconstruct a part that is now no longer being clipped by another window) to free up both CPU and GPU.


Steps to Reproduce
Pause game, tab out, deal with a sluggish PC heating your room needlessly.



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...