mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
background: Mipmap wallpaper when shrinking
So as to minimize jaggies for wallpaper that is >= double the resolution of the screen. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/254
This commit is contained in:
parent
b34bb773a4
commit
8e9184b62e
@ -629,6 +629,11 @@ create_pipeline (PipelineType type)
|
|||||||
cogl_pipeline_set_blend (templates[type], blend_strings[type], NULL);
|
cogl_pipeline_set_blend (templates[type], blend_strings[type], NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cogl_pipeline_set_layer_filters (templates[type],
|
||||||
|
0,
|
||||||
|
COGL_PIPELINE_FILTER_LINEAR_MIPMAP_NEAREST,
|
||||||
|
COGL_PIPELINE_FILTER_LINEAR);
|
||||||
|
|
||||||
return cogl_pipeline_copy (templates[type]);
|
return cogl_pipeline_copy (templates[type]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user