summaryrefslogtreecommitdiff
path: root/randr/rrsdispatch.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-03-13 21:31:12 -0700
committerKeith Packard <keithp@keithp.com>2008-11-24 13:24:36 -0800
commite3d6f279d5c305dfb81ca109fbfb665870712d2f (patch)
treebc08da754654f5858bd212a99f085a735e49c6fe /randr/rrsdispatch.c
parentff9d1cd843a9b0aba69a3d788b21d5f6af702590 (diff)
Wire up RandR CRTC transform protocol, bump server to RandR 1.3
This involved removing a pile of matrix code from the DDX, as well as moving a bit of transform logic from DDX to DIX.
Diffstat (limited to 'randr/rrsdispatch.c')
-rw-r--r--randr/rrsdispatch.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/randr/rrsdispatch.c b/randr/rrsdispatch.c
index 5037b9e32..66a0e1677 100644
--- a/randr/rrsdispatch.c
+++ b/randr/rrsdispatch.c
@@ -364,6 +364,26 @@ SProcRRSetCrtcGamma (ClientPtr client)
return (*ProcRandrVector[stuff->randrReqType]) (client);
}
+static int
+SProcRRSetCrtcTransform (ClientPtr client)
+{
+ REQUEST(xRRSetCrtcTransformReq);
+
+ REQUEST_SIZE_MATCH(xRRSetCrtcTransformReq);
+ (void) stuff;
+ return BadImplementation;
+}
+
+static int
+SProcRRGetCrtcTransform (ClientPtr client)
+{
+ REQUEST(xRRGetCrtcTransformReq);
+
+ REQUEST_SIZE_MATCH(xRRGetCrtcTransformReq);
+ (void) stuff;
+ return BadImplementation;
+}
+
int (*SProcRandrVector[RRNumberRequests])(ClientPtr) = {
SProcRRQueryVersion, /* 0 */
/* we skip 1 to make old clients fail pretty immediately */
@@ -394,5 +414,8 @@ int (*SProcRandrVector[RRNumberRequests])(ClientPtr) = {
SProcRRGetCrtcGammaSize, /* 22 */
SProcRRGetCrtcGamma, /* 23 */
SProcRRSetCrtcGamma, /* 24 */
+/* V1.3 additions */
+ SProcRRSetCrtcTransform, /* 25 */
+ SProcRRGetCrtcTransform, /* 26 */
};