randr: re-export RRCrtcGetTransform() 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:
		
							parent
							
								
									30e59a9f4f
								
							
						
					
					
						commit
						8141970be4
					
				|  | @ -693,6 +693,15 @@ Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop); | ||||||
| _X_EXPORT /* just for Nvidia legacy */ | _X_EXPORT /* just for Nvidia legacy */ | ||||||
| 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 | ||||||
|  |  */ | ||||||
|  | _X_EXPORT /* just for Nvidia legacy */ | ||||||
|  | RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc); | ||||||
|  | 
 | ||||||
| #endif                          /* _RANDRSTR_H_ */ | #endif                          /* _RANDRSTR_H_ */ | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  |  | ||||||
|  | @ -190,14 +190,6 @@ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); | ||||||
|  */ |  */ | ||||||
| void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc); | void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc); | ||||||
| 
 | 
 | ||||||
| /*
 |  | ||||||
|  * Retrieve CRTCs current transform |  | ||||||
|  * |  | ||||||
|  * @param crtc    the CRTC to query |  | ||||||
|  * @return        pointer to CRTCs current transform |  | ||||||
|  */ |  | ||||||
| RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc); |  | ||||||
| 
 |  | ||||||
| /*
 | /*
 | ||||||
|  * Destroy a Crtc at shutdown |  * Destroy a Crtc at shutdown | ||||||
|  * |  * | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue