glamor: unexport glamor_set_glvnd_vendor()

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-19 16:05:50 +02:00
parent c62b68fdf7
commit d0d4ced9d3
4 changed files with 7 additions and 6 deletions

View File

@ -114,11 +114,6 @@ extern _X_EXPORT void glamor_clear_pixmap(PixmapPtr pixmap);
extern _X_EXPORT void glamor_block_handler(ScreenPtr screen); extern _X_EXPORT void glamor_block_handler(ScreenPtr screen);
/* This function should be called after glamor_init,
* but before adding a glamor GLX provider */
extern _X_EXPORT void glamor_set_glvnd_vendor(ScreenPtr screen,
const char *vendor);
extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h, extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h,
int depth, unsigned int usage); int depth, unsigned int usage);
extern _X_EXPORT Bool glamor_destroy_pixmap(PixmapPtr pixmap); extern _X_EXPORT Bool glamor_destroy_pixmap(PixmapPtr pixmap);

View File

@ -986,6 +986,10 @@ Bool glamor_set_pixmap_texture(PixmapPtr pixmap, unsigned int tex);
void glamor_set_pixmap_type(PixmapPtr pixmap, glamor_pixmap_type_t type); void glamor_set_pixmap_type(PixmapPtr pixmap, glamor_pixmap_type_t type);
/* This function should be called after glamor_init,
* but before adding a glamor GLX provider */
void glamor_set_glvnd_vendor(ScreenPtr screen, const char *vendor);
#include "glamor_utils.h" #include "glamor_utils.h"
#if 0 #if 0

View File

@ -46,6 +46,7 @@
#undef GC #undef GC
#include "dix/input_priv.h" #include "dix/input_priv.h"
#include "glamor/glamor_priv.h"
#include "hostx.h" #include "hostx.h"
@ -66,7 +67,6 @@
#include <xcb/glx.h> #include <xcb/glx.h>
#include <epoxy/common.h> #include <epoxy/common.h>
#include <epoxy/gl.h> #include <epoxy/gl.h>
#include "glamor.h"
#include "glamor_glx_provider.h" #include "glamor_glx_provider.h"
#include "ephyr_glamor.h" #include "ephyr_glamor.h"
#endif #endif

View File

@ -25,6 +25,8 @@
#include <xwayland-config.h> #include <xwayland-config.h>
#include "glamor/glamor_priv.h"
#define MESA_EGL_NO_X11_HEADERS #define MESA_EGL_NO_X11_HEADERS
#define EGL_NO_X11 #define EGL_NO_X11
#include <glamor_egl.h> #include <glamor_egl.h>