summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-03-13 14:26:01 -0700
committerKeith Packard <keithp@keithp.com>2008-11-24 13:24:35 -0800
commite063162e80e51ed4368874b3af7ba690ea280d9e (patch)
tree0b318de9882b08a989a2fad0aec3655fc358844c /randr/randrstr.h
parent9c7ac47b871a71e42d2f6933749ca462f1a65b40 (diff)
Add projective transforms to RandR DIX/DDX API.
New RRCrtcGetTransform function in DIX that DDX can use to get the pending transform. The DDX code should be complete; the DIX code is just a stub at this point.
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index bd7c7c59a..4692ddf91 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -587,6 +587,20 @@ void
RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
/*
+ * Return crtc transform
+ */
+Bool
+RRCrtcGetTransform (RRCrtcPtr crtc,
+ PictTransformPtr crtc_to_fb,
+ PictTransformPtr fb_to_crtc);
+
+/*
+ * Mark the pending transform as current
+ */
+void
+RRCrtcPostPendingTransform (RRCrtcPtr crtc);
+
+/*
* Destroy a Crtc at shutdown
*/
void