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

Suspend execution when Eternity is off screen #597

Open
ioan-chera opened this issue Jul 8, 2023 · 1 comment
Open

Suspend execution when Eternity is off screen #597

ioan-chera opened this issue Jul 8, 2023 · 1 comment

Comments

@ioan-chera
Copy link
Member

Eternity should pause running everything unnecessary when off screen (minimized, behind other windows or on another virtual desktop). This is very important when playing it from a battery powered laptop and in some cases, if the laptop is silent and efficient, it's easy to forget. Right now it still runs rendering even if unnecessary, in situations such as the game being paused.

@ioan-chera
Copy link
Member Author

ioan-chera commented Jul 8, 2023

So far, disabled D_Display when window is fully occluded (without necessarily being minimized). But only on some systems

May also need to think about disabling sounds, autopausing etc. (sometimes we don't want to autopause, such as when playing or especially testing demo).

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