1bf215546Sopenharmony_ci<?xml version="1.0"?>
2bf215546Sopenharmony_ci<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_ci<OpenGLAPI>
5bf215546Sopenharmony_ci
6bf215546Sopenharmony_ci<!-- Right now this file is just used to generate the GLX protocol
7bf215546Sopenharmony_ci     decode tables on the server.  The only information that is needed
8bf215546Sopenharmony_ci     for that purpose is the name of the function (or pseudo-function
9bf215546Sopenharmony_ci     in the case of Render of VendorPrivate) and its opcode.  Once
10bf215546Sopenharmony_ci     this file is used for other purposes, additional information will
11bf215546Sopenharmony_ci     need to be added.
12bf215546Sopenharmony_ci  -->
13bf215546Sopenharmony_ci
14bf215546Sopenharmony_ci<category name="1.0" window_system="glX">
15bf215546Sopenharmony_ci    <function name="Render">
16bf215546Sopenharmony_ci        <glx sop="1"/>
17bf215546Sopenharmony_ci    </function>
18bf215546Sopenharmony_ci
19bf215546Sopenharmony_ci    <function name="RenderLarge">
20bf215546Sopenharmony_ci        <glx sop="2"/>
21bf215546Sopenharmony_ci    </function>
22bf215546Sopenharmony_ci
23bf215546Sopenharmony_ci    <function name="CreateContext">
24bf215546Sopenharmony_ci        <glx sop="3"/>
25bf215546Sopenharmony_ci    </function>
26bf215546Sopenharmony_ci
27bf215546Sopenharmony_ci    <function name="DestroyContext">
28bf215546Sopenharmony_ci        <glx sop="4"/>
29bf215546Sopenharmony_ci    </function>
30bf215546Sopenharmony_ci
31bf215546Sopenharmony_ci    <function name="MakeCurrent">
32bf215546Sopenharmony_ci        <glx sop="5"/>
33bf215546Sopenharmony_ci    </function>
34bf215546Sopenharmony_ci
35bf215546Sopenharmony_ci    <function name="IsDirect">
36bf215546Sopenharmony_ci        <glx sop="6"/>
37bf215546Sopenharmony_ci    </function>
38bf215546Sopenharmony_ci
39bf215546Sopenharmony_ci    <function name="QueryVersion">
40bf215546Sopenharmony_ci        <glx sop="7"/>
41bf215546Sopenharmony_ci    </function>
42bf215546Sopenharmony_ci
43bf215546Sopenharmony_ci    <function name="WaitGL">
44bf215546Sopenharmony_ci        <glx sop="8"/>
45bf215546Sopenharmony_ci    </function>
46bf215546Sopenharmony_ci
47bf215546Sopenharmony_ci    <function name="WaitX">
48bf215546Sopenharmony_ci        <glx sop="9"/>
49bf215546Sopenharmony_ci    </function>
50bf215546Sopenharmony_ci
51bf215546Sopenharmony_ci    <function name="CopyContext">
52bf215546Sopenharmony_ci        <glx sop="10"/>
53bf215546Sopenharmony_ci    </function>
54bf215546Sopenharmony_ci
55bf215546Sopenharmony_ci    <function name="SwapBuffers">
56bf215546Sopenharmony_ci        <glx sop="11"/>
57bf215546Sopenharmony_ci    </function>
58bf215546Sopenharmony_ci
59bf215546Sopenharmony_ci    <function name="UseXFont">
60bf215546Sopenharmony_ci        <glx sop="12"/>
61bf215546Sopenharmony_ci    </function>
62bf215546Sopenharmony_ci
63bf215546Sopenharmony_ci    <function name="CreateGLXPixmap">
64bf215546Sopenharmony_ci        <glx sop="13"/>
65bf215546Sopenharmony_ci    </function>
66bf215546Sopenharmony_ci
67bf215546Sopenharmony_ci    <function name="GetVisualConfigs">
68bf215546Sopenharmony_ci        <glx sop="14"/>
69bf215546Sopenharmony_ci    </function>
70bf215546Sopenharmony_ci
71bf215546Sopenharmony_ci    <function name="DestroyGLXPixmap">
72bf215546Sopenharmony_ci        <glx sop="15"/>
73bf215546Sopenharmony_ci    </function>
74bf215546Sopenharmony_ci
75bf215546Sopenharmony_ci    <function name="VendorPrivate">
76bf215546Sopenharmony_ci        <glx sop="16"/>
77bf215546Sopenharmony_ci    </function>
78bf215546Sopenharmony_ci
79bf215546Sopenharmony_ci    <function name="VendorPrivateWithReply">
80bf215546Sopenharmony_ci        <glx sop="17"/>
81bf215546Sopenharmony_ci    </function>
82bf215546Sopenharmony_ci
83bf215546Sopenharmony_ci    <function name="QueryExtensionsString">
84bf215546Sopenharmony_ci        <glx sop="18"/>
85bf215546Sopenharmony_ci    </function>
86bf215546Sopenharmony_ci</category>
87bf215546Sopenharmony_ci
88bf215546Sopenharmony_ci<category name="1.1" window_system="glX">
89bf215546Sopenharmony_ci    <function name="QueryServerString">
90bf215546Sopenharmony_ci        <glx sop="19"/>
91bf215546Sopenharmony_ci    </function>
92bf215546Sopenharmony_ci
93bf215546Sopenharmony_ci    <function name="ClientInfo">
94bf215546Sopenharmony_ci        <glx sop="20"/>
95bf215546Sopenharmony_ci    </function>
96bf215546Sopenharmony_ci</category>
97bf215546Sopenharmony_ci
98bf215546Sopenharmony_ci<category name="1.3" window_system="glX">
99bf215546Sopenharmony_ci    <function name="GetFBConfigs">
100bf215546Sopenharmony_ci        <glx sop="21"/>
101bf215546Sopenharmony_ci    </function>
102bf215546Sopenharmony_ci
103bf215546Sopenharmony_ci    <function name="CreatePixmap">
104bf215546Sopenharmony_ci        <glx sop="22"/>
105bf215546Sopenharmony_ci    </function>
106bf215546Sopenharmony_ci
107bf215546Sopenharmony_ci    <function name="DestroyPixmap">
108bf215546Sopenharmony_ci        <glx sop="23"/>
109bf215546Sopenharmony_ci    </function>
110bf215546Sopenharmony_ci
111bf215546Sopenharmony_ci    <function name="CreateNewContext">
112bf215546Sopenharmony_ci        <glx sop="24"/>
113bf215546Sopenharmony_ci    </function>
114bf215546Sopenharmony_ci
115bf215546Sopenharmony_ci    <function name="QueryContext">
116bf215546Sopenharmony_ci        <glx sop="25"/>
117bf215546Sopenharmony_ci    </function>
118bf215546Sopenharmony_ci
119bf215546Sopenharmony_ci    <function name="MakeContextCurrent">
120bf215546Sopenharmony_ci        <glx sop="26"/>
121bf215546Sopenharmony_ci    </function>
122bf215546Sopenharmony_ci
123bf215546Sopenharmony_ci    <function name="CreatePbuffer">
124bf215546Sopenharmony_ci        <glx sop="27"/>
125bf215546Sopenharmony_ci    </function>
126bf215546Sopenharmony_ci
127bf215546Sopenharmony_ci    <function name="DestroyPbuffer">
128bf215546Sopenharmony_ci        <glx sop="28"/>
129bf215546Sopenharmony_ci    </function>
130bf215546Sopenharmony_ci
131bf215546Sopenharmony_ci    <function name="GetDrawableAttributes">
132bf215546Sopenharmony_ci        <glx sop="29"/>
133bf215546Sopenharmony_ci    </function>
134bf215546Sopenharmony_ci
135bf215546Sopenharmony_ci    <function name="ChangeDrawableAttributes">
136bf215546Sopenharmony_ci        <glx sop="30"/>
137bf215546Sopenharmony_ci    </function>
138bf215546Sopenharmony_ci
139bf215546Sopenharmony_ci    <function name="CreateWindow">
140bf215546Sopenharmony_ci        <glx sop="31"/>
141bf215546Sopenharmony_ci    </function>
142bf215546Sopenharmony_ci
143bf215546Sopenharmony_ci    <function name="DestroyWindow">
144bf215546Sopenharmony_ci        <glx sop="32"/>
145bf215546Sopenharmony_ci    </function>
146bf215546Sopenharmony_ci</category>
147bf215546Sopenharmony_ci
148bf215546Sopenharmony_ci<category name="GLX_SGI_swap_control" number="40" window_system="glX">
149bf215546Sopenharmony_ci    <function name="SwapIntervalSGI">
150bf215546Sopenharmony_ci        <return type="int"/>
151bf215546Sopenharmony_ci        <glx vendorpriv="65536"/>
152bf215546Sopenharmony_ci    </function>
153bf215546Sopenharmony_ci</category>
154bf215546Sopenharmony_ci
155bf215546Sopenharmony_ci<category name="GLX_SGI_make_current_read" number="42" window_system="glX">
156bf215546Sopenharmony_ci    <function name="MakeCurrentReadSGI">
157bf215546Sopenharmony_ci<!--        <param name="dpy" type="Display *"/>
158bf215546Sopenharmony_ci	<param name="draw" type="GLXDrawable"/>
159bf215546Sopenharmony_ci	<param name="read" type="GLXDrawable"/>
160bf215546Sopenharmony_ci	<param name="ctx" type="GLXContext"/> -->
161bf215546Sopenharmony_ci        <return type="Bool"/>
162bf215546Sopenharmony_ci        <glx vendorpriv="65537"/>
163bf215546Sopenharmony_ci    </function>
164bf215546Sopenharmony_ci</category>
165bf215546Sopenharmony_ci
166bf215546Sopenharmony_ci<category name="GLX_EXT_import_context" number="47" window_system="glX">
167bf215546Sopenharmony_ci    <function name="QueryContextInfoEXT">
168bf215546Sopenharmony_ci        <glx vendorpriv="1024"/>
169bf215546Sopenharmony_ci    </function>
170bf215546Sopenharmony_ci</category>
171bf215546Sopenharmony_ci
172bf215546Sopenharmony_ci<category name="GLX_SGIX_fbconfig" number="49" window_system="glX">
173bf215546Sopenharmony_ci    <function name="GetFBConfigsSGIX">
174bf215546Sopenharmony_ci        <glx vendorpriv="65540"/>
175bf215546Sopenharmony_ci    </function>
176bf215546Sopenharmony_ci
177bf215546Sopenharmony_ci    <function name="CreateContextWithConfigSGIX">
178bf215546Sopenharmony_ci        <glx vendorpriv="65541"/>
179bf215546Sopenharmony_ci    </function>
180bf215546Sopenharmony_ci
181bf215546Sopenharmony_ci    <function name="CreateGLXPixmapWithConfigSGIX">
182bf215546Sopenharmony_ci        <glx vendorpriv="65542"/>
183bf215546Sopenharmony_ci    </function>
184bf215546Sopenharmony_ci</category>
185bf215546Sopenharmony_ci
186bf215546Sopenharmony_ci<category name="GLX_SGIX_pbuffer" number="50" window_system="glX">
187bf215546Sopenharmony_ci    <function name="CreateGLXPbufferSGIX">
188bf215546Sopenharmony_ci        <glx vendorpriv="65543"/>
189bf215546Sopenharmony_ci    </function>
190bf215546Sopenharmony_ci
191bf215546Sopenharmony_ci    <function name="DestroyGLXPbufferSGIX">
192bf215546Sopenharmony_ci        <glx vendorpriv="65544"/>
193bf215546Sopenharmony_ci    </function>
194bf215546Sopenharmony_ci
195bf215546Sopenharmony_ci    <function name="ChangeDrawableAttributesSGIX">
196bf215546Sopenharmony_ci        <glx vendorpriv="65545"/>
197bf215546Sopenharmony_ci    </function>
198bf215546Sopenharmony_ci
199bf215546Sopenharmony_ci    <function name="GetDrawableAttributesSGIX">
200bf215546Sopenharmony_ci        <glx vendorpriv="65546"/>
201bf215546Sopenharmony_ci    </function>
202bf215546Sopenharmony_ci</category>
203bf215546Sopenharmony_ci
204bf215546Sopenharmony_ci<category name="GLX_MESA_copy_sub_buffer" number="215" window_system="glX">
205bf215546Sopenharmony_ci    <function name="CopySubBufferMESA">
206bf215546Sopenharmony_ci        <glx vendorpriv="5154"/>
207bf215546Sopenharmony_ci    </function>
208bf215546Sopenharmony_ci</category>
209bf215546Sopenharmony_ci
210bf215546Sopenharmony_ci<category name="GLX_EXT_texture_from_pixmap" window_system="glX">
211bf215546Sopenharmony_ci    <function name="BindTexImageEXT">
212bf215546Sopenharmony_ci        <glx vendorpriv="1330"/>
213bf215546Sopenharmony_ci    </function>
214bf215546Sopenharmony_ci
215bf215546Sopenharmony_ci    <function name="ReleaseTexImageEXT">
216bf215546Sopenharmony_ci        <glx vendorpriv="1331"/>
217bf215546Sopenharmony_ci    </function>
218bf215546Sopenharmony_ci</category>
219bf215546Sopenharmony_ci
220bf215546Sopenharmony_ci<category name="GLX_ARB_create_context" number="56" window_system="glX">
221bf215546Sopenharmony_ci    <function name="SetClientInfoARB">
222bf215546Sopenharmony_ci        <glx sop="33"/>
223bf215546Sopenharmony_ci    </function>
224bf215546Sopenharmony_ci
225bf215546Sopenharmony_ci    <function name="CreateContextAttribsARB">
226bf215546Sopenharmony_ci        <glx sop="34"/>
227bf215546Sopenharmony_ci    </function>
228bf215546Sopenharmony_ci
229bf215546Sopenharmony_ci    <function name="SetClientInfo2ARB">
230bf215546Sopenharmony_ci        <glx sop="35"/>
231bf215546Sopenharmony_ci    </function>
232bf215546Sopenharmony_ci</category>
233bf215546Sopenharmony_ci
234bf215546Sopenharmony_ci</OpenGLAPI>
235