Skip to content

DwmBlurGlass custom shader optimization request: don't render layered windows that aren't visible #243

@7kt4

Description

@7kt4

Describe the solution you'd like
Windows that are fully covered up by another window should not have the blur rendered. Having many windows on top of each other causes lag even when none of them are visible at all. There is no reason that window titlebars should get rendered when they are not visible on the screen. Other shaders (like Windows 7 shader or Glass8 shader) do not have this problem.

Your reason (tell us why we need it)
It makes a big difference in the performance of GPU rendering. This extends to things like hardware acceleration. If I am even just scrolling a webpage, scrolling can become laggy if there are unseen windows behind the browser.

Describe alternatives you've considered
N/A

Additional context
https://github.com/Maplespe/DWMBlurGlass/assets/84914212/83122697-0550-446d-8706-991621e37cd9

Metadata

Metadata

Assignees

No one assigned

    Labels

    ProcessedThe issue has been resolved and is awaiting confirmation.enhancementNew feature or requestsolved in upstream projectThis issue is already solved in the upstream project, just wait for the porting

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions