mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 20:40:36 +02:00
egl: Use util/libdrm.h instead of xf86drm.h
This will allow for building and running zink on systems without libdrm by using Mesa's internal stubs. Acked-by: Emma Anholt <emma@anholt.net> Reviewed-by: Eric Engestrom <eric@igalia.com> Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40302>
This commit is contained in:
parent
5c56d6c198
commit
14f60b440f
4 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <xf86drm.h>
|
||||
#include "util/libdrm.h"
|
||||
#include <cutils/properties.h>
|
||||
#include <drm-uapi/drm_fourcc.h>
|
||||
#include <sync/sync.h>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <xf86drm.h>
|
||||
#include "util/libdrm.h"
|
||||
#include "drm-uapi/drm_fourcc.h"
|
||||
#include <sys/mman.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
#include <vulkan/vulkan_xcb.h>
|
||||
/* clang-format on */
|
||||
#ifdef HAVE_LIBDRM
|
||||
#include <xf86drm.h>
|
||||
#include "util/libdrm.h"
|
||||
#include "platform_x11_dri3.h"
|
||||
#endif
|
||||
#include "util/bitscan.h"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
#include <xcb/xcb.h>
|
||||
|
||||
#if defined(HAVE_WAYLAND_PLATFORM)
|
||||
#include <xf86drm.h>
|
||||
#include "util/libdrm.h"
|
||||
#endif
|
||||
#include "drm-uapi/drm_fourcc.h"
|
||||
#include "util/macros.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue