summaryrefslogtreecommitdiff
path: root/randrproto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-03-15 00:32:35 -0700
committerKeith Packard <keithp@keithp.com>2008-03-15 00:32:35 -0700
commitaa5cd18a9f84aa075ffa7f70e6591b70b093119f (patch)
tree583fa2dcd4de93c9d4420d2653945a06f26ca419 /randrproto.h
parent329b2068c1505dbc2eef7cc245b02c3bbf9c67ff (diff)
Add filters to CRTC transforms.
This allows scaling transforms to use bilinear filtering if desired.
Diffstat (limited to 'randrproto.h')
-rw-r--r--randrproto.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/randrproto.h b/randrproto.h
index d2d0963..e6bab25 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -570,7 +570,8 @@ typedef struct {
xRenderTransform transform;
CARD32 pad0 B32;
xRenderTransform inverse;
- CARD32 pad1 B32;
+ CARD16 nbytesFilter; /* number of bytes in filter name */
+ CARD16 pad B16;
} xRRSetCrtcTransformReq;
#define sz_xRRSetCrtcTransformReq 88
@@ -592,13 +593,15 @@ typedef struct {
xRenderTransform pendingTransform;
BYTE hasTransforms;
CARD8 pad0a;
- CARD16 pad0b B16;
+ CARD16 pad0 B16;
xRenderTransform pendingInverse;
- CARD32 pad1 B32;
+ CARD16 pendingNbytesFilter B16; /* number of bytes in filter name */
+ CARD16 pendingNparamsFilter B16; /* number of filter params */
xRenderTransform currentTransform;
CARD32 pad2 B32;
xRenderTransform currentInverse;
- CARD32 pad3 B32;
+ CARD16 currentNbytesFilter B16; /* number of bytes in filter name */
+ CARD16 currentNparamsFilter B16; /* number of filter params */
} xRRGetCrtcTransformReply;
#define sz_xRRGetCrtcTransformReply 168