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

blur: ensure blur textures are always at least 1x1 in size #174

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

taj-ny
Copy link
Owner

@taj-ny taj-ny commented Jan 23, 2025

For very small windows, the width and/or height of the last blur texture may be 0. Creation of and/or usage of invalid textures to create framebuffers appears to cause performance issues.

At the highest blur strength, the minimum window size would be 16x16.

@taj-ny taj-ny linked an issue Jan 23, 2025 that may be closed by this pull request
@taj-ny taj-ny force-pushed the invalid-window-size-fix branch from 09ab297 to f899c67 Compare January 27, 2025 18:32
@taj-ny taj-ny changed the title blur: skip for windows where last blur texture would have an invalid size blur: ensure blur textures are always at least of 1x1 in size Jan 27, 2025
@taj-ny taj-ny force-pushed the invalid-window-size-fix branch from f899c67 to f35bc9b Compare January 27, 2025 18:34
@taj-ny taj-ny changed the title blur: ensure blur textures are always at least of 1x1 in size blur: ensure blur textures are always at least 1x1 in size Jan 27, 2025
@taj-ny taj-ny merged commit 25143a0 into main Jan 27, 2025
8 checks passed
@taj-ny taj-ny deleted the invalid-window-size-fix branch January 27, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Effect causes micro-freeze/extended lag when enabled [KDE Neon].
1 participant