glamor_egl: remove unneeded xf86 includes/GLAMOR_FOR_XORG

As of last commit, all of glamor_egl ix xf86 agnostic, so adjust the
includes and drop the GLAMOR_FOR_XORG instances.

Note the macro is still used for glamor_xv_init() which pulls xf86.

v2: Drop GLAMOR_FOR_XORG guards (Michel Dänzer)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/235>
This commit is contained in:
Emil Velikov 2026-05-06 20:33:55 +03:00 • committed by Enrico Weigelt
commit 304cd659d4
2 changed files with 0 additions and 3 deletions

View file

@ -28,7 +28,6 @@
*/
#include <dix-config.h>
#define GLAMOR_FOR_XORG /* for -Wmissing-prototypes */
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>

View file

@ -327,7 +327,6 @@ _X_EXPORT Bool glamor_get_drawable_modifiers(DrawablePtr draw,
extern _X_EXPORT void glamor_set_drawable_modifiers_func(ScreenPtr screen,
GetDrawableModifiersFuncPtr func);
#ifdef GLAMOR_FOR_XORG
#define GLAMOR_EGL_MODULE_NAME "glamoregl"
@ -404,7 +403,6 @@ extern _X_EXPORT Bool
extern _X_EXPORT const char *glamor_egl_get_driver_name(ScreenPtr screen);
#endif
extern _X_EXPORT int glamor_create_gc(GCPtr gc);