randr: export RRCrtcSetTransformSupport for nvidia

Signed-off-by: dasha_uwu <dasha@linuxping.win>
This commit is contained in:
dasha_uwu 2025-06-13 04:49:51 +05:00 committed by Enrico Weigelt
parent 9acf6a4b63
commit 3c20d33e2c
2 changed files with 9 additions and 8 deletions

View File

@ -748,6 +748,15 @@ _X_EXPORT /* just for Nvidia legacy */
Bool RRTransformSetFilter(RRTransformPtr dst, PictFilterPtr filter, Bool RRTransformSetFilter(RRTransformPtr dst, PictFilterPtr filter,
xFixed *params, int nparams, int width, int height); xFixed *params, int nparams, int width, int height);
/*
* Set whether transforms are allowed on a CRTC
*
* @param crtc the CRTC to set the flag on
* @param transforms TRUE if transforms are allowed
*/
_X_EXPORT /* just for Nvidia legacy */
void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms);
#endif /* _RANDRSTR_H_ */ #endif /* _RANDRSTR_H_ */
/* /*

View File

@ -173,14 +173,6 @@ CARD16 RRVerticalRefresh(xRRModeInfo * mode);
*/ */
Bool RRCrtcExists(ScreenPtr pScreen, RRCrtcPtr findCrtc); 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);
/* /*
* Deliver CRTC update event to given client * Deliver CRTC update event to given client
* *