summaryrefslogtreecommitdiff
path: root/randrproto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-03-18 16:01:10 -0700
committerKeith Packard <keithp@keithp.com>2008-03-18 16:01:10 -0700
commit2d09f9cac379c74f492b528a8aa2ac3b5997d617 (patch)
tree4a97ef45e6f4b7ddcb97bdd315e988eae77c0beb /randrproto.h
parentaa5cd18a9f84aa075ffa7f70e6591b70b093119f (diff)
Eliminate inverse matrix from randr transform protocol
It is easier, and potentially more precise, to compute the inverse in the server where everything can eventually be kept in floating point form.
Diffstat (limited to 'randrproto.h')
-rw-r--r--randrproto.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/randrproto.h b/randrproto.h
index e6bab25..6c52eea 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -568,13 +568,11 @@ typedef struct {
CARD16 length B16;
RRCrtc crtc B32;
xRenderTransform transform;
- CARD32 pad0 B32;
- xRenderTransform inverse;
CARD16 nbytesFilter; /* number of bytes in filter name */
CARD16 pad B16;
} xRRSetCrtcTransformReq;
-#define sz_xRRSetCrtcTransformReq 88
+#define sz_xRRSetCrtcTransformReq 48
typedef struct {
CARD8 reqType;
@@ -592,19 +590,17 @@ typedef struct {
CARD32 length B32;
xRenderTransform pendingTransform;
BYTE hasTransforms;
- CARD8 pad0a;
- CARD16 pad0 B16;
- xRenderTransform pendingInverse;
- CARD16 pendingNbytesFilter B16; /* number of bytes in filter name */
- CARD16 pendingNparamsFilter B16; /* number of filter params */
+ CARD8 pad0;
+ CARD16 pad1 B16;
xRenderTransform currentTransform;
CARD32 pad2 B32;
- xRenderTransform currentInverse;
+ CARD16 pendingNbytesFilter B16; /* number of bytes in filter name */
+ CARD16 pendingNparamsFilter B16; /* number of filter params */
CARD16 currentNbytesFilter B16; /* number of bytes in filter name */
CARD16 currentNparamsFilter B16; /* number of filter params */
} xRRGetCrtcTransformReply;
-#define sz_xRRGetCrtcTransformReply 168
+#define sz_xRRGetCrtcTransformReply 96
/*
* event