mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 11:28:15 +02:00
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:
|
||
|---|---|---|
| .. | ||
| drivers | ||
| main | ||
| wayland | ||
| Android.mk | ||
| egl-entrypoint-check | ||
| egl-symbols-check | ||
| Makefile.am | ||
| Makefile.sources | ||
| SConscript | ||