1
/* $XFree86: xc/include/extensions/xf86rushstr.h,v 1.5 2001/08/01 00:44:36 tsi Exp $ */
4
Copyright (c) 1998 Daryll Strauss
8
#ifndef _XF86RUSHSTR_H_
9
#define _XF86RUSHSTR_H_
11
#include <X11/extensions/xf86rush.h>
13
#define XF86RUSHNAME "XFree86-Rush"
15
#define XF86RUSH_MAJOR_VERSION 1 /* current version numbers */
16
#define XF86RUSH_MINOR_VERSION 1
18
typedef struct _XF86RushQueryVersion {
19
CARD8 reqType; /* always RushReqCode */
20
CARD8 rushReqType; /* always X_RushQueryVersion */
22
} xXF86RushQueryVersionReq;
23
#define sz_xXF86RushQueryVersionReq 4
26
BYTE type; /* X_Reply */
28
CARD16 sequenceNumber B16;
30
CARD16 majorVersion B16; /* major version of Rush protocol */
31
CARD16 minorVersion B16; /* minor version of Rush protocol */
37
} xXF86RushQueryVersionReply;
38
#define sz_xXF86RushQueryVersionReply 32
40
typedef struct _XF86RushLockPixmap {
41
CARD8 reqType; /* always RushReqCode */
42
CARD8 rushReqType; /* always X_RushLockPixmap */
47
} xXF86RushLockPixmapReq;
48
#define sz_xXF86RushLockPixmapReq 12
53
CARD16 sequenceNumber B16;
61
} xXF86RushLockPixmapReply;
62
#define sz_xXF86RushLockPixmapReply 32
64
typedef struct _XF86RushUnlockPixmap {
65
CARD8 reqType; /* always RushReqCode */
66
CARD8 rushReqType; /* always X_RushUnlockPixmap */
71
} xXF86RushUnlockPixmapReq;
72
#define sz_xXF86RushUnlockPixmapReq 12
74
typedef struct _XF86RushUnlockAllPixmaps {
75
CARD8 reqType; /* always RushReqCode */
76
CARD8 rushReqType; /* always X_RushUnlockAllPixmaps */
78
} xXF86RushUnlockAllPixmapsReq;
79
#define sz_xXF86RushUnlockAllPixmapsReq 4
81
typedef struct _XF86RushSetCopyMode {
82
CARD8 reqType; /* always RushReqCode */
83
CARD8 rushReqType; /* always X_RushSetCopyMode */
88
} xXF86RushSetCopyModeReq;
89
#define sz_xXF86RushSetCopyModeReq 12
92
typedef struct _XF86RushSetPixelStride {
93
CARD8 reqType; /* always RushReqCode */
94
CARD8 rushReqType; /* always X_RushSetCopyMode */
98
CARD32 PixelStride B32;
99
} xXF86RushSetPixelStrideReq;
100
#define sz_xXF86RushSetPixelStrideReq 12
103
CARD8 reqType; /* always RushReqCode */
104
CARD8 rushReqType; /* always X_RushOverlayPixmap */
107
Drawable drawable B32;
119
} xXF86RushOverlayPixmapReq;
120
#define sz_xXF86RushOverlayPixmapReq 40
122
typedef struct _XF86RushStatusRegOffset {
123
CARD8 reqType; /* always RushReqCode */
124
CARD8 rushReqType; /* always X_RushStatusRegOffset */
128
} xXF86RushStatusRegOffsetReq;
129
#define sz_xXF86RushStatusRegOffsetReq 8
132
BYTE type; /* X_Reply */
134
CARD16 sequenceNumber B16;
136
CARD32 offset B32; /* Offset of Rush status reg in mem */
142
} xXF86RushStatusRegOffsetReply;
143
#define sz_xXF86RushStatusRegOffsetReply 32
145
typedef struct _XF86RushAT3DEnableRegs {
146
CARD8 reqType; /* always RushReqCode */
147
CARD8 rushReqType; /* always X_RushAT3DEnableRegs */
151
} xXF86RushAT3DEnableRegsReq;
152
#define sz_xXF86RushAT3DEnableRegsReq 8
154
typedef struct _XF86RushAT3DDisableRegs {
155
CARD8 reqType; /* always RushReqCode */
156
CARD8 rushReqType; /* always X_RushAT3DDisableRegs */
160
} xXF86RushAT3DDisableRegsReq;
161
#define sz_xXF86RushAT3DDisableRegsReq 8
163
#endif /* _XF86RUSHSTR_H_ */