Skip to content

Desktop: shaders idle when unfocused and the blur is cached (#490) - #501

Open
MopigamesYT wants to merge 1 commit into
perf/auditfrom
feat/490-theme-perf
Open

MopigamesYT wants to merge 1 commit into
perf/auditfrom
feat/490-theme-perf

Conversation

@MopigamesYT

Copy link
Copy Markdown
Member

Closes #490

Stacked on perf/audit (PR #477, not merged yet; #489 is already in it).

Summary

  • The shader loop no longer wakes the UI thread while the window is unfocused or hidden: it checks every 250 ms instead, so 0 fps and no UI-thread work when paused.
  • The frosted-glass blur is cached: if the captured window pixels, size and tint are the same as last time, the previous blurred result is reused.

Screenshots

None: no visible change (the screenshots would also show private content).

Technical details

Assisted-by: Sonnet 5.5 low

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Desktop app (Linux, Windows) enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants