diff --git a/glamor/glamor.h b/glamor/glamor.h index 963b5deb4..264e6fc3e 100644 --- a/glamor/glamor.h +++ b/glamor/glamor.h @@ -136,10 +136,6 @@ extern _X_EXPORT Bool glamor_destroy_pixmap(PixmapPtr pixmap); 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_fd_name_from_pixmap(ScreenPtr, PixmapPtr, - CARD16 *, CARD32 *); - extern _X_EXPORT struct gbm_device *glamor_egl_get_gbm_device(ScreenPtr screen); extern _X_EXPORT int glamor_egl_fd_from_pixmap(ScreenPtr, PixmapPtr, CARD16 *, CARD32 *); diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index 46bc37846..1e7a7fdfc 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -994,10 +994,11 @@ 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); +int glamor_egl_fd_name_from_pixmap(ScreenPtr pScreen, PixmapPtr pPixmap, + CARD16 *stride, CARD32 *size); #include "glamor_utils.h"