swaywm / wlroots

A modular Wayland compositor library
https://gitlab.freedesktop.org/wlroots/wlroots/
MIT License
2.15k stars 340 forks source link

Disable alpha blending when surface is opaque #1680

Open emersion opened 5 years ago

emersion commented 5 years ago

Render parts of the surface which are opaque with glDisable(GL_BLEND).


wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1680

emersion commented 2 years ago

Part of this is done in https://github.com/swaywm/wlroots/pull/3041.

Remaining work is to disable blending depending on the surface's opaque region.