From 4a702483a0854156bfe650c63d4144eccd99a933 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 19 May 2025 16:12:04 +0200 Subject: [PATCH] glamor: unexport glamor_egl_fds_from_pixmap() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- glamor/glamor.h | 3 --- glamor/glamor_priv.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/glamor/glamor.h b/glamor/glamor.h index f0f9d46d7..963b5deb4 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -137,9 +137,6 @@ extern _X_EXPORT void glamor_egl_exchange_buffers(PixmapPtr front, PixmapPtr back); /* The DDX is not supposed to call these four functions */ -extern _X_EXPORT int glamor_egl_fds_from_pixmap(ScreenPtr, PixmapPtr, int *, - uint32_t *, uint32_t *, - uint64_t *); extern _X_EXPORT int glamor_egl_fd_name_from_pixmap(ScreenPtr, PixmapPtr, CARD16 *, CARD32 *); diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index 789c66758..46bc37846 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -995,6 +995,10 @@ void glamor_pixmap_exchange_fbos(PixmapPtr front, PixmapPtr back); /* The DDX is not supposed to call these four functions */ void glamor_enable_dri3(ScreenPtr screen); +int glamor_egl_fds_from_pixmap(ScreenPtr pScreen, PixmapPtr pPixmap, int *fds, + uint32_t *strides, uint32_t *offsets, + uint64_t *modifier); + #include "glamor_utils.h" #if 0