1 | /*
|
---|
2 | * Copyright © 2009 Red Hat, Inc.
|
---|
3 | *
|
---|
4 | * Permission is hereby granted, free of charge, to any person obtaining a
|
---|
5 | * copy of this software and associated documentation files (the "Software"),
|
---|
6 | * to deal in the Software without restriction, including without limitation
|
---|
7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
---|
8 | * and/or sell copies of the Software, and to permit persons to whom the
|
---|
9 | * Software is furnished to do so, subject to the following conditions:
|
---|
10 | *
|
---|
11 | * The above copyright notice and this permission notice (including the next
|
---|
12 | * paragraph) shall be included in all copies or substantial portions of the
|
---|
13 | * Software.
|
---|
14 | *
|
---|
15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
---|
18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
---|
19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
---|
20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
---|
21 | * DEALINGS IN THE SOFTWARE.
|
---|
22 | *
|
---|
23 | */
|
---|
24 |
|
---|
25 | /**
|
---|
26 | * This file specifies the server-supported protocol versions.
|
---|
27 | */
|
---|
28 | #ifndef _PROTOCOL_VERSIONS_
|
---|
29 | #define _PROTOCOL_VERSIONS_
|
---|
30 |
|
---|
31 | /* Apple DRI */
|
---|
32 | #define SERVER_APPLEDRI_MAJOR_VERSION 1
|
---|
33 | #define SERVER_APPLEDRI_MINOR_VERSION 0
|
---|
34 | #define SERVER_APPLEDRI_PATCH_VERSION 0
|
---|
35 |
|
---|
36 | /* AppleWM */
|
---|
37 | #define SERVER_APPLEWM_MAJOR_VERSION 1
|
---|
38 | #define SERVER_APPLEWM_MINOR_VERSION 3
|
---|
39 | #define SERVER_APPLEWM_PATCH_VERSION 0
|
---|
40 |
|
---|
41 | /* Composite */
|
---|
42 | #define SERVER_COMPOSITE_MAJOR_VERSION 0
|
---|
43 | #define SERVER_COMPOSITE_MINOR_VERSION 4
|
---|
44 |
|
---|
45 | /* Damage */
|
---|
46 | #define SERVER_DAMAGE_MAJOR_VERSION 1
|
---|
47 | #define SERVER_DAMAGE_MINOR_VERSION 1
|
---|
48 |
|
---|
49 | /* DMX */
|
---|
50 | #define SERVER_DMX_MAJOR_VERSION 2
|
---|
51 | #define SERVER_DMX_MINOR_VERSION 2
|
---|
52 | #define SERVER_DMX_PATCH_VERSION 20040604
|
---|
53 |
|
---|
54 | /* Generic event extension */
|
---|
55 | #define SERVER_GE_MAJOR_VERSION 1
|
---|
56 | #define SERVER_GE_MINOR_VERSION 0
|
---|
57 |
|
---|
58 | /* GLX */
|
---|
59 | #define SERVER_GLX_MAJOR_VERSION 1
|
---|
60 | #define SERVER_GLX_MINOR_VERSION 4
|
---|
61 |
|
---|
62 | /* Xinerama */
|
---|
63 | #define SERVER_PANORAMIX_MAJOR_VERSION 1
|
---|
64 | #define SERVER_PANORAMIX_MINOR_VERSION 1
|
---|
65 |
|
---|
66 | /* RandR */
|
---|
67 | #define SERVER_RANDR_MAJOR_VERSION 1
|
---|
68 | #define SERVER_RANDR_MINOR_VERSION 3
|
---|
69 |
|
---|
70 | /* Record */
|
---|
71 | #define SERVER_RECORD_MAJOR_VERSION 1
|
---|
72 | #define SERVER_RECORD_MINOR_VERSION 13
|
---|
73 |
|
---|
74 | /* Render */
|
---|
75 | #define SERVER_RENDER_MAJOR_VERSION 0
|
---|
76 | #define SERVER_RENDER_MINOR_VERSION 11
|
---|
77 |
|
---|
78 | /* RandR Xinerama */
|
---|
79 | #define SERVER_RRXINERAMA_MAJOR_VERSION 1
|
---|
80 | #define SERVER_RRXINERAMA_MINOR_VERSION 1
|
---|
81 |
|
---|
82 | /* Screensaver */
|
---|
83 | #define SERVER_SAVER_MAJOR_VERSION 1
|
---|
84 | #define SERVER_SAVER_MINOR_VERSION 1
|
---|
85 |
|
---|
86 | /* Security */
|
---|
87 | #define SERVER_SECURITY_MAJOR_VERSION 1
|
---|
88 | #define SERVER_SECURITY_MINOR_VERSION 0
|
---|
89 |
|
---|
90 | /* Shape */
|
---|
91 | #define SERVER_SHAPE_MAJOR_VERSION 1
|
---|
92 | #define SERVER_SHAPE_MINOR_VERSION 1
|
---|
93 |
|
---|
94 | /* SHM */
|
---|
95 | #define SERVER_SHM_MAJOR_VERSION 1
|
---|
96 | #define SERVER_SHM_MINOR_VERSION 1
|
---|
97 |
|
---|
98 | /* Sync */
|
---|
99 | #define SERVER_SYNC_MAJOR_VERSION 3
|
---|
100 | #define SERVER_SYNC_MINOR_VERSION 1
|
---|
101 |
|
---|
102 | /* Windows WM */
|
---|
103 | #define SERVER_WINDOWSWM_MAJOR_VERSION 1
|
---|
104 | #define SERVER_WINDOWSWM_MINOR_VERSION 0
|
---|
105 | #define SERVER_WINDOWSWM_PATCH_VERSION 0
|
---|
106 |
|
---|
107 | /* Xcalibrate */
|
---|
108 | #define SERVER_XCALIBRATE_MAJOR_VERSION 0
|
---|
109 | #define SERVER_XCALIBRATE_MINOR_VERSION 1
|
---|
110 |
|
---|
111 | /* DGA */
|
---|
112 | #define SERVER_XDGA_MAJOR_VERSION 2
|
---|
113 | #define SERVER_XDGA_MINOR_VERSION 0
|
---|
114 |
|
---|
115 | /* Big Font */
|
---|
116 | #define SERVER_XF86BIGFONT_MAJOR_VERSION 1
|
---|
117 | #define SERVER_XF86BIGFONT_MINOR_VERSION 1
|
---|
118 |
|
---|
119 | /* DRI */
|
---|
120 | #define SERVER_XF86DRI_MAJOR_VERSION 4
|
---|
121 | #define SERVER_XF86DRI_MINOR_VERSION 1
|
---|
122 | #define SERVER_XF86DRI_PATCH_VERSION 20040604
|
---|
123 |
|
---|
124 | /* Vidmode */
|
---|
125 | #define SERVER_XF86VIDMODE_MAJOR_VERSION 2
|
---|
126 | #define SERVER_XF86VIDMODE_MINOR_VERSION 2
|
---|
127 |
|
---|
128 | /* Fixes */
|
---|
129 | #define SERVER_XFIXES_MAJOR_VERSION 4
|
---|
130 | #define SERVER_XFIXES_MINOR_VERSION 0
|
---|
131 |
|
---|
132 | /* X Input */
|
---|
133 | #define SERVER_XI_MAJOR_VERSION 2
|
---|
134 | #define SERVER_XI_MINOR_VERSION 0
|
---|
135 |
|
---|
136 | /* XKB */
|
---|
137 | #define SERVER_XKB_MAJOR_VERSION 1
|
---|
138 | #define SERVER_XKB_MINOR_VERSION 0
|
---|
139 |
|
---|
140 | /* Resource */
|
---|
141 | #define SERVER_XRES_MAJOR_VERSION 1
|
---|
142 | #define SERVER_XRES_MINOR_VERSION 0
|
---|
143 |
|
---|
144 | /* XvMC */
|
---|
145 | #define SERVER_XVMC_MAJOR_VERSION 1
|
---|
146 | #define SERVER_XVMC_MINOR_VERSION 1
|
---|
147 |
|
---|
148 | #endif
|
---|