mesa/src/egl
Daniel Stone a1727aa75e egl/wayland: Don't use DRM format codes for SHM
The wl_drm interface (akin to X11's DRI2) uses the standard set of DRM
FourCC format codes. wl_shm copies this, except for ARGB8888/XRGB8888,
which use their own definitions.

Make sure we only use wl_shm format codes when we're working with
wl_shm. Otherwise, using swrast with 32bpp formats would fail with an
error.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Daniel Stone <daniels@collabora.com> (v1)
Fixes: cb5e799448 ("egl/wayland: unify dri2_wl_create_surface implementations")

v2: [Emil Velikov: move to dri2_wl_create_window_surface]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com> (IRC)
2017-03-01 18:36:55 +00:00
..
drivers egl/wayland: Don't use DRM format codes for SHM 2017-03-01 18:36:55 +00:00
main eglapi: replace linear entrypoint search with binary search 2017-02-24 17:00:50 +00:00
wayland Add missing copyright header to wayland-egl-priv.h 2017-02-01 22:33:40 +00:00
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
egl-entrypoint-check check: add support for running test as standalone 2017-02-26 13:39:45 +00:00
egl-symbols-check egl: fix make check broken by interop support 2016-04-26 21:37:07 +02:00
Makefile.am egl: make sure entrypoints list is always sorted 2017-02-24 17:00:50 +00:00
Makefile.sources eglapi: move entrypoints list out to its own file 2017-02-24 17:00:50 +00:00
SConscript egl: Fix missing Haiku include path 2015-09-28 13:58:25 -04:00