File indexing completed on 2025-01-30 10:26:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #ifndef _EVIPROTO_H_
0025 #define _EVIPROTO_H_
0026
0027 #include <X11/extensions/EVI.h>
0028
0029 #define X_EVIQueryVersion 0
0030 #define X_EVIGetVisualInfo 1
0031
0032 #define VisualID CARD32
0033
0034 typedef CARD32 VisualID32;
0035 #define sz_VisualID32 4
0036
0037 typedef struct _xExtendedVisualInfo {
0038 VisualID core_visual_id B32;
0039 INT8 screen;
0040 INT8 level;
0041 CARD8 transparency_type;
0042 CARD8 pad0;
0043 CARD32 transparency_value B32;
0044 CARD8 min_hw_colormaps;
0045 CARD8 max_hw_colormaps;
0046 CARD16 num_colormap_conflicts B16;
0047 } xExtendedVisualInfo;
0048 #define sz_xExtendedVisualInfo 16
0049
0050 typedef struct _XEVIQueryVersion {
0051 CARD8 reqType;
0052 CARD8 xeviReqType;
0053 CARD16 length B16;
0054 } xEVIQueryVersionReq;
0055 #define sz_xEVIQueryVersionReq 4
0056
0057 typedef struct {
0058 BYTE type;
0059 CARD8 unused;
0060 CARD16 sequenceNumber B16;
0061 CARD32 length B32;
0062 CARD16 majorVersion B16;
0063 CARD16 minorVersion B16;
0064 CARD32 pad0 B32;
0065 CARD32 pad1 B32;
0066 CARD32 pad2 B32;
0067 CARD32 pad3 B32;
0068 CARD32 pad4 B32;
0069 } xEVIQueryVersionReply;
0070 #define sz_xEVIQueryVersionReply 32
0071
0072 typedef struct _XEVIGetVisualInfoReq {
0073 CARD8 reqType;
0074 CARD8 xeviReqType;
0075 CARD16 length B16;
0076 CARD32 n_visual B32;
0077 } xEVIGetVisualInfoReq;
0078 #define sz_xEVIGetVisualInfoReq 8
0079
0080 typedef struct _XEVIGetVisualInfoReply {
0081 BYTE type;
0082 CARD8 unused;
0083 CARD16 sequenceNumber B16;
0084 CARD32 length B32;
0085 CARD32 n_info B32;
0086 CARD32 n_conflicts B32;
0087 CARD32 pad0 B32;
0088 CARD32 pad1 B32;
0089 CARD32 pad2 B32;
0090 CARD32 pad3 B32;
0091 } xEVIGetVisualInfoReply;
0092 #define sz_xEVIGetVisualInfoReply 32
0093
0094 #undef VisualID
0095
0096 #endif