From 3e6cce9dabc7f15cceb8d98ff303eb75daa81b8e Mon Sep 17 00:00:00 2001 From: ikits Date: Fri, 2 Mar 2007 14:34:33 +0000 Subject: [PATCH] fixed hyperpipe extension git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@482 783a27ee-832a-0410-bc00-9f386506c6dd --- TODO.txt | 1 - auto/core/GLX_SGIX_hyperpipe | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 auto/core/GLX_SGIX_hyperpipe diff --git a/TODO.txt b/TODO.txt index 80f8d5c..d2029fa 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,7 +7,6 @@ Major: performs the initialization. - add windows installer (msi) - add ati/nvidia custom profile - - fix SGI hyperpipe extension (add verbatim mode to spec files) - separate build of static and shared object files (for mingw and cygwin) - make auto scripts work with text mode cygwin mounts diff --git a/auto/core/GLX_SGIX_hyperpipe b/auto/core/GLX_SGIX_hyperpipe new file mode 100644 index 0000000..b8204e1 --- /dev/null +++ b/auto/core/GLX_SGIX_hyperpipe @@ -0,0 +1,24 @@ +GL_SGIX_hyperpipe +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/hyperpipe_group.txt + GLX_HYPERPIPE_ID_SGIX 0x8030 + GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 + GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 + GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 + GLX_PIPE_RECT_SGIX 0x00000001 + GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 + GLX_HYPERPIPE_STEREO_SGIX 0x00000003 + GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 + GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 + GLX_BAD_HYPERPIPE_SGIX 92 + typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int networkId; } GLXHyperpipeNetworkSGIX; + typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int channel; unsigned int participationType; int timeSlice; } GLXHyperpipeConfigSGIX; + typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int srcXOrigin; int srcYOrigin; int srcWidth; int srcHeight; int destXOrigin; int destYOrigin; int destWidth; int destHeight; } GLXPipeRect; + typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int XOrigin; int YOrigin; int maxHeight; int maxWidth; } GLXPipeRectLimits; + GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes) + int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId) + GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes) + int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId) + int glXBindHyperpipeSGIX (Display *dpy, int hpId) + int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList) + int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList) + int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList)