xserver: Branch 'master'
Eric Anholt
anholt at kemper.freedesktop.org
Thu Jan 18 00:34:49 EET 2007
randr/randrstr.h | 7 +++++++
randr/rrcrtc.c | 10 ++++++++++
2 files changed, 17 insertions(+)
New commits:
diff-tree 42a48786acf54f83167de4f561526986d4e27033 (from cde17015dff1ced2aabb8b76c08f9110237821a5)
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jan 17 14:34:42 2007 -0800
Add a setter for randr_crtc->rotations.
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 136a47e..99022c3 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -543,6 +543,13 @@ RRCrtcGammaSetSize (RRCrtcPtr crtc,
int size);
/*
+ * Set the allowable rotations of the CRTC.
+ */
+Bool
+RRCrtcSetRotations (RRCrtcPtr crtc,
+ Rotation rotations);
+
+/*
* Destroy a Crtc at shutdown
*/
void
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index 0767420..cfd4da9 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -427,6 +427,16 @@ RRCrtcGammaSetSize (RRCrtcPtr crtc,
}
/*
+ * Set the allowable rotations of the CRTC.
+ */
+Bool
+RRCrtcSetRotations (RRCrtcPtr crtc,
+ Rotation rotations)
+{
+ crtc->rotations = rotations;
+}
+
+/*
* Initialize crtc type
*/
Bool
More information about the xorg-commit
mailing list