Add a new function RRGetRotation() which does exactly the same thing as
xf86GetRotation(), but allows for drivers to provide their own RandR implementation. xf86GetRotation could be obsoleted by this change.
This commit is contained in:
parent
f4898b4093
commit
2ab487d4d2
|
@ -1,3 +1,12 @@
|
||||||
|
2006-02-01 Alan Hourihane <alanh@fairlite.demon.co.uk>
|
||||||
|
|
||||||
|
* randr/randr.c: (RRGetRotation):
|
||||||
|
* randr/randrstr.h:
|
||||||
|
Add a new function RRGetRotation() which does exactly the same
|
||||||
|
thing as xf86GetRotation(), but allows for drivers to provide
|
||||||
|
their own RandR implementation. xf86GetRotation could be
|
||||||
|
obsoleted by this change.
|
||||||
|
|
||||||
2006-01-31 Luc Verhaegen <libv@skynet.be>
|
2006-01-31 Luc Verhaegen <libv@skynet.be>
|
||||||
|
|
||||||
* hw/xfree86/ddc/edid.h:
|
* hw/xfree86/ddc/edid.h:
|
||||||
|
|
|
@ -1302,6 +1302,17 @@ Bool RRRegisterRate (ScreenPtr pScreen,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rotation
|
||||||
|
RRGetRotation(ScreenPtr pScreen)
|
||||||
|
{
|
||||||
|
rrScrPriv (pScreen);
|
||||||
|
|
||||||
|
if (!pScrPriv)
|
||||||
|
return RR_Rotate_0;
|
||||||
|
|
||||||
|
return pScrPriv->rotation;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
RRSetCurrentConfig (ScreenPtr pScreen,
|
RRSetCurrentConfig (ScreenPtr pScreen,
|
||||||
Rotation rotation,
|
Rotation rotation,
|
||||||
|
|
|
@ -118,6 +118,9 @@ RRSetCurrentConfig (ScreenPtr pScreen,
|
||||||
|
|
||||||
Bool RRScreenInit(ScreenPtr pScreen);
|
Bool RRScreenInit(ScreenPtr pScreen);
|
||||||
|
|
||||||
|
Rotation
|
||||||
|
RRGetRotation (ScreenPtr pScreen);
|
||||||
|
|
||||||
int
|
int
|
||||||
RRSetScreenConfig (ScreenPtr pScreen,
|
RRSetScreenConfig (ScreenPtr pScreen,
|
||||||
Rotation rotation,
|
Rotation rotation,
|
||||||
|
|
Loading…
Reference in New Issue