1 # Copyright (C) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
3 # This document is licensed under the SGI Free Software B License Version
4 # 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
8 dlflags: notlistable handcode nop
9 glxflags: client-handcode server-handcode
12 category: pixel-rw bgn-end display-list drawing drawing-control feedback framebuf misc modeling pixel-op pixel-rw state-req xform glx glxopcode
15 ###############################################################################
19 ###############################################################################
24 glxflags client-handcode server-handcode
32 glxflags client-handcode server-handcode
36 CreateContext(dpy, visual, share_list, direct)
38 param dpy DisplayPointer in value
39 param visual XVisualInfoPointer in value
40 param share_list GLXContext in value
41 param direct Bool in value
42 glxflags client-handcode server-handcode
48 DestroyContext(dpy, ctx)
50 param dpy DisplayPointer in value
51 param ctx GLXContext in value
52 glxflags client-handcode server-handcode
58 MakeCurrent(dpy, drawable, ctx)
60 param dpy DisplayPointer in value
61 param drawable GLXDrawable in value
62 param ctx GLXContext in value
70 param dpy DisplayPointer in value
71 param ctx GLXContext in value
72 glxflags client-handcode server-handcode
78 QueryVersion(dpy, major, minor)
80 param dpy DisplayPointer in value
81 param major int out reference
82 param minor int out reference
85 glxflags client-handcode server-handcode
93 glxflags client-handcode server-handcode
101 glxflags client-handcode server-handcode
105 CopyContext(dpy, source, dest, mask)
107 param dpy DisplayPointer in value
108 param source GLXContext in value
109 param dest GLXContext in value
110 param mask ulong in value
113 glxflags client-handcode server-handcode
117 SwapBuffers(dpy, drawable)
119 param dpy DisplayPointer in value
120 param drawable GLXDrawable in value
123 glxflags client-handcode server-handcode
127 UseXFont(font, first, count, list_base)
129 param font Font in value
130 param first int in value
131 param count int in value
132 param list_base int in value
135 glxflags client-handcode server-handcode
139 CreateGLXPixmap(dpy, visual, pixmap)
141 param dpy DisplayPointer in value
142 param visual XVisualInfoPointer in value
143 param pixmap Pixmap in value
146 glxflags client-handcode server-handcode
153 glxflags client-handcode server-handcode
157 DestroyGLXPixmap(dpy, pixmap)
159 param dpy DisplayPointer in value
160 param pixmap GLXPixmap in value
161 glxflags client-handcode
169 glxflags client-handcode server-handcode
175 VendorPrivateWithReply()
177 glxflags client-handcode server-handcode
182 ###############################################################################
186 ###############################################################################
187 QueryExtensionsString(dpy, screen)
189 param dpy DisplayPointer in value
190 param screen int in value
191 glxflags client-handcode server-handcode
196 QueryServerString(dpy, screen, name)
198 param dpy DisplayPointer in value
199 param screen int in value
200 param name int in value
201 glxflags client-handcode server-handcode
208 glxflags client-handcode server-handcode
213 ###############################################################################
217 ###############################################################################
218 GetFBConfigs(dpy, screen, nelements)
219 return GLXFBConfigPointer
220 param dpy DisplayPointer in value
221 param screen int in value
222 param nelements int out reference
225 glxflags client-handcode server-handcode
228 CreatePixmap(dpy, config, pixmap, attriblist)
230 param dpy DisplayPointer in value
231 param config GLXFBConfig in value
232 param pixmap Pixmap in value
233 param attriblist int in array
235 glxflags client-handcode server-handcode
239 DestroyPixmap(dpy, pixmap)
241 param dpy DisplayPointer in value
242 param pixmap Pixmap in value
244 glxflags client-handcode server-handcode
248 CreateNewContext(dpy, config, render_type, share_list, direct)
250 param dpy DisplayPointer in value
251 param config GLXFBConfig in value
252 param render_type int in value
253 param share_list GLXContext in value
254 param direct Bool in value
256 glxflags client-handcode server-handcode
260 QueryContext(dpy, context, attribute, value)
262 param dpy DisplayPointer in value
263 param context GLXContext in value
264 param attribute int in value
265 param value int out reference
267 glxflags client-handcode server-handcode
271 MakeContextCurrent(dpy, drawdrawable, readdrawable, context)
273 param dpy DisplayPointer in value
274 param drawdrawable GLXDrawable in value
275 param readdrawable GLXDrawable in value
276 param context GLXContext in value
278 glxflags client-handcode server-handcode
282 CreatePbuffer(dpy, config, attrib_list)
284 param dpy DisplayPointer in value
285 param config GLXFBConfig in value
286 param attrib_list int in array
288 glxflags client-handcode server-handcode
292 DestroyPbuffer(dpy, pbuffer)
294 param dpy DisplayPointer in value
295 param pbuffer GLXPbuffer in value
297 glxflags client-handcode
301 GetDrawableAttributes(drawable)
303 param drawable int in value
305 glxflags client-handcode server-handcode
309 ChangeDrawableAttributes(drawable)
311 param drawable int in value
313 glxflags client-handcode server-handcode
317 CreateWindow(dpy, config, window, attrib_list)
319 param dpy DisplayPointer in value
320 param config GLXFBConfig in value
321 param window Window in value
322 param attrib_list int in array
324 glxflags client-handcode server-handcode
328 DestroyWindow(dpy, window)
330 param dpy DisplayPointer in value
331 param window Window in value
333 glxflags client-handcode server-handcode
337 ChooseVisual(dpy, screen, attriblist)
338 return XVisualInfoPointer
339 param dpy DisplayPointer in value
340 param screen int in value
341 param attriblist int out array
344 ###############################################################################
346 # IRIX5.3 extension commands
348 ###############################################################################
350 ###############################################################################
352 # SGI_swap_control extension commands
354 ###############################################################################
357 glxflags client-handcode server-handcode
362 ###############################################################################
364 # IRIX5.3-PATCH154 extension commands
366 ###############################################################################
368 ###############################################################################
370 # SGI_make_current_read extension commands
372 ###############################################################################
373 MakeCurrentReadSGI(drawable, readdrawable, context)
375 param drawable Int32 in value
376 param readdrawable Int32 in value
377 param context Int32 in value
378 glxflags client-handcode server-handcode
383 ###############################################################################
385 # SGIX_video_source extension commands
387 ###############################################################################
388 CreateGLXVideoSourceSGIX(dpy, screen, server, path, class, node)
390 param dpy Int32 in value
391 param screen Int32 in value
392 param server Int32 in value
393 param path Int32 in value
394 param class Int32 in value
395 param node Int32 in value
396 glxflags client-handcode server-handcode
401 DestroyGLXVideoSourceSGIX(dpy, glxvideosource)
403 param dpy Int32 in value
404 param glxvideosource Int32 in value
405 glxflags client-handcode server-handcode
410 ###############################################################################
412 # IRIX6.2 extension commands
414 ###############################################################################
416 ###############################################################################
418 # EXT_import_context extension commands
420 ###############################################################################
421 QueryContextInfoEXT(dpy, context, attribute, value)
423 param dpy DisplayPointer in value
424 param context GLXContext in value
425 param attribute Int32 in value
426 param value Int32 out reference
429 glxflags client-handcode server-handcode
432 ###############################################################################
434 # SGIX_fbconfig extension commands
436 ###############################################################################
441 glxflags client-handcode server-handcode
444 CreateContextWithConfigSGIX(dpy, config, renderType, share_list, allow_direct)
446 param dpy DisplayPointer in value
447 param config GLXFBConfigSGIX in value
448 param renderType Int32 in value
449 param share_list GLXContext in value
450 param allow_direct Bool in value
451 glxflags client-handcode server-handcode
456 CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap, attriblist)
458 param dpy DisplayPointer in value
459 param config GLXFBConfigSGIX in value
460 param pixmap Pixmap in value
461 param attriblist Int32 in array
464 glxflags client-handcode server-handcode
467 ###############################################################################
469 # SGIX_pbuffer extension commands
471 ###############################################################################
473 CreateGLXPbufferSGIX(dpy, config, width, height, attriblist)
475 param dpy DisplayPointer in value
476 param config GLXFBConfig in value
477 param width UInt32 in value
478 param height UInt32 in value
479 param attriblist Int32 in array
481 glxflags client-handcode server-handcode
485 DestroyGLXPbufferSGIX(dpy, pbuffer)
487 param dpy DisplayPointer in value
488 param pbuffer GLXPbuffer in value
490 glxflags client-handcode
494 ChangeDrawableAttributesSGIX(drawable)
496 param drawable Int32 in value
498 glxflags client-handcode server-handcode
502 GetDrawableAttributesSGIX(drawable)
504 param drawable Int32 in value
506 glxflags client-handcode server-handcode
510 ###############################################################################
512 # SGIX_swap_group extension commands
514 ###############################################################################
516 JoinSwapGroupSGIX(dpy, drawable, member)
518 param dpy DisplayPointer in value
519 param drawable GLXDrawable in value
520 param member GLXDrawable in value
521 glxflags client-handcode server-handcode
526 ###############################################################################
528 # SGIX_swap_barrier extension commands
530 ###############################################################################
532 BindSwapBarrierSGIX(dpy, drawable, barrier)
534 param dpy DisplayPointer in value
535 param drawable GLXDrawable in value
536 param barrier Int32 in value
537 glxflags client-handcode server-handcode
542 QueryMaxSwapBarriersSGIX(dpy, screen, max)
544 param dpy DisplayPointer in value
545 param screen Int32 in value
546 param max Int32 out value
547 glxflags client-handcode server-handcode
552 ###############################################################################
554 # SGIX_hyperpipe extension commands
556 ###############################################################################
558 QueryHyperpipeNetworkSGIX(dpy, npipes)
559 return GLXHyperpipeNetworkPointer
560 param dpy Display out reference
561 param npipes int out reference
562 glxflags client-handcode server-handcode
567 HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, hpId)
569 param dpy Display out reference
570 param networkId int in value
571 param npipes int in value
572 param cfg GLXHyperpipeConfig in array[npipes]
573 param hpId int out reference
574 glxflags client-handcode server-handcode
579 QueryHyperpipeConfigSGIX(dpy, hpId, npipes)
580 return GLXHyperpipeConfigPointer
581 param dpy Display out reference
582 param hpId int in value
583 param npipes int out reference
584 glxflags client-handcode server-handcode
589 DestroyHyperpipeConfigSGIX(dpy, hpId)
591 param dpy Display out reference
592 param hpId int in value
593 glxflags client-handcode server-handcode
598 BindHyperpipeSGIX(dpy, hpId)
600 param dpy Display out reference
601 param hpId int in value
602 glxflags client-handcode server-handcode
607 QueryHyperpipeBestAttribSGIX(dpy, timeSlice, attrib, size, attribList, returnAttribList)
609 param dpy Display out reference
610 param timeSlice int in value
611 param attrib int in value
612 param size int in value
613 param attribList Void in array[size]
614 param returnAttribList Void out array[size]
615 glxflags client-handcode server-handcode
620 HyperpipeAttribSGIX(dpy, timeSlice, attrib, size, attribList)
622 param dpy Display out reference
623 param timeSlice int in value
624 param attrib int in value
625 param size int in value
626 param attribList void in array[size]
627 glxflags client-handcode server-handcode
632 QueryHyperpipeAttribSGIX(dpy, timeSlice, attrib, size, returnAttribList)
634 param dpy Display out reference
635 param timeSlice int in value
636 param attrib int in value
637 param size int in value
638 param returnAttribList void in array[size]
639 glxflags client-handcode server-handcode