diff options
author | Keith Packard <keithp@keithp.com> | 2008-03-13 14:26:01 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-11-24 13:24:35 -0800 |
commit | e063162e80e51ed4368874b3af7ba690ea280d9e (patch) | |
tree | 0b318de9882b08a989a2fad0aec3655fc358844c /randr | |
parent | 9c7ac47b871a71e42d2f6933749ca462f1a65b40 (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')
-rw-r--r-- | randr/randrstr.h | 14 | ||||
-rw-r--r-- | randr/rrcrtc.c | 19 |
2 files changed, 33 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 diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index ec65a040e..38b34525c 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -359,6 +359,25 @@ RRCrtcSet (RRCrtcPtr crtc, } /* + * Return crtc transform + */ +Bool +RRCrtcGetTransform (RRCrtcPtr crtc, + PictTransformPtr crtc_to_fb, + PictTransformPtr fb_to_crtc) +{ + return FALSE; +} + +/* + * Mark the pending transform as current + */ +void +RRCrtcPostPendingTransform (RRCrtcPtr crtc) +{ +} + +/* * Destroy a Crtc at shutdown */ void |