Skip to content
  • Daniel van Vugt's avatar
    background: Shrink wallpaper using LINEAR_MIPMAP_LINEAR · d15e11bf
    Daniel van Vugt authored
    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
    !505
    d15e11bf