Compare commits

...

2 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult dc0de34d84 dri: unexport drm_format_for_depth()
Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-22 20:29:08 +02:00
Enrico Weigelt, metux IT consult 5db19b5573 dri: unexport dri3_send_open_reply()
Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-22 20:29:01 +02:00
3 changed files with 8 additions and 6 deletions

View File

@ -142,12 +142,6 @@ typedef struct dri3_screen_info {
extern _X_EXPORT Bool
dri3_screen_init(ScreenPtr screen, const dri3_screen_info_rec *info);
extern _X_EXPORT int
dri3_send_open_reply(ClientPtr client, int fd);
extern _X_EXPORT uint32_t
drm_format_for_depth(uint32_t depth, uint32_t bpp);
#endif
#endif /* _DRI3_H_ */

View File

@ -105,4 +105,10 @@ dri3_get_supported_modifiers(ScreenPtr screen, DrawablePtr drawable,
int
dri3_import_syncobj(ClientPtr client, ScreenPtr screen, XID id, int fd);
int
dri3_send_open_reply(ClientPtr client, int fd);
uint32_t
drm_format_for_depth(uint32_t depth, uint32_t bpp);
#endif /* _DRI3PRIV_H_ */

View File

@ -55,6 +55,8 @@
#include <dri3.h>
#include "drm-client-protocol.h"
#include "dri3/dri3_priv.h"
#include "xwayland-glamor.h"
#include "xwayland-glamor-gbm.h"
#include "xwayland-pixmap.h"