mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Enrico Weigelt
parent
4642d6207f
commit
2c8fbfe050
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user