randr: unexport and document RRCrtcDetachScanoutPixmap()

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-16 14:36:56 +02:00
parent 4b0854252b
commit eb297d3443
3 changed files with 9 additions and 6 deletions

View File

@ -29,6 +29,8 @@
#include <string.h>
#include <stdio.h>
#include "randr/randrstr_priv.h"
#include "xf86.h"
#include "xf86DDC_priv.h"
#include "xf86Crtc.h"

View File

@ -595,12 +595,6 @@ extern _X_EXPORT Bool
extern _X_EXPORT Bool
RRCrtcGammaSetSize(RRCrtcPtr crtc, int size);
/*
* Detach and free a scanout pixmap
*/
extern _X_EXPORT void
RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc);
extern _X_EXPORT Bool
RRReplaceScanoutPixmap(DrawablePtr pDrawable, PixmapPtr pPixmap, Bool enable);

View File

@ -229,4 +229,11 @@ Bool RRCrtcInit(void);
*/
void RRCrtcInitErrorValue(void);
/*
* Detach and free a scanout pixmap
*
* @param crtc the CRTC to act on
*/
void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */