Maplespe / DWMBlurGlass

Add custom effect to global system title bar, support win10 and win11.
GNU Lesser General Public License v3.0
1.82k stars 82 forks source link

Enhance glass reflection (could probably affect perfomance) #356

Open funn-hue opened 2 months ago

funn-hue commented 2 months ago

Describe the bug

A clear and concise description of what the bug is:

The glass reflection is being applied to each window in Aero Peek, in Windows 7 it looks like there is just one image that only the frames can display. I know aero peek wasn't supposed to have the reflection in the first place (i might be wrong but i think one of you said it shouldn't render there), but fixing the issue could probably improve the app's perfomance by alot.

To Reproduce

Steps to reproduce the behavior:

  1. Open some apps
  2. Hover the "Show Desktop" button (make sure you have desktop peek on, you can check by right clicking the show desktop button)

Screenshots

If applicable, add screenshots to help explain your problem:

DWMBlurGlass image

Windows 7 image

Additional information (please complete the following information):

OS Version : Windows 10 22H2 19045.4529 Software Version : 2.2.0

What other third-party software do you use:

[e.g. windhawk mods xxx]

AWM (issue persists without awm, so it's not related)

Additional context

Add any other context about the problem here. By the way it would be nice if you guys added the reflections to aero snap aswell, since baking them into a theme is a really bad solution and causes visual glitches (see issue #221 )

ALTaleX531 commented 2 months ago

This is a workaround to bring reflection back to aero peek, and rendering multiple times behaves as expected. In fact, rendering multiple times produces less than a tenth of the performance overhead of the blur effect.

funn-hue commented 2 months ago

This is a workaround to bring reflection back to aero peek, and rendering multiple times behaves as expected. In fact, rendering multiple times produces less than a tenth of the performance overhead of the blur effect.

Why not do something like, render the reflection image once, make it fill the screen and make dwm put that into the taskbar and aero peek, and the other reflections would be on the windows?

ALTaleX531 commented 1 month ago

Easier said than done, isn't it?