wayland/shm: Advertise support for RGB565

Doesn't hurt to support it, could save memory bandwidth would any client
use it without degrading visual quality.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/804
This commit is contained in:
Jonas Ådahl
2019-09-18 16:18:58 +02:00
committed by Robert Mader
parent 5a8e4da2a8
commit 2d6040e2a3
3 changed files with 25 additions and 1 deletions

View File

@ -91,4 +91,6 @@ void meta_wayland_buffer_process_damage (MetaWaylandBuff
CoglScanout * meta_wayland_buffer_try_acquire_scanout (MetaWaylandBuffer *buffer,
CoglOnscreen *onscreen);
void meta_wayland_init_shm (MetaWaylandCompositor *compositor);
#endif /* META_WAYLAND_BUFFER_H */