Commit 0799560
committed
steamcompmgr: throttle overlay frame callbacks to output refresh under VRR
Under VRR, the main loop forces vblank=true every iteration so games
can get commit wake-ups at their uncapped rate. Overlays fall through
the FPS-limit throttle, so mangoapp receives a frame callback every
main loop iteration and renders flat-out, spiking power usage.
Throttle overlays on the latch path only, leaving the commit-done path
alone so overlay commits are still marked done immediately and the next
game-commit scanout picks up the freshest frame.1 parent fe7f21c commit 0799560
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5789 | 5789 | | |
5790 | 5790 | | |
5791 | 5791 | | |
| 5792 | + | |
| 5793 | + | |
| 5794 | + | |
| 5795 | + | |
| 5796 | + | |
| 5797 | + | |
| 5798 | + | |
| 5799 | + | |
| 5800 | + | |
| 5801 | + | |
| 5802 | + | |
| 5803 | + | |
| 5804 | + | |
| 5805 | + | |
| 5806 | + | |
| 5807 | + | |
| 5808 | + | |
| 5809 | + | |
5792 | 5810 | | |
5793 | 5811 | | |
5794 | 5812 | | |
| |||
0 commit comments