randr: re-export RRCrtcGetScanoutSize() 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
1a534e204b
commit
2ec00762f4
|
@ -682,6 +682,17 @@ extern _X_EXPORT RESTYPE RROutputType; /* X resource type: Randr OUTPUT */
|
||||||
_X_EXPORT /* just for Nvidia legacy */
|
_X_EXPORT /* just for Nvidia legacy */
|
||||||
Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
|
Bool RROutputSetNonDesktop(RROutputPtr output, Bool non_desktop);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Return the area of the frame buffer scanned out by the crtc,
|
||||||
|
* taking into account the current mode and rotation
|
||||||
|
*
|
||||||
|
* @param crtc the CRTC to query
|
||||||
|
* @param width return buffer for width value
|
||||||
|
* @param height return buffer for height value
|
||||||
|
*/
|
||||||
|
_X_EXPORT /* just for Nvidia legacy */
|
||||||
|
void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
|
||||||
|
|
||||||
#endif /* _RANDRSTR_H_ */
|
#endif /* _RANDRSTR_H_ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -190,16 +190,6 @@ void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms);
|
||||||
*/
|
*/
|
||||||
void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc);
|
void RRDeliverCrtcEvent(ClientPtr pClient, WindowPtr pWin, RRCrtcPtr crtc);
|
||||||
|
|
||||||
/*
|
|
||||||
* Return the area of the frame buffer scanned out by the crtc,
|
|
||||||
* taking into account the current mode and rotation
|
|
||||||
*
|
|
||||||
* @param crtc the CRTC to query
|
|
||||||
* @param width return buffer for width value
|
|
||||||
* @param height return buffer for height value
|
|
||||||
*/
|
|
||||||
void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Retrieve CRTCs current transform
|
* Retrieve CRTCs current transform
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue