X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=glx.spec;fp=glx.spec;h=0c4fa03929ef74fe3c95b6f3d96c37509f30b4c1;hb=53c5f5f90611ce35d13f7051b26ac482d1336fc5;hp=0000000000000000000000000000000000000000;hpb=49f8063ce156a50d4b3b8c77a1508a21ea2bfe90;p=gldbg.git diff --git a/glx.spec b/glx.spec new file mode 100644 index 0000000..0c4fa03 --- /dev/null +++ b/glx.spec @@ -0,0 +1,642 @@ +# Copyright (C) 1991-2005 Silicon Graphics, Inc. All Rights Reserved. +# +# This document is licensed under the SGI Free Software B License Version +# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + +required-props: +param: retval retained +dlflags: notlistable handcode nop +glxflags: client-handcode server-handcode +glxvendorglx: * +vectorequiv: * +category: pixel-rw bgn-end display-list drawing drawing-control feedback framebuf misc modeling pixel-op pixel-rw state-req xform glx glxopcode +glxopcode: * + +############################################################################### +# +# GLX1.0 commands +# +############################################################################### +Render() + return void + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 1 + + +RenderLarge() + return void + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 2 + + +CreateContext(dpy, visual, share_list, direct) + return GLXContext + param dpy DisplayPointer in value + param visual XVisualInfoPointer in value + param share_list GLXContext in value + param direct Bool in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 3 + + +DestroyContext(dpy, ctx) + return void + param dpy DisplayPointer in value + param ctx GLXContext in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 4 + + +MakeCurrent(dpy, drawable, ctx) + return Bool + param dpy DisplayPointer in value + param drawable GLXDrawable in value + param ctx GLXContext in value + category glx + dlflags notlistable + glxopcode 5 + + +IsDirect(dpy, ctx) + return Bool + param dpy DisplayPointer in value + param ctx GLXContext in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 6 + + +QueryVersion(dpy, major, minor) + return Bool + param dpy DisplayPointer in value + param major int out reference + param minor int out reference + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 7 + + +WaitGL() + return void + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 8 + + +WaitX() + return void + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 9 + + +CopyContext(dpy, source, dest, mask) + return void + param dpy DisplayPointer in value + param source GLXContext in value + param dest GLXContext in value + param mask ulong in value + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 10 + + +SwapBuffers(dpy, drawable) + return void + param dpy DisplayPointer in value + param drawable GLXDrawable in value + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 11 + + +UseXFont(font, first, count, list_base) + return void + param font Font in value + param first int in value + param count int in value + param list_base int in value + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 12 + + +CreateGLXPixmap(dpy, visual, pixmap) + return GLXPixmap + param dpy DisplayPointer in value + param visual XVisualInfoPointer in value + param pixmap Pixmap in value + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 13 + +GetVisualConfigs() + return void + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 14 + + +DestroyGLXPixmap(dpy, pixmap) + return void + param dpy DisplayPointer in value + param pixmap GLXPixmap in value + glxflags client-handcode + category glx + dlflags notlistable + glxopcode 15 + + +VendorPrivate() + return void + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 16 + + +VendorPrivateWithReply() + return void + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 17 + +############################################################################### +# +# GLX1.1 commands +# +############################################################################### +QueryExtensionsString(dpy, screen) + return GLXstring + param dpy DisplayPointer in value + param screen int in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 18 + +QueryServerString(dpy, screen, name) + return GLXstring + param dpy DisplayPointer in value + param screen int in value + param name int in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 19 + +ClientInfo() + return void + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxopcode 20 + +############################################################################### +# +# GLX1.3 commands +# +############################################################################### +GetFBConfigs(dpy, screen, nelements) + return GLXFBConfigPointer + param dpy DisplayPointer in value + param screen int in value + param nelements int out reference + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxopcode 21 + +CreatePixmap(dpy, config, pixmap, attriblist) + return GLXPixmap + param dpy DisplayPointer in value + param config GLXFBConfig in value + param pixmap Pixmap in value + param attriblist int in array + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 22 + +DestroyPixmap(dpy, pixmap) + return void + param dpy DisplayPointer in value + param pixmap Pixmap in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 23 + +CreateNewContext(dpy, config, render_type, share_list, direct) + return GLXContext + param dpy DisplayPointer in value + param config GLXFBConfig in value + param render_type int in value + param share_list GLXContext in value + param direct Bool in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 24 + +QueryContext(dpy, context, attribute, value) + return int + param dpy DisplayPointer in value + param context GLXContext in value + param attribute int in value + param value int out reference + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 25 + +MakeContextCurrent(dpy, drawdrawable, readdrawable, context) + return Bool + param dpy DisplayPointer in value + param drawdrawable GLXDrawable in value + param readdrawable GLXDrawable in value + param context GLXContext in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 26 + +CreatePbuffer(dpy, config, attrib_list) + return GLXPbuffer + param dpy DisplayPointer in value + param config GLXFBConfig in value + param attrib_list int in array + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 27 + +DestroyPbuffer(dpy, pbuffer) + return void + param dpy DisplayPointer in value + param pbuffer GLXPbuffer in value + dlflags notlistable + glxflags client-handcode + category glx + glxopcode 28 + +GetDrawableAttributes(drawable) + return void + param drawable int in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 29 + +ChangeDrawableAttributes(drawable) + return void + param drawable int in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 30 + +CreateWindow(dpy, config, window, attrib_list) + return GLXWindow + param dpy DisplayPointer in value + param config GLXFBConfig in value + param window Window in value + param attrib_list int in array + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 31 + +DestroyWindow(dpy, window) + return void + param dpy DisplayPointer in value + param window Window in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxopcode 32 + +ChooseVisual(dpy, screen, attriblist) + return XVisualInfoPointer + param dpy DisplayPointer in value + param screen int in value + param attriblist int out array + category glx + +############################################################################### +# +# IRIX5.3 extension commands +# +############################################################################### + +############################################################################### +# +# SGI_swap_control extension commands +# +############################################################################### +SwapIntervalSGI() + return void + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65536 + +############################################################################### +# +# IRIX5.3-PATCH154 extension commands +# +############################################################################### + +############################################################################### +# +# SGI_make_current_read extension commands +# +############################################################################### +MakeCurrentReadSGI(drawable, readdrawable, context) + return void + param drawable Int32 in value + param readdrawable Int32 in value + param context Int32 in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65537 + +############################################################################### +# +# SGIX_video_source extension commands +# +############################################################################### +CreateGLXVideoSourceSGIX(dpy, screen, server, path, class, node) + return void + param dpy Int32 in value + param screen Int32 in value + param server Int32 in value + param path Int32 in value + param class Int32 in value + param node Int32 in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65538 + +DestroyGLXVideoSourceSGIX(dpy, glxvideosource) + return void + param dpy Int32 in value + param glxvideosource Int32 in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65539 + +############################################################################### +# +# IRIX6.2 extension commands +# +############################################################################### + +############################################################################### +# +# EXT_import_context extension commands +# +############################################################################### +QueryContextInfoEXT(dpy, context, attribute, value) + return Int32 + param dpy DisplayPointer in value + param context GLXContext in value + param attribute Int32 in value + param value Int32 out reference + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxvendorglx 1024 + +############################################################################### +# +# SGIX_fbconfig extension commands +# +############################################################################### +GetFBConfigsSGIX() + return void + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxvendorglx 65540 + +CreateContextWithConfigSGIX(dpy, config, renderType, share_list, allow_direct) + return GLXContext + param dpy DisplayPointer in value + param config GLXFBConfigSGIX in value + param renderType Int32 in value + param share_list GLXContext in value + param allow_direct Bool in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65541 + +CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap, attriblist) + return GLXPixmap + param dpy DisplayPointer in value + param config GLXFBConfigSGIX in value + param pixmap Pixmap in value + param attriblist Int32 in array + category glx + dlflags notlistable + glxflags client-handcode server-handcode + glxvendorglx 65542 + +############################################################################### +# +# SGIX_pbuffer extension commands +# +############################################################################### + +CreateGLXPbufferSGIX(dpy, config, width, height, attriblist) + return GLXPbuffer + param dpy DisplayPointer in value + param config GLXFBConfig in value + param width UInt32 in value + param height UInt32 in value + param attriblist Int32 in array + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxvendorglx 65543 + +DestroyGLXPbufferSGIX(dpy, pbuffer) + return void + param dpy DisplayPointer in value + param pbuffer GLXPbuffer in value + dlflags notlistable + glxflags client-handcode + category glx + glxvendorglx 65544 + +ChangeDrawableAttributesSGIX(drawable) + return void + param drawable Int32 in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxvendorglx 65545 + +GetDrawableAttributesSGIX(drawable) + return void + param drawable Int32 in value + dlflags notlistable + glxflags client-handcode server-handcode + category glx + glxvendorglx 65546 + +############################################################################### +# +# SGIX_swap_group extension commands +# +############################################################################### + +JoinSwapGroupSGIX(dpy, drawable, member) + return void + param dpy DisplayPointer in value + param drawable GLXDrawable in value + param member GLXDrawable in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65547 + +############################################################################### +# +# SGIX_swap_barrier extension commands +# +############################################################################### + +BindSwapBarrierSGIX(dpy, drawable, barrier) + return void + param dpy DisplayPointer in value + param drawable GLXDrawable in value + param barrier Int32 in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65548 + +QueryMaxSwapBarriersSGIX(dpy, screen, max) + return Bool + param dpy DisplayPointer in value + param screen Int32 in value + param max Int32 out value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65549 + +############################################################################### +# +# SGIX_hyperpipe extension commands +# +############################################################################### + +QueryHyperpipeNetworkSGIX(dpy, npipes) + return GLXHyperpipeNetworkPointer + param dpy Display out reference + param npipes int out reference + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65550 + +HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, hpId) + return int + param dpy Display out reference + param networkId int in value + param npipes int in value + param cfg GLXHyperpipeConfig in array[npipes] + param hpId int out reference + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65552 + +QueryHyperpipeConfigSGIX(dpy, hpId, npipes) + return GLXHyperpipeConfigPointer + param dpy Display out reference + param hpId int in value + param npipes int out reference + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65551 + +DestroyHyperpipeConfigSGIX(dpy, hpId) + return int + param dpy Display out reference + param hpId int in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx 65553 + +BindHyperpipeSGIX(dpy, hpId) + return int + param dpy Display out reference + param hpId int in value + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx ??? + +QueryHyperpipeBestAttribSGIX(dpy, timeSlice, attrib, size, attribList, returnAttribList) + return int + param dpy Display out reference + param timeSlice int in value + param attrib int in value + param size int in value + param attribList Void in array[size] + param returnAttribList Void out array[size] + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx ??? + +HyperpipeAttribSGIX(dpy, timeSlice, attrib, size, attribList) + return int + param dpy Display out reference + param timeSlice int in value + param attrib int in value + param size int in value + param attribList void in array[size] + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx ??? + +QueryHyperpipeAttribSGIX(dpy, timeSlice, attrib, size, returnAttribList) + return int + param dpy Display out reference + param timeSlice int in value + param attrib int in value + param size int in value + param returnAttribList void in array[size] + glxflags client-handcode server-handcode + category glx + dlflags notlistable + glxvendorglx ???