randr: unexport and document RRCrtcSetTransformSupport()

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:08:36 +02:00
parent bf0ed1306e
commit ca6b72e362
2 changed files with 8 additions and 6 deletions

View File

@ -560,12 +560,6 @@ extern _X_EXPORT RRCrtcPtr RRCrtcCreate(ScreenPtr pScreen, void *devPrivate);
extern _X_EXPORT void
RRCrtcSetRotations(RRCrtcPtr crtc, Rotation rotations);
/*
* Set whether transforms are allowed on a CRTC
*/
extern _X_EXPORT void
RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms);
/*
* Notify the extension that the Crtc has been reconfigured,
* the driver calls this whenever it has updated the mode

View File

@ -176,4 +176,12 @@ CARD16 RRVerticalRefresh(xRRModeInfo * mode);
*/
Bool RRCrtcExists(ScreenPtr pScreen, RRCrtcPtr findCrtc);
/*
* Set whether transforms are allowed on a CRTC
*
* @param crtc the CRTC to set the flag on
* @param transforms TRUE if transforms are allowed
*/
void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */