1 /************************************************************
2 Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
3 Permission to use, copy, modify, and distribute this
4 software and its documentation for any purpose and without
5 fee is hereby granted, provided that the above copyright
6 notice appear in all copies and that both that copyright
7 notice and this permission notice appear in supporting
8 documentation, and that the name of Silicon Graphics not be
9 used in advertising or publicity pertaining to distribution
10 of the software without specific prior written permission.
11 Silicon Graphics makes no representation about the suitability
12 of this software for any purpose. It is provided "as is"
13 without any express or implied warranty.
14 SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
15 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16 AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
17 GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
18 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
19 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
20 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
21 THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 ********************************************************/
27 #include <X11/extensions/EVI.h>
29 #define X_EVIQueryVersion 0
30 #define X_EVIGetVisualInfo 1
32 #define VisualID CARD32
34 typedef CARD32 VisualID32;
35 #define sz_VisualID32 4
37 typedef struct _xExtendedVisualInfo {
38 VisualID core_visual_id B32;
41 CARD8 transparency_type;
43 CARD32 transparency_value B32;
44 CARD8 min_hw_colormaps;
45 CARD8 max_hw_colormaps;
46 CARD16 num_colormap_conflicts B16;
47 } xExtendedVisualInfo;
48 #define sz_xExtendedVisualInfo 16
50 typedef struct _XEVIQueryVersion {
51 CARD8 reqType; /* always XEVIReqCode */
52 CARD8 xeviReqType; /* always X_EVIQueryVersion */
54 } xEVIQueryVersionReq;
55 #define sz_xEVIQueryVersionReq 4
58 BYTE type; /* X_Reply */
60 CARD16 sequenceNumber B16;
62 CARD16 majorVersion B16; /* major version of EVI protocol */
63 CARD16 minorVersion B16; /* minor version of EVI protocol */
69 } xEVIQueryVersionReply;
70 #define sz_xEVIQueryVersionReply 32
72 typedef struct _XEVIGetVisualInfoReq {
73 CARD8 reqType; /* always XEVIReqCode */
74 CARD8 xeviReqType; /* always X_EVIGetVisualInfo */
77 } xEVIGetVisualInfoReq;
78 #define sz_xEVIGetVisualInfoReq 8
80 typedef struct _XEVIGetVisualInfoReply {
81 BYTE type; /* X_Reply */
83 CARD16 sequenceNumber B16;
86 CARD32 n_conflicts B32;
91 } xEVIGetVisualInfoReply;
92 #define sz_xEVIGetVisualInfoReply 32
96 #endif /* _EVIPROTO_H_ */