randr: re-export RRProviderCreate() for Nvidia legacy

NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-05 11:17:46 +02:00
parent 90c1f3b2a8
commit da3791e9ce
2 changed files with 12 additions and 11 deletions

View File

@ -710,6 +710,18 @@ RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc);
_X_EXPORT /* just for Nvidia legacy */
void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc);
/*
* Create / allocate new provider structure
*
* @param pScreen the screen the provider belongs to
* @param name name of the provider (counted string)
* @param nameLen size of the provider name
* @return new provider structure, or NULL on failure
*/
_X_EXPORT /* just for Nvidia legacy */
RRProviderPtr RRProviderCreate(ScreenPtr pScreen, const char *name,
int nameLen);
#endif /* _RANDRSTR_H_ */
/*

View File

@ -381,17 +381,6 @@ Bool RRProviderInit(void);
*/
void RRProviderInitErrorValue(void);
/*
* Create / allocate new provider structure
*
* @param pScreen the screen the provider belongs to
* @param name name of the provider (counted string)
* @param nameLen size of the provider name
* @return new provider structure, or NULL on failure
*/
RRProviderPtr RRProviderCreate(ScreenPtr pScreen, const char *name,
int nameLen);
/*
* Set provider capabilities field
*