Skip to content

background: Shrink wallpaper using LINEAR_MIPMAP_LINEAR

Commit 8e9184b6 added filtering to avoid image jaggies when downscaling but used LINEAR_MIPMAP_NEAREST. In some situations this could lead to GL choosing a single lower resolution mipmap and then upscaling it, hence slightly blurry.

We don't want to revert that change since it avoids aliasing jaggies, so let's use LINEAR_MIPMAP_LINEAR instead. This provides the highest quality filtering that GL can do and avoids the situation of GL using a single mipmap that's lower resolution than the screen. Now it will blend that one with the next mipmap which is higher resolution than the screen. This still avoids jaggies but also maintains 1px resolution.

Closes: gnome-shell#1105 (closed)

Edited by Daniel van Vugt

Merge request reports