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 ###############################################################################
27 glxflags client
-handcode server
-handcode
35 glxflags client
-handcode server
-handcode
39 CreateContext
(gc_id
, screen
, visual
, share_list
)
41 param gc_id Int32
in value
42 param screen Int32
in value
43 param visual Int32
in value
44 param share_list Int32
in value
45 glxflags client
-handcode server
-handcode
51 DestroyContext
(context
)
53 param context Int32
in value
54 glxflags client
-handcode server
-handcode
60 MakeCurrent
(drawable
, context
)
62 param drawable Int32
in value
63 param context Int32
in value
64 glxflags client
-handcode server
-handcode
70 IsDirect
(dpy
, context
)
72 param dpy Int32
in value
73 param context Int32
in value
74 glxflags client
-handcode server
-handcode
80 QueryVersion
(major
, minor
)
82 param major Int32 out reference
83 param minor Int32 out reference
86 glxflags client
-handcode server
-handcode
92 param context Int32
in value
95 glxflags client
-handcode server
-handcode
103 glxflags client
-handcode server
-handcode
107 CopyContext
(source, dest
, mask
)
109 param
source Int32
in value
110 param dest Int32
in value
111 param mask Int32
in value
114 glxflags client
-handcode server
-handcode
118 SwapBuffers
(drawable
)
120 param drawable Int32
in value
123 glxflags client
-handcode server
-handcode
127 UseXFont
(font
, first
, count
, list_base
)
129 param font Int32
in value
130 param first Int32
in value
131 param count Int32
in value
132 param list_base Int32
in value
135 glxflags client
-handcode server
-handcode
139 CreateGLXPixmap
(visual
, pixmap
, glxpixmap
)
141 param visual Int32
in value
142 param pixmap Int32
in value
143 param glxpixmap Int32
in value
146 glxflags client
-handcode server
-handcode
153 glxflags client
-handcode server
-handcode
157 DestroyGLXPixmap
(pixmap
)
159 param pixmap Int32
in value
160 glxflags client
-handcode
168 glxflags client
-handcode server
-handcode
174 VendorPrivateWithReply
()
176 glxflags client
-handcode server
-handcode
181 ###############################################################################
185 ###############################################################################
186 QueryExtensionsString
(screen
)
188 param screen Int32
in value
189 glxflags client
-handcode server
-handcode
194 QueryServerString
(screen
, name
)
196 param screen Int32
in value
197 param name Int32
in value
198 glxflags client
-handcode server
-handcode
205 glxflags client
-handcode server
-handcode
210 ###############################################################################
214 ###############################################################################
219 glxflags client
-handcode server
-handcode
222 CreatePixmap
(config
, pixmap
, glxpixmap
)
224 param config Int32
in value
225 param pixmap Int32
in value
226 param glxpixmap Int32
in value
228 glxflags client
-handcode server
-handcode
232 DestroyPixmap
(glxpixmap
)
234 param glxpixmap Int32
in value
236 glxflags client
-handcode server
-handcode
240 CreateNewContext
(config
, render_type
, share_list
, direct
)
242 param config Int32
in value
243 param render_type Int32
in value
244 param share_list Int32
in value
245 param direct Int32
in value
247 glxflags client
-handcode server
-handcode
254 glxflags client
-handcode server
-handcode
258 MakeContextCurrent
(drawable
, readdrawable
, context
)
260 param drawable Int32
in value
261 param readdrawable Int32
in value
262 param context Int32
in value
264 glxflags client
-handcode server
-handcode
268 CreatePbuffer
(config
, pbuffer
)
270 param config Int32
in value
271 param pbuffer Int32
in value
273 glxflags client
-handcode server
-handcode
277 DestroyPbuffer
(pbuffer
)
279 param pbuffer Int32
in value
281 glxflags client
-handcode
285 GetDrawableAttributes
(drawable
)
287 param drawable Int32
in value
289 glxflags client
-handcode server
-handcode
293 ChangeDrawableAttributes
(drawable
)
295 param drawable Int32
in value
297 glxflags client
-handcode server
-handcode
301 CreateWindow
(config
, window
, glxwindow
)
303 param config Int32
in value
304 param window Int32
in value
305 param glxwindow Int32
in value
307 glxflags client
-handcode server
-handcode
311 DestroyWindow
(glxwindow
)
313 param glxwindow Int32
in value
315 glxflags client
-handcode server
-handcode
319 ###############################################################################
321 # IRIX5.3 extension commands
323 ###############################################################################
325 ###############################################################################
327 # SGI_swap_control extension commands
329 ###############################################################################
332 glxflags client
-handcode server
-handcode
337 ###############################################################################
339 # IRIX5.3-PATCH154 extension commands
341 ###############################################################################
343 ###############################################################################
345 # SGI_make_current_read extension commands
347 ###############################################################################
348 MakeCurrentReadSGI
(drawable
, readdrawable
, context
)
350 param drawable Int32
in value
351 param readdrawable Int32
in value
352 param context Int32
in value
353 glxflags client
-handcode server
-handcode
358 ###############################################################################
360 # SGIX_video_source extension commands
362 ###############################################################################
363 CreateGLXVideoSourceSGIX
(dpy
, screen
, server
, path
, class
, node
)
365 param dpy Int32
in value
366 param screen Int32
in value
367 param server Int32
in value
368 param path Int32
in value
369 param class Int32
in value
370 param node Int32
in value
371 glxflags client
-handcode server
-handcode
376 DestroyGLXVideoSourceSGIX
(dpy
, glxvideosource
)
378 param dpy Int32
in value
379 param glxvideosource Int32
in value
380 glxflags client
-handcode server
-handcode
385 ###############################################################################
387 # IRIX6.2 extension commands
389 ###############################################################################
391 ###############################################################################
393 # EXT_import_context extension commands
395 ###############################################################################
396 QueryContextInfoEXT
()
400 glxflags client
-handcode server
-handcode
403 ###############################################################################
405 # SGIX_fbconfig extension commands
407 ###############################################################################
412 glxflags client
-handcode server
-handcode
415 CreateContextWithConfigSGIX
(gc_id
, screen
, config
, share_list
)
417 param gc_id Int32
in value
418 param screen Int32
in value
419 param config Int32
in value
420 param share_list Int32
in value
421 glxflags client
-handcode server
-handcode
426 CreateGLXPixmapWithConfigSGIX
(config
, pixmap
, glxpixmap
)
428 param config Int32
in value
429 param pixmap Int32
in value
430 param glxpixmap Int32
in value
433 glxflags client
-handcode server
-handcode
436 ###############################################################################
438 # SGIX_pbuffer extension commands
440 ###############################################################################
442 CreateGLXPbufferSGIX
(config
, pbuffer
)
444 param config Int32
in value
445 param pbuffer Int32
in value
447 glxflags client
-handcode server
-handcode
451 DestroyGLXPbufferSGIX
(pbuffer
)
453 param pbuffer Int32
in value
455 glxflags client
-handcode
459 ChangeDrawableAttributesSGIX
(drawable
)
461 param drawable Int32
in value
463 glxflags client
-handcode server
-handcode
467 GetDrawableAttributesSGIX
(drawable
)
469 param drawable Int32
in value
471 glxflags client
-handcode server
-handcode
475 ###############################################################################
477 # SGIX_swap_group extension commands
479 ###############################################################################
481 JoinSwapGroupSGIX
(window
,group
)
483 param window Int32
in value
484 param group Int32
in value
485 glxflags client
-handcode server
-handcode
490 ###############################################################################
492 # SGIX_swap_barrier extension commands
494 ###############################################################################
496 BindSwapBarrierSGIX
(window
,barrier
)
498 param window Int32
in value
499 param barrier Int32
in value
500 glxflags client
-handcode server
-handcode
505 QueryMaxSwapBarriersSGIX
()
507 glxflags client
-handcode server
-handcode
512 ###############################################################################
514 # SGIX_hyperpipe extension commands
516 ###############################################################################
518 QueryHyperpipeNetworkSGIX
(dpy
, npipes
)
519 return GLXHyperpipeNetworkSGIXPointer
520 param dpy Display out reference
521 param npipes int out reference
522 glxflags client
-handcode server
-handcode
527 HyperpipeConfigSGIX
(dpy
, networkId
, npipes
, cfg
, hpId
)
529 param dpy Display out reference
530 param networkId int
in value
531 param npipes int
in value
532 param cfg GLXHyperpipeConfigSGIX
in array
[npipes
]
533 param hpId int out reference
534 glxflags client
-handcode server
-handcode
539 QueryHyperpipeConfigSGIX
(dpy
, hpId
, npipes
)
540 return GLXHyperpipeConfigSGIXPointer
541 param dpy Display out reference
542 param hpId int
in value
543 param npipes int out reference
544 glxflags client
-handcode server
-handcode
549 DestroyHyperpipeConfigSGIX
(dpy
, hpId
)
551 param dpy Display out reference
552 param hpId int
in value
553 glxflags client
-handcode server
-handcode
558 BindHyperpipeSGIX
(dpy
, hpId
)
560 param dpy Display out reference
561 param hpId int
in value
562 glxflags client
-handcode server
-handcode
567 QueryHyperpipeBestAttribSGIX
(dpy
, timeSlice
, attrib
, size
, attribList
, returnAttribList
)
569 param dpy Display out reference
570 param timeSlice int
in value
571 param attrib int
in value
572 param size int
in value
573 param attribList Void
in array
[size
]
574 param returnAttribList Void out array
[size
]
575 glxflags client
-handcode server
-handcode
580 HyperpipeAttribSGIX
(dpy
, timeSlice
, attrib
, size
, attribList
)
582 param dpy Display out reference
583 param timeSlice int
in value
584 param attrib int
in value
585 param size int
in value
586 param attribList void
in array
[size
]
587 glxflags client
-handcode server
-handcode
592 QueryHyperpipeAttribSGIX
(dpy
, timeSlice
, attrib
, size
, returnAttribList
)
594 param dpy Display out reference
595 param timeSlice int
in value
596 param attrib int
in value
597 param size int
in value
598 param returnAttribList void
in array
[size
]
599 glxflags client
-handcode server
-handcode