randr: unexport and document RRCrtcGetTransform()

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:22:48 +02:00
parent a90448d3be
commit f7157f140e
2 changed files with 8 additions and 5 deletions

View File

@ -595,11 +595,6 @@ extern _X_EXPORT Bool
extern _X_EXPORT Bool extern _X_EXPORT Bool
RRCrtcGammaSetSize(RRCrtcPtr crtc, int size); RRCrtcGammaSetSize(RRCrtcPtr crtc, int size);
/*
* Return crtc transform
*/
extern _X_EXPORT RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc);
/* /*
* Destroy a Crtc at shutdown * Destroy a Crtc at shutdown
*/ */

View File

@ -203,4 +203,12 @@ void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc);
*/ */
void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height); void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
/*
* Retrieve CRTCs current transform
*
* @param crtc the CRTC to query
* @return pointer to CRTCs current transform
*/
RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */