mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-25 07:20:45 +02:00
Add a setter for randr_crtc->rotations.
This commit is contained in:
parent
cde17015df
commit
42a48786ac
2 changed files with 17 additions and 0 deletions
|
|
@ -542,6 +542,13 @@ Bool
|
|||
RRCrtcGammaSetSize (RRCrtcPtr crtc,
|
||||
int size);
|
||||
|
||||
/*
|
||||
* Set the allowable rotations of the CRTC.
|
||||
*/
|
||||
Bool
|
||||
RRCrtcSetRotations (RRCrtcPtr crtc,
|
||||
Rotation rotations);
|
||||
|
||||
/*
|
||||
* Destroy a Crtc at shutdown
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -426,6 +426,16 @@ RRCrtcGammaSetSize (RRCrtcPtr crtc,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Set the allowable rotations of the CRTC.
|
||||
*/
|
||||
Bool
|
||||
RRCrtcSetRotations (RRCrtcPtr crtc,
|
||||
Rotation rotations)
|
||||
{
|
||||
crtc->rotations = rotations;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize crtc type
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue