aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/glX_API.xml
blob: b7f4a777081c56694de3a6817d289f253efb0a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<OpenGLAPI>

<!-- Right now this file is just used to generate the GLX protocol
     decode tables on the server.  The only information that is needed
     for that purpose is the name of the function (or pseudo-function
     in the case of Render of VendorPrivate) and its opcode.  Once
     this file is used for other purposes, additional information will
     need to be added.
  -->

<category name="1.0" window_system="glX">
    <function name="Render">
        <glx sop="1"/>
    </function>

    <function name="RenderLarge">
        <glx sop="2"/>
    </function>

    <function name="CreateContext">
        <glx sop="3"/>
    </function>

    <function name="DestroyContext">
        <glx sop="4"/>
    </function>

    <function name="MakeCurrent">
        <glx sop="5"/>
    </function>

    <function name="IsDirect">
        <glx sop="6"/>
    </function>

    <function name="QueryVersion">
        <glx sop="7"/>
    </function>

    <function name="WaitGL">
        <glx sop="8"/>
    </function>

    <function name="WaitX">
        <glx sop="9"/>
    </function>

    <function name="CopyContext">
        <glx sop="10"/>
    </function>

    <function name="SwapBuffers">
        <glx sop="11"/>
    </function>

    <function name="UseXFont">
        <glx sop="12"/>
    </function>

    <function name="CreateGLXPixmap">
        <glx sop="13"/>
    </function>

    <function name="GetVisualConfigs">
        <glx sop="14"/>
    </function>

    <function name="DestroyGLXPixmap">
        <glx sop="15"/>
    </function>

    <function name="VendorPrivate">
        <glx sop="16"/>
    </function>

    <function name="VendorPrivateWithReply">
        <glx sop="17"/>
    </function>

    <function name="QueryExtensionsString">
        <glx sop="18"/>
    </function>
</category>

<category name="1.1" window_system="glX">
    <function name="QueryServerString">
        <glx sop="19"/>
    </function>

    <function name="ClientInfo">
        <glx sop="20"/>
    </function>
</category>

<category name="1.3" window_system="glX">
    <function name="GetFBConfigs">
        <glx sop="21"/>
    </function>

    <function name="CreatePixmap">
        <glx sop="22"/>
    </function>

    <function name="DestroyPixmap">
        <glx sop="23"/>
    </function>

    <function name="CreateNewContext">
        <glx sop="24"/>
    </function>

    <function name="QueryContext">
        <glx sop="25"/>
    </function>

    <function name="MakeContextCurrent">
        <glx sop="26"/>
    </function>

    <function name="CreatePbuffer">
        <glx sop="27"/>
    </function>

    <function name="DestroyPbuffer">
        <glx sop="28"/>
    </function>

    <function name="GetDrawableAttributes">
        <glx sop="29"/>
    </function>

    <function name="ChangeDrawableAttributes">
        <glx sop="30"/>
    </function>

    <function name="CreateWindow">
        <glx sop="31"/>
    </function>

    <function name="DestroyWindow">
        <glx sop="32"/>
    </function>
</category>

<category name="GLX_SGI_swap_control" number="40" window_system="glX">
    <function name="SwapIntervalSGI">
        <return type="int"/>
        <glx vendorpriv="65536"/>
    </function>
</category>

<category name="GLX_SGI_make_current_read" number="42" window_system="glX">
    <function name="MakeCurrentReadSGI">
<!--        <param name="dpy" type="Display *"/>
	<param name="draw" type="GLXDrawable"/>
	<param name="read" type="GLXDrawable"/>
	<param name="ctx" type="GLXContext"/> -->
        <return type="Bool"/>
        <glx vendorpriv="65537"/>
    </function>
</category>

<category name="GLX_EXT_import_context" number="47" window_system="glX">
    <function name="QueryContextInfoEXT">
        <glx vendorpriv="1024"/>
    </function>
</category>

<category name="GLX_SGIX_fbconfig" number="49" window_system="glX">
    <function name="GetFBConfigsSGIX">
        <glx vendorpriv="65540"/>
    </function>

    <function name="CreateContextWithConfigSGIX">
        <glx vendorpriv="65541"/>
    </function>

    <function name="CreateGLXPixmapWithConfigSGIX">
        <glx vendorpriv="65542"/>
    </function>
</category>

<category name="GLX_SGIX_pbuffer" number="50" window_system="glX">
    <function name="CreateGLXPbufferSGIX">
        <glx vendorpriv="65543"/>
    </function>

    <function name="DestroyGLXPbufferSGIX">
        <glx vendorpriv="65544"/>
    </function>

    <function name="ChangeDrawableAttributesSGIX">
        <glx vendorpriv="65545"/>
    </function>

    <function name="GetDrawableAttributesSGIX">
        <glx vendorpriv="65546"/>
    </function>
</category>

<category name="GLX_MESA_copy_sub_buffer" number="215">
    <function name="CopySubBufferMESA">
        <glx vendorpriv="5154"/>
    </function>
</category>

<category name="GLX_EXT_texture_from_pixmap">
    <function name="BindTexImageEXT">
        <glx vendorpriv="1330"/>
    </function>

    <function name="ReleaseTexImageEXT">
        <glx vendorpriv="1331"/>
    </function>
</category>

<category name="GLX_ARB_create_context" number="56">
    <function name="SetClientInfoARB">
        <glx sop="33"/>
    </function>

    <function name="CreateContextAttribsARB">
        <glx sop="34"/>
    </function>

    <function name="SetClientInfo2ARB">
        <glx sop="35"/>
    </function>
</category>

</OpenGLAPI>