1 # Copyright (c) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
2 # Copyright (c) 2006-2010 The Khronos Group, Inc.
4 # This document is licensed under the SGI Free Software B License Version
5 # 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
7 # $Revision: 17025 $ on $Date: 2012-03-05 03:01:59 -0800 (Mon, 05 Mar 2012) $
10 param: retval retained
11 dlflags: notlistable handcode nop
12 glxflags: client-handcode server-handcode
15 category: pixel-rw bgn-end display-list drawing drawing-control feedback framebuf misc modeling pixel-op pixel-rw state-req xform glx glxopcode
18 ###############################################################################
22 ###############################################################################
23 ChooseVisual(dpy, screen, attribList)
24 return XVisualInfoPointer
25 param dpy Display in reference
26 param screen Int32 in value
27 param attribList Int32 in array[]
30 GetConfig(dpy, vis, attrib, value)
32 param dpy Display in reference
33 param vis XVisualInfo in reference
34 param attrib Int32 in value
35 param value Int32 out reference
38 QueryExtension(dpy, errorBase, eventBase)
40 param dpy Display in reference
41 param errorBase Int32 out reference
42 param eventBase Int32 out reference
45 GetClientString(dpy, name)
47 param dpy Display in reference
48 param name Int32 in value
51 GetCurrentDrawable(dpy, name)
56 ###############################################################################
60 ###############################################################################
66 glxflags client-handcode server-handcode
74 glxflags client-handcode server-handcode
78 CreateContext(dpy, vis, shareList, direct)
80 param dpy Display in reference
81 param vis XVisualInfo in reference
82 param shareList GLXContext in value
83 param direct Bool in value
84 glxflags client-handcode server-handcode
90 DestroyContext(dpy, context)
92 param dpy Display in reference
93 param context GLXContext in value
94 glxflags client-handcode server-handcode
100 MakeCurrent(dpy, drawable, context)
102 param dpy Display in reference
103 param drawable GLXDrawable in value
104 param context GLXContext in value
105 glxflags client-handcode server-handcode
115 IsDirect(dpy, context)
117 param dpy Display in reference
118 param context GLXContext in value
119 glxflags client-handcode server-handcode
125 QueryVersion(dpy, major, minor)
127 param dpy Display in reference
128 param major Int32 out reference
129 param minor Int32 out reference
132 glxflags client-handcode server-handcode
140 glxflags client-handcode server-handcode
148 glxflags client-handcode server-handcode
152 CopyContext(dpy, source, dest, mask)
154 param dpy Display in reference
155 param source GLXContext in value
156 param dest GLXContext in value
157 param mask ulong in value
160 glxflags client-handcode server-handcode
164 SwapBuffers(dpy, drawable)
166 param dpy Display in reference
167 param drawable GLXDrawable in value
170 glxflags client-handcode server-handcode
174 UseXFont(font, first, count, list_base)
176 param font Font in value
177 param first Int32 in value
178 param count Int32 in value
179 param list_base Int32 in value
182 glxflags client-handcode server-handcode
186 CreateGLXPixmap(dpy, visual, pixmap)
188 param dpy Display in reference
189 param visual XVisualInfo in reference
190 param pixmap Pixmap in value
193 glxflags client-handcode server-handcode
200 glxflags client-handcode server-handcode
204 DestroyGLXPixmap(dpy, pixmap)
206 param dpy Display in reference
207 param pixmap GLXPixmap in value
208 glxflags client-handcode
216 glxflags client-handcode server-handcode
222 VendorPrivateWithReply()
224 glxflags client-handcode server-handcode
229 ###############################################################################
233 ###############################################################################
234 QueryExtensionsString(dpy, screen)
236 param dpy Display in reference
237 param screen Int32 in value
238 glxflags client-handcode server-handcode
243 QueryServerString(dpy, screen, name)
245 param dpy Display in reference
246 param screen Int32 in value
247 param name Int32 in value
248 glxflags client-handcode server-handcode
255 glxflags client-handcode server-handcode
260 ###############################################################################
264 ###############################################################################
265 # defined in glxext.spec
269 # dlflags notlistable
270 # glxflags client-handcode server-handcode
273 # defined in glxext.spec
274 #CreatePixmap(config, pixmap, glxpixmap)
276 # param config Int32 in value
277 # param pixmap Int32 in value
278 # param glxpixmap Int32 in value
279 # dlflags notlistable
280 # glxflags client-handcode server-handcode
284 # defined in glxext.spec
285 #DestroyPixmap(glxpixmap)
287 # param glxpixmap Int32 in value
288 # dlflags notlistable
289 # glxflags client-handcode server-handcode
293 # defined in glxext.spec
294 #CreateNewContext(config, render_type, share_list, direct)
296 # param config Int32 in value
297 # param render_type Int32 in value
298 # param share_list Int32 in value
299 # param direct Int32 in value
300 # dlflags notlistable
301 # glxflags client-handcode server-handcode
305 # defined in glxext.spec
308 # dlflags notlistable
309 # glxflags client-handcode server-handcode
313 # defined in glxext.spec
314 #MakeContextCurrent(drawable, readdrawable, context)
316 # param drawable GLXDrawable in value
317 # param readdrawable GLXDrawable in value
318 # param context Int32 in value
319 # dlflags notlistable
320 # glxflags client-handcode server-handcode
324 # defined in glxext.spec
325 #CreatePbuffer(config, pbuffer)
327 # param config Int32 in value
328 # param pbuffer Int32 in value
329 # dlflags notlistable
330 # glxflags client-handcode server-handcode
334 # defined in glxext.spec
335 #DestroyPbuffer(pbuffer)
337 # param pbuffer Int32 in value
338 # dlflags notlistable
339 # glxflags client-handcode
343 # this func seems dead
344 GetDrawableAttributes(drawable)
346 param drawable GLXDrawable in value
348 glxflags client-handcode server-handcode
352 # this func seems dead
353 ChangeDrawableAttributes(drawable)
355 param drawable GLXDrawable in value
357 glxflags client-handcode server-handcode
361 # defined in glxext.spec
362 #CreateWindow(config, window, glxwindow)
364 # param config Int32 in value
365 # param window Int32 in value
366 # param glxwindow Int32 in value
367 # dlflags notlistable
368 # glxflags client-handcode server-handcode
372 # defined in glxext.spec
373 #DestroyWindow(glxwindow)
375 # param glxwindow Int32 in value
376 # dlflags notlistable
377 # glxflags client-handcode server-handcode
381 ###############################################################################
383 # EXT_import_context extension commands
385 ###############################################################################
386 # defined in glxext.spec
387 #QueryContextInfoEXT()
390 # dlflags notlistable
391 # glxflags client-handcode server-handcode