randr: unexport and document RRReplaceScanoutPixmap()

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:40:11 +02:00
parent eb297d3443
commit 2c71b5f260
2 changed files with 6 additions and 3 deletions

View File

@ -595,9 +595,6 @@ extern _X_EXPORT Bool
extern _X_EXPORT Bool
RRCrtcGammaSetSize(RRCrtcPtr crtc, int size);
extern _X_EXPORT Bool
RRReplaceScanoutPixmap(DrawablePtr pDrawable, PixmapPtr pPixmap, Bool enable);
/*
* Return if the screen has any scanout_pixmap's attached
*/

View File

@ -236,4 +236,10 @@ void RRCrtcInitErrorValue(void);
*/
void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc);
/*
* Handler for the ReplaceScanoutPixmap screen proc
* Should not be called directly.
*/
Bool RRReplaceScanoutPixmap(DrawablePtr pDrawable, PixmapPtr pPixmap, Bool enable);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */