psst icon indicating copy to clipboard operation
psst copied to clipboard

Redrawing when minimized

Open CptPotato opened this issue 4 years ago • 6 comments

I recently saw that psst has noticable GPU usage when minimized. Taking a look with RenderDoc shows that, even if minimized, psst draws new frames while the UI is being updated (when playing for example).

Edit: OS is Win10 x64

CptPotato avatar Sep 06 '21 16:09 CptPotato

After updating it seems that psst only refreshes the UI once every second when idle / during playback now. This reduces the background GPU usage to practically zero for me, so this might not be very relevant anymore.

CptPotato avatar Sep 06 '21 16:09 CptPotato

I'd be still interested in any CPU/GPU optimizations, so if you'd be interested to work on this anyway, we could pause the rendering when the window is hidden.

jpochyla avatar Sep 14 '21 15:09 jpochyla