Consider options to not always tick shaders #19423

Open
opened 2026-01-31 06:42:54 +00:00 by claunia · 0 comments
Owner

Originally created by @Dan-Albrecht on GitHub (Feb 20, 2023).

Description of the new feature/enhancement

I love running complicated shaders. It's not uncommon for my old laptop to sustain in excess of 25% GPU usage (I'm fine with that, this isn't a 'shader perf sucks' bug). It'd be beneficial to power, heating my lap, etc. if we didn't always have to tick them.

Proposed technical implementation details (optional)

Couple ideas:

  1. Stop rendering if Window/pane is not activated
  2. Stop rendering if Window/pane is fully obscured
  3. Stop rendering if Window is minimized

My immediate thought is there's no value to render what you cannot see, so I'd just make this the new behavior, but I'm sure there's a workflow that wants this, so 'smart ticking' can be config enabled. You can still see the animations in cases 1 & 2 through alt + tab preview and hover on the taskbar, but for 3 any previews are static so there'd be no loss there, but that would be my least preference as I never remember to minimize windows.

Seems like toggling requiresContinuousRedraw in AtlasEngine would be a straightforward path.

Originally created by @Dan-Albrecht on GitHub (Feb 20, 2023). # Description of the new feature/enhancement I love running complicated shaders. It's not uncommon for my old laptop to sustain in excess of 25% GPU usage (I'm fine with that, this isn't a 'shader perf sucks' bug). It'd be beneficial to power, heating my lap, etc. if we didn't always have to tick them. # Proposed technical implementation details (optional) Couple ideas: 1. Stop rendering if Window/pane is not activated 1. Stop rendering if Window/pane is fully obscured 1. Stop rendering if Window is minimized My immediate thought is there's no value to render what you cannot see, so I'd just make this the _new behavior,_ but I'm sure there's a [workflow](https://xkcd.com/1172/) that wants this, so 'smart ticking' can be config enabled. You can still see the animations in cases 1 & 2 through alt + tab preview and hover on the taskbar, but for 3 any previews are static so there'd be no loss there, but that would be my least preference as I never remember to minimize windows. Seems like toggling `requiresContinuousRedraw` in `AtlasEngine` would be a straightforward path.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 06:42:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19423