Skip to content

scene: Fix bluriness on unscaled surfaces

Keegan Saunders requested to merge (removed):blur-fix into master

Wayland clients which do not support scaling have their surfaces scaled by KWin automatically. However, KWin on Wayland uses GL_LINEAR for upscaling surfaces by default, which results in blurry applications, even when the scale is set to an integer value (like 2x scale). Alternatively, we can use GL_NEAREST which uses nearest-neighbor scaling which results in crisp rendering.

This issue was also present in Sway, reported here: https://github.com/swaywm/wlroots/issues/1770

and was fixed here: https://github.com/swaywm/sway/pull/4727

Merge request reports

Loading