Blame | Last modification | View Log | RSS feed
# License Applicability. Except to the extent portions of this file are# made subject to an alternative license as permitted in the SGI Free# Software License B, Version 1.1 (the "License"), the contents of this# file are subject only to the provisions of the License. You may not use# this file except in compliance with the License. You may obtain a copy# of the License at Silicon Graphics, Inc., attn: Legal Services, 1600# Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:## http://oss.sgi.com/projects/FreeB## Note that, as provided in the License, the Software is distributed on an# "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS# DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND# CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A# PARTICULAR PURPOSE, AND NON-INFRINGEMENT.## Original Code. The Original Code is: OpenGL Sample Implementation,# Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,# Inc. The Original Code is Copyright (c) 1991-2005 Silicon Graphics, Inc.# Copyright in any portions created by third parties is as indicated# elsewhere herein. All Rights Reserved.## Additional Notice Provisions: This software was created using the# OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has# not been independently verified as being compliant with the OpenGL(R)# version 1.2.1 Specification.required-props:param: retval retaineddlflags: notlistable handcode nopglxflags: client-handcode server-handcodeglxvendorglx: *vectorequiv: *category: pixel-rw bgn-end display-list drawing drawing-control feedback framebuf misc modeling pixel-op pixel-rw state-req xform glx glxopcodeglxopcode: *################################################################################# GLX1.0 commands################################################################################Render()return voidcategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 1RenderLarge()return voidcategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 2CreateContext(gc_id, screen, visual, share_list)return voidparam gc_id Int32 in valueparam screen Int32 in valueparam visual Int32 in valueparam share_list Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 3DestroyContext(context)return voidparam context Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 4MakeCurrent(drawable, context)return voidparam drawable Int32 in valueparam context Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 5IsDirect(dpy, context)return voidparam dpy Int32 in valueparam context Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 6QueryVersion(major, minor)return voidparam major Int32 out referenceparam minor Int32 out referencecategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 7WaitGL(context)return voidparam context Int32 in valuecategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 8WaitX()return voidcategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 9CopyContext(source, dest, mask)return voidparam source Int32 in valueparam dest Int32 in valueparam mask Int32 in valuecategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 10SwapBuffers(drawable)return voidparam drawable Int32 in valuecategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 11UseXFont(font, first, count, list_base)return voidparam font Int32 in valueparam first Int32 in valueparam count Int32 in valueparam list_base Int32 in valuecategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 12CreateGLXPixmap(visual, pixmap, glxpixmap)return voidparam visual Int32 in valueparam pixmap Int32 in valueparam glxpixmap Int32 in valuecategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 13GetVisualConfigs()return voidcategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 14DestroyGLXPixmap(pixmap)return voidparam pixmap Int32 in valueglxflags client-handcodecategory glxdlflags notlistableglxopcode 15VendorPrivate()return voidglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 16VendorPrivateWithReply()return voidglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 17################################################################################# GLX1.1 commands################################################################################QueryExtensionsString(screen)return voidparam screen Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 18QueryServerString(screen, name)return voidparam screen Int32 in valueparam name Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 19ClientInfo()return voidglxflags client-handcode server-handcodecategory glxdlflags notlistableglxopcode 20################################################################################# GLX1.3 commands################################################################################GetFBConfigs()return voidcategory glxdlflags notlistableglxflags client-handcode server-handcodeglxopcode 21CreatePixmap(config, pixmap, glxpixmap)return voidparam config Int32 in valueparam pixmap Int32 in valueparam glxpixmap Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 22DestroyPixmap(glxpixmap)return voidparam glxpixmap Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 23CreateNewContext(config, render_type, share_list, direct)return voidparam config Int32 in valueparam render_type Int32 in valueparam share_list Int32 in valueparam direct Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 24QueryContext()return voiddlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 25MakeContextCurrent(drawable, readdrawable, context)return voidparam drawable Int32 in valueparam readdrawable Int32 in valueparam context Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 26CreatePbuffer(config, pbuffer)return voidparam config Int32 in valueparam pbuffer Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 27DestroyPbuffer(pbuffer)return voidparam pbuffer Int32 in valuedlflags notlistableglxflags client-handcodecategory glxglxopcode 28GetDrawableAttributes(drawable)return voidparam drawable Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 29ChangeDrawableAttributes(drawable)return voidparam drawable Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 30CreateWindow(config, window, glxwindow)return voidparam config Int32 in valueparam window Int32 in valueparam glxwindow Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 31DestroyWindow(glxwindow)return voidparam glxwindow Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxopcode 32################################################################################# IRIX5.3 extension commands################################################################################################################################################################# SGI_swap_control extension commands################################################################################SwapIntervalSGI()return voidglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65536################################################################################# IRIX5.3-PATCH154 extension commands################################################################################################################################################################# SGI_make_current_read extension commands################################################################################MakeCurrentReadSGI(drawable, readdrawable, context)return voidparam drawable Int32 in valueparam readdrawable Int32 in valueparam context Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65537################################################################################# SGIX_video_source extension commands################################################################################CreateGLXVideoSourceSGIX(dpy, screen, server, path, class, node)return voidparam dpy Int32 in valueparam screen Int32 in valueparam server Int32 in valueparam path Int32 in valueparam class Int32 in valueparam node Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65538DestroyGLXVideoSourceSGIX(dpy, glxvideosource)return voidparam dpy Int32 in valueparam glxvideosource Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65539################################################################################# IRIX6.2 extension commands################################################################################################################################################################# EXT_import_context extension commands################################################################################QueryContextInfoEXT()return voidcategory glxdlflags notlistableglxflags client-handcode server-handcodeglxvendorglx 1024################################################################################# SGIX_fbconfig extension commands################################################################################GetFBConfigsSGIX()return voidcategory glxdlflags notlistableglxflags client-handcode server-handcodeglxvendorglx 65540CreateContextWithConfigSGIX(gc_id, screen, config, share_list)return voidparam gc_id Int32 in valueparam screen Int32 in valueparam config Int32 in valueparam share_list Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65541CreateGLXPixmapWithConfigSGIX(config, pixmap, glxpixmap)return voidparam config Int32 in valueparam pixmap Int32 in valueparam glxpixmap Int32 in valuecategory glxdlflags notlistableglxflags client-handcode server-handcodeglxvendorglx 65542################################################################################# SGIX_pbuffer extension commands################################################################################CreateGLXPbufferSGIX(config, pbuffer)return voidparam config Int32 in valueparam pbuffer Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxvendorglx 65543DestroyGLXPbufferSGIX(pbuffer)return voidparam pbuffer Int32 in valuedlflags notlistableglxflags client-handcodecategory glxglxvendorglx 65544ChangeDrawableAttributesSGIX(drawable)return voidparam drawable Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxvendorglx 65545GetDrawableAttributesSGIX(drawable)return voidparam drawable Int32 in valuedlflags notlistableglxflags client-handcode server-handcodecategory glxglxvendorglx 65546################################################################################# SGIX_swap_group extension commands################################################################################JoinSwapGroupSGIX(window,group)return voidparam window Int32 in valueparam group Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65547################################################################################# SGIX_swap_barrier extension commands################################################################################BindSwapBarrierSGIX(window,barrier)return voidparam window Int32 in valueparam barrier Int32 in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65548QueryMaxSwapBarriersSGIX()return voidglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65549################################################################################# SGIX_hyperpipe extension commands################################################################################QueryHyperpipeNetworkSGIX(dpy, npipes)return GLXHyperpipeNetworkPointerparam dpy Display out referenceparam npipes int out referenceglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65550HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, hpId)return intparam dpy Display out referenceparam networkId int in valueparam npipes int in valueparam cfg GLXHyperpipeConfig in array[npipes]param hpId int out referenceglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65552QueryHyperpipeConfigSGIX(dpy, hpId, npipes)return GLXHyperpipeConfigPointerparam dpy Display out referenceparam hpId int in valueparam npipes int out referenceglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65551DestroyHyperpipeConfigSGIX(dpy, hpId)return intparam dpy Display out referenceparam hpId int in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx 65553BindHyperpipeSGIX(dpy, hpId)return intparam dpy Display out referenceparam hpId int in valueglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx ???QueryHyperpipeBestAttribSGIX(dpy, timeSlice, attrib, size, attribList, returnAttribList)return intparam dpy Display out referenceparam timeSlice int in valueparam attrib int in valueparam size int in valueparam attribList Void in array[size]param returnAttribList Void out array[size]glxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx ???HyperpipeAttribSGIX(dpy, timeSlice, attrib, size, attribList)return intparam dpy Display out referenceparam timeSlice int in valueparam attrib int in valueparam size int in valueparam attribList void in array[size]glxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx ???QueryHyperpipeAttribSGIX(dpy, timeSlice, attrib, size, returnAttribList)return intparam dpy Display out referenceparam timeSlice int in valueparam attrib int in valueparam size int in valueparam returnAttribList void out array[size] # Changed in to outglxflags client-handcode server-handcodecategory glxdlflags notlistableglxvendorglx ???