randr: export RROutputSetSubpixelOrder for nvidia

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

View File

@ -757,6 +757,15 @@ Bool RRTransformSetFilter(RRTransformPtr dst, PictFilterPtr filter,
_X_EXPORT /* just for Nvidia legacy */ _X_EXPORT /* just for Nvidia legacy */
void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms);
/*
* Set subpixel order on given output
*
* @param output the output to set subpixel order on
* @param order subpixel order value to set
*/
_X_EXPORT /* just for Nvidia legacy */
void RROutputSetSubpixelOrder(RROutputPtr output, int order);
#endif /* _RANDRSTR_H_ */ #endif /* _RANDRSTR_H_ */
/* /*

View File

@ -289,14 +289,6 @@ int RROutputAddUserMode(RROutputPtr output, RRModePtr mode);
*/ */
int RROutputDeleteUserMode(RROutputPtr output, RRModePtr mode); int RROutputDeleteUserMode(RROutputPtr output, RRModePtr mode);
/*
* Set subpixel order on given output
*
* @param output the output to set subpixel order on
* @param order subpixel order value to set
*/
void RROutputSetSubpixelOrder(RROutputPtr output, int order);
/* /*
* Deliver RROutputChangeNotify event to client * Deliver RROutputChangeNotify event to client
* *