From 41c039948f1464ea9675ebc96f84afe314eb1dcd Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 5 Jun 2025 11:30:31 +0200 Subject: [PATCH] randr: re-export RRTransformSetFilter() 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 --- randr/randrstr.h | 7 +++++++ randr/randrstr_priv.h | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index c5feb82ff..84473119a 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -741,6 +741,13 @@ void RRProviderSetCapabilities(RRProviderPtr provider, uint32_t capabilities); _X_EXPORT /* just for Nvidia legacy */ Bool RRClientKnowsRates(ClientPtr pClient); +/* + * Set filter on transform structure + */ +_X_EXPORT /* just for Nvidia legacy */ +Bool RRTransformSetFilter(RRTransformPtr dst, PictFilterPtr filter, + xFixed *params, int nparams, int width, int height); + #endif /* _RANDRSTR_H_ */ /* diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index ce3c6d9f0..622d0ac77 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -477,12 +477,6 @@ void RRTransformInit(RRTransformPtr transform); */ Bool RRTransformEqual(RRTransformPtr a, RRTransformPtr b); -/* - * Set filter on transform structure - */ -Bool RRTransformSetFilter(RRTransformPtr dst, PictFilterPtr filter, - xFixed *params, int nparams, int width, int height); - /* * Copy transform structure to another *