mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 00:10:05 +01:00
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
3 changed files with 23 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
* hw/xfree86/ddc/edid.h:
|
||||
|
|
|
|||
|
|
@ -1302,6 +1302,17 @@ Bool RRRegisterRate (ScreenPtr pScreen,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
Rotation
|
||||
RRGetRotation(ScreenPtr pScreen)
|
||||
{
|
||||
rrScrPriv (pScreen);
|
||||
|
||||
if (!pScrPriv)
|
||||
return RR_Rotate_0;
|
||||
|
||||
return pScrPriv->rotation;
|
||||
}
|
||||
|
||||
void
|
||||
RRSetCurrentConfig (ScreenPtr pScreen,
|
||||
Rotation rotation,
|
||||
|
|
|
|||
|
|
@ -118,6 +118,9 @@ RRSetCurrentConfig (ScreenPtr pScreen,
|
|||
|
||||
Bool RRScreenInit(ScreenPtr pScreen);
|
||||
|
||||
Rotation
|
||||
RRGetRotation (ScreenPtr pScreen);
|
||||
|
||||
int
|
||||
RRSetScreenConfig (ScreenPtr pScreen,
|
||||
Rotation rotation,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue