glamor: unexport glamor_destroy_pixmap()

It's only used by glamor internally, on error pathes where the pixmap
has been created only partially and something went wrong.
Drivers don't call this function.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-12 08:41:09 +01:00
committed by Enrico Weigelt
parent 4642d6207f
commit 2c8fbfe050
2 changed files with 6 additions and 1 deletions

View File

@@ -114,7 +114,6 @@ extern _X_EXPORT void glamor_block_handler(ScreenPtr screen);
extern _X_EXPORT PixmapPtr glamor_create_pixmap(ScreenPtr screen, int w, int h,
int depth, unsigned int usage);
extern _X_EXPORT Bool glamor_destroy_pixmap(PixmapPtr pixmap);
/* needed by Xrdp module */
#define GLAMOR_CREATE_PIXMAP_CPU 0x100

View File

@@ -1066,6 +1066,12 @@ Bool glamor_change_window_attributes(WindowPtr pWin, unsigned long mask);
void glamor_copy_window(WindowPtr window, DDXPointRec old_origin, RegionPtr src_region);
/*
* unref a glamor pixmap (specialized form of fbPixmap) and free
* if refcnt already had reached 1
*/
Bool glamor_destroy_pixmap(PixmapPtr pixmap);
#include "glamor_utils.h"
#if 0