mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
glxdisplay: Update panda_glxext.h
This commit is contained in:
parent
794968dcc5
commit
5cfd8db95c
@ -1,42 +1,21 @@
|
|||||||
#ifndef panda__glxext_h_
|
#ifndef __glx_glxext_h_
|
||||||
#define panda__glxext_h_ 1
|
#define __glx_glxext_h_ 1
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2013-2014 The Khronos Group Inc.
|
** Copyright 2013-2020 The Khronos Group Inc.
|
||||||
|
** SPDX-License-Identifier: MIT
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
** copy of this software and/or associated documentation files (the
|
|
||||||
** "Materials"), to deal in the Materials without restriction, including
|
|
||||||
** without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
** distribute, sublicense, and/or sell copies of the Materials, and to
|
|
||||||
** permit persons to whom the Materials are furnished to do so, subject to
|
|
||||||
** the following conditions:
|
|
||||||
**
|
|
||||||
** The above copyright notice and this permission notice shall be included
|
|
||||||
** in all copies or substantial portions of the Materials.
|
|
||||||
**
|
|
||||||
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
** This header is generated from the Khronos OpenGL / OpenGL ES XML
|
||||||
** API Registry. The current version of the Registry, generator scripts
|
** API Registry. The current version of the Registry, generator scripts
|
||||||
** used to make the header, and the header can be found at
|
** used to make the header, and the header can be found at
|
||||||
** http://www.opengl.org/registry/
|
** https://github.com/KhronosGroup/OpenGL-Registry
|
||||||
**
|
|
||||||
** Khronos $Revision$ on $Date$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define GLX_GLXEXT_VERSION 20140416
|
#define GLX_GLXEXT_VERSION 20211115
|
||||||
|
|
||||||
/* Generated C header for:
|
/* Generated C header for:
|
||||||
* API: glx
|
* API: glx
|
||||||
@ -109,41 +88,41 @@ typedef XID GLXPbuffer;
|
|||||||
#define GLX_PBUFFER 0x8023
|
#define GLX_PBUFFER 0x8023
|
||||||
#define GLX_PBUFFER_HEIGHT 0x8040
|
#define GLX_PBUFFER_HEIGHT 0x8040
|
||||||
#define GLX_PBUFFER_WIDTH 0x8041
|
#define GLX_PBUFFER_WIDTH 0x8041
|
||||||
typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (X11_Display *dpy, int screen, int *nelements);
|
typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
|
||||||
typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (X11_Display *dpy, int screen, const int *attrib_list, int *nelements);
|
typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
|
||||||
typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (X11_Display *dpy, GLXFBConfig config, int attribute, int *value);
|
typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
|
||||||
typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (X11_Display *dpy, GLXFBConfig config);
|
typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
|
||||||
typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (X11_Display *dpy, GLXFBConfig config, X11_Window win, const int *attrib_list);
|
typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
|
||||||
typedef void ( *PFNGLXDESTROYWINDOWPROC) (X11_Display *dpy, GLXWindow win);
|
typedef void ( *PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
|
||||||
typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (X11_Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
|
typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
|
||||||
typedef void ( *PFNGLXDESTROYPIXMAPPROC) (X11_Display *dpy, GLXPixmap pixmap);
|
typedef void ( *PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
|
||||||
typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (X11_Display *dpy, GLXFBConfig config, const int *attrib_list);
|
typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
|
||||||
typedef void ( *PFNGLXDESTROYPBUFFERPROC) (X11_Display *dpy, GLXPbuffer pbuf);
|
typedef void ( *PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
|
||||||
typedef void ( *PFNGLXQUERYDRAWABLEPROC) (X11_Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
|
typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
|
||||||
typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (X11_Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
|
typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
|
||||||
typedef Bool ( *PFNGLXMAKECONTEXTCURRENTPROC) (X11_Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
typedef Bool ( *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
||||||
typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLEPROC) (void);
|
typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLEPROC) (void);
|
||||||
typedef int ( *PFNGLXQUERYCONTEXTPROC) (X11_Display *dpy, GLXContext ctx, int attribute, int *value);
|
typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
|
||||||
typedef void ( *PFNGLXSELECTEVENTPROC) (X11_Display *dpy, GLXDrawable draw, unsigned long event_mask);
|
typedef void ( *PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
|
||||||
typedef void ( *PFNGLXGETSELECTEDEVENTPROC) (X11_Display *dpy, GLXDrawable draw, unsigned long *event_mask);
|
typedef void ( *PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
GLXFBConfig *glXGetFBConfigs (X11_Display *dpy, int screen, int *nelements);
|
GLXFBConfig *glXGetFBConfigs (Display *dpy, int screen, int *nelements);
|
||||||
GLXFBConfig *glXChooseFBConfig (X11_Display *dpy, int screen, const int *attrib_list, int *nelements);
|
GLXFBConfig *glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements);
|
||||||
int glXGetFBConfigAttrib (X11_Display *dpy, GLXFBConfig config, int attribute, int *value);
|
int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value);
|
||||||
XVisualInfo *glXGetVisualFromFBConfig (X11_Display *dpy, GLXFBConfig config);
|
XVisualInfo *glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config);
|
||||||
GLXWindow glXCreateWindow (X11_Display *dpy, GLXFBConfig config, X11_Window win, const int *attrib_list);
|
GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
|
||||||
void glXDestroyWindow (X11_Display *dpy, GLXWindow win);
|
void glXDestroyWindow (Display *dpy, GLXWindow win);
|
||||||
GLXPixmap glXCreatePixmap (X11_Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
|
GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
|
||||||
void glXDestroyPixmap (X11_Display *dpy, GLXPixmap pixmap);
|
void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap);
|
||||||
GLXPbuffer glXCreatePbuffer (X11_Display *dpy, GLXFBConfig config, const int *attrib_list);
|
GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list);
|
||||||
void glXDestroyPbuffer (X11_Display *dpy, GLXPbuffer pbuf);
|
void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf);
|
||||||
void glXQueryDrawable (X11_Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
|
void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
|
||||||
GLXContext glXCreateNewContext (X11_Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
|
GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
|
||||||
Bool glXMakeContextCurrent (X11_Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
||||||
GLXDrawable glXGetCurrentReadDrawable (void);
|
GLXDrawable glXGetCurrentReadDrawable (void);
|
||||||
int glXQueryContext (X11_Display *dpy, GLXContext ctx, int attribute, int *value);
|
int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
|
||||||
void glXSelectEvent (X11_Display *dpy, GLXDrawable draw, unsigned long event_mask);
|
void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask);
|
||||||
void glXGetSelectedEvent (X11_Display *dpy, GLXDrawable draw, unsigned long *event_mask);
|
void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_VERSION_1_3 */
|
#endif /* GLX_VERSION_1_3 */
|
||||||
|
|
||||||
@ -158,6 +137,13 @@ __GLXextFuncPtr glXGetProcAddress (const GLubyte *procName);
|
|||||||
#endif
|
#endif
|
||||||
#endif /* GLX_VERSION_1_4 */
|
#endif /* GLX_VERSION_1_4 */
|
||||||
|
|
||||||
|
#ifndef GLX_ARB_context_flush_control
|
||||||
|
#define GLX_ARB_context_flush_control 1
|
||||||
|
#define GLX_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097
|
||||||
|
#define GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0
|
||||||
|
#define GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098
|
||||||
|
#endif /* GLX_ARB_context_flush_control */
|
||||||
|
|
||||||
#ifndef GLX_ARB_create_context
|
#ifndef GLX_ARB_create_context
|
||||||
#define GLX_ARB_create_context 1
|
#define GLX_ARB_create_context 1
|
||||||
#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001
|
#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001
|
||||||
@ -165,12 +151,17 @@ __GLXextFuncPtr glXGetProcAddress (const GLubyte *procName);
|
|||||||
#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
|
#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
|
||||||
#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
|
#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
|
||||||
#define GLX_CONTEXT_FLAGS_ARB 0x2094
|
#define GLX_CONTEXT_FLAGS_ARB 0x2094
|
||||||
typedef GLXContext ( *PFNGLXCREATECONTEXTATTRIBSARBPROC) (X11_Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
|
typedef GLXContext ( *PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
GLXContext glXCreateContextAttribsARB (X11_Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
|
GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_ARB_create_context */
|
#endif /* GLX_ARB_create_context */
|
||||||
|
|
||||||
|
#ifndef GLX_ARB_create_context_no_error
|
||||||
|
#define GLX_ARB_create_context_no_error 1
|
||||||
|
#define GLX_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3
|
||||||
|
#endif /* GLX_ARB_create_context_no_error */
|
||||||
|
|
||||||
#ifndef GLX_ARB_create_context_profile
|
#ifndef GLX_ARB_create_context_profile
|
||||||
#define GLX_ARB_create_context_profile 1
|
#define GLX_ARB_create_context_profile 1
|
||||||
#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
|
#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
|
||||||
@ -199,7 +190,6 @@ GLXContext glXCreateContextAttribsARB (X11_Display *dpy, GLXFBConfig config, GLX
|
|||||||
|
|
||||||
#ifndef GLX_ARB_get_proc_address
|
#ifndef GLX_ARB_get_proc_address
|
||||||
#define GLX_ARB_get_proc_address 1
|
#define GLX_ARB_get_proc_address 1
|
||||||
typedef void (*__GLXextFuncPtr)(void);
|
|
||||||
typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);
|
typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
__GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
|
__GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
|
||||||
@ -244,6 +234,26 @@ __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
|
|||||||
#define GLX_GPU_NUM_SIMD_AMD 0x21A6
|
#define GLX_GPU_NUM_SIMD_AMD 0x21A6
|
||||||
#define GLX_GPU_NUM_RB_AMD 0x21A7
|
#define GLX_GPU_NUM_RB_AMD 0x21A7
|
||||||
#define GLX_GPU_NUM_SPI_AMD 0x21A8
|
#define GLX_GPU_NUM_SPI_AMD 0x21A8
|
||||||
|
typedef unsigned int ( *PFNGLXGETGPUIDSAMDPROC) (unsigned int maxCount, unsigned int *ids);
|
||||||
|
typedef int ( *PFNGLXGETGPUINFOAMDPROC) (unsigned int id, int property, GLenum dataType, unsigned int size, void *data);
|
||||||
|
typedef unsigned int ( *PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx);
|
||||||
|
typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list);
|
||||||
|
typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (unsigned int id, GLXContext share_context, const int *attribList);
|
||||||
|
typedef Bool ( *PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC) (GLXContext ctx);
|
||||||
|
typedef Bool ( *PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (GLXContext ctx);
|
||||||
|
typedef GLXContext ( *PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
|
||||||
|
typedef void ( *PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC) (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||||
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
|
unsigned int glXGetGPUIDsAMD (unsigned int maxCount, unsigned int *ids);
|
||||||
|
int glXGetGPUInfoAMD (unsigned int id, int property, GLenum dataType, unsigned int size, void *data);
|
||||||
|
unsigned int glXGetContextGPUIDAMD (GLXContext ctx);
|
||||||
|
GLXContext glXCreateAssociatedContextAMD (unsigned int id, GLXContext share_list);
|
||||||
|
GLXContext glXCreateAssociatedContextAttribsAMD (unsigned int id, GLXContext share_context, const int *attribList);
|
||||||
|
Bool glXDeleteAssociatedContextAMD (GLXContext ctx);
|
||||||
|
Bool glXMakeAssociatedContextCurrentAMD (GLXContext ctx);
|
||||||
|
GLXContext glXGetCurrentAssociatedContextAMD (void);
|
||||||
|
void glXBlitContextFramebufferAMD (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||||
|
#endif
|
||||||
#endif /* GLX_AMD_gpu_association */
|
#endif /* GLX_AMD_gpu_association */
|
||||||
|
|
||||||
#ifndef GLX_EXT_buffer_age
|
#ifndef GLX_EXT_buffer_age
|
||||||
@ -251,6 +261,14 @@ __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
|
|||||||
#define GLX_BACK_BUFFER_AGE_EXT 0x20F4
|
#define GLX_BACK_BUFFER_AGE_EXT 0x20F4
|
||||||
#endif /* GLX_EXT_buffer_age */
|
#endif /* GLX_EXT_buffer_age */
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_context_priority
|
||||||
|
#define GLX_EXT_context_priority 1
|
||||||
|
#define GLX_CONTEXT_PRIORITY_LEVEL_EXT 0x3100
|
||||||
|
#define GLX_CONTEXT_PRIORITY_HIGH_EXT 0x3101
|
||||||
|
#define GLX_CONTEXT_PRIORITY_MEDIUM_EXT 0x3102
|
||||||
|
#define GLX_CONTEXT_PRIORITY_LOW_EXT 0x3103
|
||||||
|
#endif /* GLX_EXT_context_priority */
|
||||||
|
|
||||||
#ifndef GLX_EXT_create_context_es2_profile
|
#ifndef GLX_EXT_create_context_es2_profile
|
||||||
#define GLX_EXT_create_context_es2_profile 1
|
#define GLX_EXT_create_context_es2_profile 1
|
||||||
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
||||||
@ -272,13 +290,45 @@ __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
|
|||||||
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
|
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
|
||||||
#endif /* GLX_EXT_framebuffer_sRGB */
|
#endif /* GLX_EXT_framebuffer_sRGB */
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_get_drawable_type
|
||||||
|
#define GLX_EXT_get_drawable_type 1
|
||||||
|
#endif /* GLX_EXT_get_drawable_type */
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_import_context
|
||||||
|
#define GLX_EXT_import_context 1
|
||||||
|
#define GLX_SHARE_CONTEXT_EXT 0x800A
|
||||||
|
#define GLX_VISUAL_ID_EXT 0x800B
|
||||||
|
#define GLX_SCREEN_EXT 0x800C
|
||||||
|
typedef Display *( *PFNGLXGETCURRENTDISPLAYEXTPROC) (void);
|
||||||
|
typedef int ( *PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value);
|
||||||
|
typedef GLXContextID ( *PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
|
||||||
|
typedef GLXContext ( *PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID);
|
||||||
|
typedef void ( *PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context);
|
||||||
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
|
Display *glXGetCurrentDisplayEXT (void);
|
||||||
|
int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value);
|
||||||
|
GLXContextID glXGetContextIDEXT (const GLXContext context);
|
||||||
|
GLXContext glXImportContextEXT (Display *dpy, GLXContextID contextID);
|
||||||
|
void glXFreeContextEXT (Display *dpy, GLXContext context);
|
||||||
|
#endif
|
||||||
|
#endif /* GLX_EXT_import_context */
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_libglvnd
|
||||||
|
#define GLX_EXT_libglvnd 1
|
||||||
|
#define GLX_VENDOR_NAMES_EXT 0x20F6
|
||||||
|
#endif /* GLX_EXT_libglvnd */
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_no_config_context
|
||||||
|
#define GLX_EXT_no_config_context 1
|
||||||
|
#endif /* GLX_EXT_no_config_context */
|
||||||
|
|
||||||
#ifndef GLX_EXT_stereo_tree
|
#ifndef GLX_EXT_stereo_tree
|
||||||
#define GLX_EXT_stereo_tree 1
|
#define GLX_EXT_stereo_tree 1
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int type;
|
int type;
|
||||||
unsigned long serial;
|
unsigned long serial;
|
||||||
Bool send_event;
|
Bool send_event;
|
||||||
X11_Display *display;
|
Display *display;
|
||||||
int extension;
|
int extension;
|
||||||
int evtype;
|
int evtype;
|
||||||
GLXDrawable window;
|
GLXDrawable window;
|
||||||
@ -293,9 +343,9 @@ typedef struct {
|
|||||||
#define GLX_EXT_swap_control 1
|
#define GLX_EXT_swap_control 1
|
||||||
#define GLX_SWAP_INTERVAL_EXT 0x20F1
|
#define GLX_SWAP_INTERVAL_EXT 0x20F1
|
||||||
#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
|
#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
|
||||||
typedef void ( *PFNGLXSWAPINTERVALEXTPROC) (X11_Display *dpy, GLXDrawable drawable, int interval);
|
typedef void ( *PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
void glXSwapIntervalEXT (X11_Display *dpy, GLXDrawable drawable, int interval);
|
void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_EXT_swap_control */
|
#endif /* GLX_EXT_swap_control */
|
||||||
|
|
||||||
@ -339,11 +389,11 @@ void glXSwapIntervalEXT (X11_Display *dpy, GLXDrawable drawable, int interval);
|
|||||||
#define GLX_AUX7_EXT 0x20E9
|
#define GLX_AUX7_EXT 0x20E9
|
||||||
#define GLX_AUX8_EXT 0x20EA
|
#define GLX_AUX8_EXT 0x20EA
|
||||||
#define GLX_AUX9_EXT 0x20EB
|
#define GLX_AUX9_EXT 0x20EB
|
||||||
typedef void ( *PFNGLXBINDTEXIMAGEEXTPROC) (X11_Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
|
typedef void ( *PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
|
||||||
typedef void ( *PFNGLXRELEASETEXIMAGEEXTPROC) (X11_Display *dpy, GLXDrawable drawable, int buffer);
|
typedef void ( *PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
void glXBindTexImageEXT (X11_Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
|
void glXBindTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
|
||||||
void glXReleaseTexImageEXT (X11_Display *dpy, GLXDrawable drawable, int buffer);
|
void glXReleaseTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_EXT_texture_from_pixmap */
|
#endif /* GLX_EXT_texture_from_pixmap */
|
||||||
|
|
||||||
@ -392,17 +442,17 @@ unsigned int glXGetAGPOffsetMESA (const void *pointer);
|
|||||||
|
|
||||||
#ifndef GLX_MESA_copy_sub_buffer
|
#ifndef GLX_MESA_copy_sub_buffer
|
||||||
#define GLX_MESA_copy_sub_buffer 1
|
#define GLX_MESA_copy_sub_buffer 1
|
||||||
typedef void ( *PFNGLXCOPYSUBBUFFERMESAPROC) (X11_Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
|
typedef void ( *PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
void glXCopySubBufferMESA (X11_Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
|
void glXCopySubBufferMESA (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_MESA_copy_sub_buffer */
|
#endif /* GLX_MESA_copy_sub_buffer */
|
||||||
|
|
||||||
#ifndef GLX_MESA_pixmap_colormap
|
#ifndef GLX_MESA_pixmap_colormap
|
||||||
#define GLX_MESA_pixmap_colormap 1
|
#define GLX_MESA_pixmap_colormap 1
|
||||||
typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPMESAPROC) (X11_Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
|
typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
GLXPixmap glXCreateGLXPixmapMESA (X11_Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
|
GLXPixmap glXCreateGLXPixmapMESA (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_MESA_pixmap_colormap */
|
#endif /* GLX_MESA_pixmap_colormap */
|
||||||
|
|
||||||
@ -419,24 +469,23 @@ GLXPixmap glXCreateGLXPixmapMESA (X11_Display *dpy, XVisualInfo *visual, Pixmap
|
|||||||
#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B
|
#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B
|
||||||
#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C
|
#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C
|
||||||
#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D
|
#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D
|
||||||
#define GLX_RENDERER_ID_MESA 0x818E
|
|
||||||
typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value);
|
typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value);
|
||||||
typedef const char *( *PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute);
|
typedef const char *( *PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute);
|
||||||
typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (X11_Display *dpy, int screen, int renderer, int attribute, unsigned int *value);
|
typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value);
|
||||||
typedef const char *( *PFNGLXQUERYRENDERERSTRINGMESAPROC) (X11_Display *dpy, int screen, int renderer, int attribute);
|
typedef const char *( *PFNGLXQUERYRENDERERSTRINGMESAPROC) (Display *dpy, int screen, int renderer, int attribute);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXQueryCurrentRendererIntegerMESA (int attribute, unsigned int *value);
|
Bool glXQueryCurrentRendererIntegerMESA (int attribute, unsigned int *value);
|
||||||
const char *glXQueryCurrentRendererStringMESA (int attribute);
|
const char *glXQueryCurrentRendererStringMESA (int attribute);
|
||||||
Bool glXQueryRendererIntegerMESA (X11_Display *dpy, int screen, int renderer, int attribute, unsigned int *value);
|
Bool glXQueryRendererIntegerMESA (Display *dpy, int screen, int renderer, int attribute, unsigned int *value);
|
||||||
const char *glXQueryRendererStringMESA (X11_Display *dpy, int screen, int renderer, int attribute);
|
const char *glXQueryRendererStringMESA (Display *dpy, int screen, int renderer, int attribute);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_MESA_query_renderer */
|
#endif /* GLX_MESA_query_renderer */
|
||||||
|
|
||||||
#ifndef GLX_MESA_release_buffers
|
#ifndef GLX_MESA_release_buffers
|
||||||
#define GLX_MESA_release_buffers 1
|
#define GLX_MESA_release_buffers 1
|
||||||
typedef Bool ( *PFNGLXRELEASEBUFFERSMESAPROC) (X11_Display *dpy, GLXDrawable drawable);
|
typedef Bool ( *PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXReleaseBuffersMESA (X11_Display *dpy, GLXDrawable drawable);
|
Bool glXReleaseBuffersMESA (Display *dpy, GLXDrawable drawable);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_MESA_release_buffers */
|
#endif /* GLX_MESA_release_buffers */
|
||||||
|
|
||||||
@ -444,25 +493,45 @@ Bool glXReleaseBuffersMESA (X11_Display *dpy, GLXDrawable drawable);
|
|||||||
#define GLX_MESA_set_3dfx_mode 1
|
#define GLX_MESA_set_3dfx_mode 1
|
||||||
#define GLX_3DFX_WINDOW_MODE_MESA 0x1
|
#define GLX_3DFX_WINDOW_MODE_MESA 0x1
|
||||||
#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
|
#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
|
||||||
typedef Bool ( *PFNGLXSET3DFXMODEMESAPROC) (int mode);
|
typedef GLboolean ( *PFNGLXSET3DFXMODEMESAPROC) (GLint mode);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXSet3DfxModeMESA (int mode);
|
GLboolean glXSet3DfxModeMESA (GLint mode);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_MESA_set_3dfx_mode */
|
#endif /* GLX_MESA_set_3dfx_mode */
|
||||||
|
|
||||||
|
#ifndef GLX_MESA_swap_control
|
||||||
|
#define GLX_MESA_swap_control 1
|
||||||
|
typedef int ( *PFNGLXGETSWAPINTERVALMESAPROC) (void);
|
||||||
|
typedef int ( *PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval);
|
||||||
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
|
int glXGetSwapIntervalMESA (void);
|
||||||
|
int glXSwapIntervalMESA (unsigned int interval);
|
||||||
|
#endif
|
||||||
|
#endif /* GLX_MESA_swap_control */
|
||||||
|
|
||||||
|
#ifndef GLX_NV_copy_buffer
|
||||||
|
#define GLX_NV_copy_buffer 1
|
||||||
|
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
|
||||||
|
typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
|
||||||
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
|
void glXCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
|
||||||
|
void glXNamedCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
|
||||||
|
#endif
|
||||||
|
#endif /* GLX_NV_copy_buffer */
|
||||||
|
|
||||||
#ifndef GLX_NV_copy_image
|
#ifndef GLX_NV_copy_image
|
||||||
#define GLX_NV_copy_image 1
|
#define GLX_NV_copy_image 1
|
||||||
typedef void ( *PFNGLXCOPYIMAGESUBDATANVPROC) (X11_Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
|
typedef void ( *PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
void glXCopyImageSubDataNV (X11_Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
|
void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_NV_copy_image */
|
#endif /* GLX_NV_copy_image */
|
||||||
|
|
||||||
#ifndef GLX_NV_delay_before_swap
|
#ifndef GLX_NV_delay_before_swap
|
||||||
#define GLX_NV_delay_before_swap 1
|
#define GLX_NV_delay_before_swap 1
|
||||||
typedef Bool ( *PFNGLXDELAYBEFORESWAPNVPROC) (X11_Display *dpy, GLXDrawable drawable, GLfloat seconds);
|
typedef Bool ( *PFNGLXDELAYBEFORESWAPNVPROC) (Display *dpy, GLXDrawable drawable, GLfloat seconds);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXDelayBeforeSwapNV (X11_Display *dpy, GLXDrawable drawable, GLfloat seconds);
|
Bool glXDelayBeforeSwapNV (Display *dpy, GLXDrawable drawable, GLfloat seconds);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_NV_delay_before_swap */
|
#endif /* GLX_NV_delay_before_swap */
|
||||||
|
|
||||||
@ -471,6 +540,15 @@ Bool glXDelayBeforeSwapNV (X11_Display *dpy, GLXDrawable drawable, GLfloat secon
|
|||||||
#define GLX_FLOAT_COMPONENTS_NV 0x20B0
|
#define GLX_FLOAT_COMPONENTS_NV 0x20B0
|
||||||
#endif /* GLX_NV_float_buffer */
|
#endif /* GLX_NV_float_buffer */
|
||||||
|
|
||||||
|
#ifndef GLX_NV_multigpu_context
|
||||||
|
#define GLX_NV_multigpu_context 1
|
||||||
|
#define GLX_CONTEXT_MULTIGPU_ATTRIB_NV 0x20AA
|
||||||
|
#define GLX_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV 0x20AB
|
||||||
|
#define GLX_CONTEXT_MULTIGPU_ATTRIB_AFR_NV 0x20AC
|
||||||
|
#define GLX_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV 0x20AD
|
||||||
|
#define GLX_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV 0x20AE
|
||||||
|
#endif /* GLX_NV_multigpu_context */
|
||||||
|
|
||||||
#ifndef GLX_NV_multisample_coverage
|
#ifndef GLX_NV_multisample_coverage
|
||||||
#define GLX_NV_multisample_coverage 1
|
#define GLX_NV_multisample_coverage 1
|
||||||
#define GLX_COVERAGE_SAMPLES_NV 100001
|
#define GLX_COVERAGE_SAMPLES_NV 100001
|
||||||
@ -480,29 +558,34 @@ Bool glXDelayBeforeSwapNV (X11_Display *dpy, GLXDrawable drawable, GLfloat secon
|
|||||||
#ifndef GLX_NV_present_video
|
#ifndef GLX_NV_present_video
|
||||||
#define GLX_NV_present_video 1
|
#define GLX_NV_present_video 1
|
||||||
#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
|
#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
|
||||||
typedef unsigned int *( *PFNGLXENUMERATEVIDEODEVICESNVPROC) (X11_Display *dpy, int screen, int *nelements);
|
typedef unsigned int *( *PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
|
||||||
typedef int ( *PFNGLXBINDVIDEODEVICENVPROC) (X11_Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
|
typedef int ( *PFNGLXBINDVIDEODEVICENVPROC) (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
unsigned int *glXEnumerateVideoDevicesNV (X11_Display *dpy, int screen, int *nelements);
|
unsigned int *glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
|
||||||
int glXBindVideoDeviceNV (X11_Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
|
int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_NV_present_video */
|
#endif /* GLX_NV_present_video */
|
||||||
|
|
||||||
|
#ifndef GLX_NV_robustness_video_memory_purge
|
||||||
|
#define GLX_NV_robustness_video_memory_purge 1
|
||||||
|
#define GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7
|
||||||
|
#endif /* GLX_NV_robustness_video_memory_purge */
|
||||||
|
|
||||||
#ifndef GLX_NV_swap_group
|
#ifndef GLX_NV_swap_group
|
||||||
#define GLX_NV_swap_group 1
|
#define GLX_NV_swap_group 1
|
||||||
typedef Bool ( *PFNGLXJOINSWAPGROUPNVPROC) (X11_Display *dpy, GLXDrawable drawable, GLuint group);
|
typedef Bool ( *PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint group);
|
||||||
typedef Bool ( *PFNGLXBINDSWAPBARRIERNVPROC) (X11_Display *dpy, GLuint group, GLuint barrier);
|
typedef Bool ( *PFNGLXBINDSWAPBARRIERNVPROC) (Display *dpy, GLuint group, GLuint barrier);
|
||||||
typedef Bool ( *PFNGLXQUERYSWAPGROUPNVPROC) (X11_Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
|
typedef Bool ( *PFNGLXQUERYSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
|
||||||
typedef Bool ( *PFNGLXQUERYMAXSWAPGROUPSNVPROC) (X11_Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
|
typedef Bool ( *PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
|
||||||
typedef Bool ( *PFNGLXQUERYFRAMECOUNTNVPROC) (X11_Display *dpy, int screen, GLuint *count);
|
typedef Bool ( *PFNGLXQUERYFRAMECOUNTNVPROC) (Display *dpy, int screen, GLuint *count);
|
||||||
typedef Bool ( *PFNGLXRESETFRAMECOUNTNVPROC) (X11_Display *dpy, int screen);
|
typedef Bool ( *PFNGLXRESETFRAMECOUNTNVPROC) (Display *dpy, int screen);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXJoinSwapGroupNV (X11_Display *dpy, GLXDrawable drawable, GLuint group);
|
Bool glXJoinSwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint group);
|
||||||
Bool glXBindSwapBarrierNV (X11_Display *dpy, GLuint group, GLuint barrier);
|
Bool glXBindSwapBarrierNV (Display *dpy, GLuint group, GLuint barrier);
|
||||||
Bool glXQuerySwapGroupNV (X11_Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
|
Bool glXQuerySwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
|
||||||
Bool glXQueryMaxSwapGroupsNV (X11_Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
|
Bool glXQueryMaxSwapGroupsNV (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
|
||||||
Bool glXQueryFrameCountNV (X11_Display *dpy, int screen, GLuint *count);
|
Bool glXQueryFrameCountNV (Display *dpy, int screen, GLuint *count);
|
||||||
Bool glXResetFrameCountNV (X11_Display *dpy, int screen);
|
Bool glXResetFrameCountNV (Display *dpy, int screen);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_NV_swap_group */
|
#endif /* GLX_NV_swap_group */
|
||||||
|
|
||||||
@ -512,22 +595,22 @@ typedef XID GLXVideoCaptureDeviceNV;
|
|||||||
#define GLX_DEVICE_ID_NV 0x20CD
|
#define GLX_DEVICE_ID_NV 0x20CD
|
||||||
#define GLX_UNIQUE_ID_NV 0x20CE
|
#define GLX_UNIQUE_ID_NV 0x20CE
|
||||||
#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
|
#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
|
||||||
typedef int ( *PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (X11_Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
|
typedef int ( *PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
|
||||||
typedef GLXVideoCaptureDeviceNV *( *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (X11_Display *dpy, int screen, int *nelements);
|
typedef GLXVideoCaptureDeviceNV *( *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
|
||||||
typedef void ( *PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (X11_Display *dpy, GLXVideoCaptureDeviceNV device);
|
typedef void ( *PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device);
|
||||||
typedef int ( *PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (X11_Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
|
typedef int ( *PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
|
||||||
typedef void ( *PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (X11_Display *dpy, GLXVideoCaptureDeviceNV device);
|
typedef void ( *PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
int glXBindVideoCaptureDeviceNV (X11_Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
|
int glXBindVideoCaptureDeviceNV (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
|
||||||
GLXVideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV (X11_Display *dpy, int screen, int *nelements);
|
GLXVideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
|
||||||
void glXLockVideoCaptureDeviceNV (X11_Display *dpy, GLXVideoCaptureDeviceNV device);
|
void glXLockVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device);
|
||||||
int glXQueryVideoCaptureDeviceNV (X11_Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
|
int glXQueryVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
|
||||||
void glXReleaseVideoCaptureDeviceNV (X11_Display *dpy, GLXVideoCaptureDeviceNV device);
|
void glXReleaseVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_NV_video_capture */
|
#endif /* GLX_NV_video_capture */
|
||||||
|
|
||||||
#ifndef GLX_NV_video_output
|
#ifndef GLX_NV_video_out
|
||||||
#define GLX_NV_video_output 1
|
#define GLX_NV_video_out 1
|
||||||
typedef unsigned int GLXVideoDeviceNV;
|
typedef unsigned int GLXVideoDeviceNV;
|
||||||
#define GLX_VIDEO_OUT_COLOR_NV 0x20C3
|
#define GLX_VIDEO_OUT_COLOR_NV 0x20C3
|
||||||
#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
|
#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
|
||||||
@ -539,21 +622,21 @@ typedef unsigned int GLXVideoDeviceNV;
|
|||||||
#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
|
#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
|
||||||
#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
|
#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
|
||||||
#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
|
#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
|
||||||
typedef int ( *PFNGLXGETVIDEODEVICENVPROC) (X11_Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
|
typedef int ( *PFNGLXGETVIDEODEVICENVPROC) (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
|
||||||
typedef int ( *PFNGLXRELEASEVIDEODEVICENVPROC) (X11_Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
|
typedef int ( *PFNGLXRELEASEVIDEODEVICENVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
|
||||||
typedef int ( *PFNGLXBINDVIDEOIMAGENVPROC) (X11_Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
|
typedef int ( *PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
|
||||||
typedef int ( *PFNGLXRELEASEVIDEOIMAGENVPROC) (X11_Display *dpy, GLXPbuffer pbuf);
|
typedef int ( *PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf);
|
||||||
typedef int ( *PFNGLXSENDPBUFFERTOVIDEONVPROC) (X11_Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
|
typedef int ( *PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
|
||||||
typedef int ( *PFNGLXGETVIDEOINFONVPROC) (X11_Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
|
typedef int ( *PFNGLXGETVIDEOINFONVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
int glXGetVideoDeviceNV (X11_Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
|
int glXGetVideoDeviceNV (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
|
||||||
int glXReleaseVideoDeviceNV (X11_Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
|
int glXReleaseVideoDeviceNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
|
||||||
int glXBindVideoImageNV (X11_Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
|
int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
|
||||||
int glXReleaseVideoImageNV (X11_Display *dpy, GLXPbuffer pbuf);
|
int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf);
|
||||||
int glXSendPbufferToVideoNV (X11_Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
|
int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
|
||||||
int glXGetVideoInfoNV (X11_Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
|
int glXGetVideoInfoNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_NV_video_output */
|
#endif /* GLX_NV_video_out */
|
||||||
|
|
||||||
#ifndef GLX_OML_swap_method
|
#ifndef GLX_OML_swap_method
|
||||||
#define GLX_OML_swap_method 1
|
#define GLX_OML_swap_method 1
|
||||||
@ -602,17 +685,17 @@ typedef unsigned __int64 uint64_t;
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
typedef Bool ( *PFNGLXGETSYNCVALUESOMLPROC) (X11_Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
|
typedef Bool ( *PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
|
||||||
typedef Bool ( *PFNGLXGETMSCRATEOMLPROC) (X11_Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
|
typedef Bool ( *PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
|
||||||
typedef int64_t ( *PFNGLXSWAPBUFFERSMSCOMLPROC) (X11_Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
|
typedef int64_t ( *PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
|
||||||
typedef Bool ( *PFNGLXWAITFORMSCOMLPROC) (X11_Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
|
typedef Bool ( *PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
|
||||||
typedef Bool ( *PFNGLXWAITFORSBCOMLPROC) (X11_Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
|
typedef Bool ( *PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXGetSyncValuesOML (X11_Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
|
Bool glXGetSyncValuesOML (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
|
||||||
Bool glXGetMscRateOML (X11_Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
|
Bool glXGetMscRateOML (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
|
||||||
int64_t glXSwapBuffersMscOML (X11_Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
|
int64_t glXSwapBuffersMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
|
||||||
Bool glXWaitForMscOML (X11_Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
|
Bool glXWaitForMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
|
||||||
Bool glXWaitForSbcOML (X11_Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
|
Bool glXWaitForSbcOML (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_OML_sync_control */
|
#endif /* GLX_OML_sync_control */
|
||||||
|
|
||||||
@ -638,9 +721,9 @@ Bool glXWaitForSbcOML (X11_Display *dpy, GLXDrawable drawable, int64_t target_sb
|
|||||||
typedef XID GLXPbufferSGIX;
|
typedef XID GLXPbufferSGIX;
|
||||||
#ifdef _DM_BUFFER_H_
|
#ifdef _DM_BUFFER_H_
|
||||||
#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024
|
#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024
|
||||||
typedef Bool ( *PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (X11_Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
|
typedef Bool ( *PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXAssociateDMPbufferSGIX (X11_Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
|
Bool glXAssociateDMPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
|
||||||
#endif
|
#endif
|
||||||
#endif /* _DM_BUFFER_H_ */
|
#endif /* _DM_BUFFER_H_ */
|
||||||
#endif /* GLX_SGIX_dmbuffer */
|
#endif /* GLX_SGIX_dmbuffer */
|
||||||
@ -658,19 +741,19 @@ typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
|
|||||||
#define GLX_FBCONFIG_ID_SGIX 0x8013
|
#define GLX_FBCONFIG_ID_SGIX 0x8013
|
||||||
#define GLX_RGBA_TYPE_SGIX 0x8014
|
#define GLX_RGBA_TYPE_SGIX 0x8014
|
||||||
#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
|
#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
|
||||||
typedef int ( *PFNGLXGETFBCONFIGATTRIBSGIXPROC) (X11_Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
|
typedef int ( *PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
|
||||||
typedef GLXFBConfigSGIX *( *PFNGLXCHOOSEFBCONFIGSGIXPROC) (X11_Display *dpy, int screen, int *attrib_list, int *nelements);
|
typedef GLXFBConfigSGIX *( *PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
|
||||||
typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (X11_Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
|
typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
|
||||||
typedef GLXContext ( *PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (X11_Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
|
typedef GLXContext ( *PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
|
||||||
typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (X11_Display *dpy, GLXFBConfigSGIX config);
|
typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config);
|
||||||
typedef GLXFBConfigSGIX ( *PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (X11_Display *dpy, XVisualInfo *vis);
|
typedef GLXFBConfigSGIX ( *PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
int glXGetFBConfigAttribSGIX (X11_Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
|
int glXGetFBConfigAttribSGIX (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
|
||||||
GLXFBConfigSGIX *glXChooseFBConfigSGIX (X11_Display *dpy, int screen, int *attrib_list, int *nelements);
|
GLXFBConfigSGIX *glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
|
||||||
GLXPixmap glXCreateGLXPixmapWithConfigSGIX (X11_Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
|
GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
|
||||||
GLXContext glXCreateContextWithConfigSGIX (X11_Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
|
GLXContext glXCreateContextWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
|
||||||
XVisualInfo *glXGetVisualFromFBConfigSGIX (X11_Display *dpy, GLXFBConfigSGIX config);
|
XVisualInfo *glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfigSGIX config);
|
||||||
GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (X11_Display *dpy, XVisualInfo *vis);
|
GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *dpy, XVisualInfo *vis);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGIX_fbconfig */
|
#endif /* GLX_SGIX_fbconfig */
|
||||||
|
|
||||||
@ -705,23 +788,23 @@ typedef struct {
|
|||||||
#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
|
#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
|
||||||
#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
|
#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
|
||||||
#define GLX_HYPERPIPE_ID_SGIX 0x8030
|
#define GLX_HYPERPIPE_ID_SGIX 0x8030
|
||||||
typedef GLXHyperpipeNetworkSGIX *( *PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (X11_Display *dpy, int *npipes);
|
typedef GLXHyperpipeNetworkSGIX *( *PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
|
||||||
typedef int ( *PFNGLXHYPERPIPECONFIGSGIXPROC) (X11_Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
|
typedef int ( *PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
|
||||||
typedef GLXHyperpipeConfigSGIX *( *PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (X11_Display *dpy, int hpId, int *npipes);
|
typedef GLXHyperpipeConfigSGIX *( *PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes);
|
||||||
typedef int ( *PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (X11_Display *dpy, int hpId);
|
typedef int ( *PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId);
|
||||||
typedef int ( *PFNGLXBINDHYPERPIPESGIXPROC) (X11_Display *dpy, int hpId);
|
typedef int ( *PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
|
||||||
typedef int ( *PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (X11_Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
|
typedef int ( *PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
|
||||||
typedef int ( *PFNGLXHYPERPIPEATTRIBSGIXPROC) (X11_Display *dpy, int timeSlice, int attrib, int size, void *attribList);
|
typedef int ( *PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
|
||||||
typedef int ( *PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (X11_Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
|
typedef int ( *PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
GLXHyperpipeNetworkSGIX *glXQueryHyperpipeNetworkSGIX (X11_Display *dpy, int *npipes);
|
GLXHyperpipeNetworkSGIX *glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes);
|
||||||
int glXHyperpipeConfigSGIX (X11_Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
|
int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
|
||||||
GLXHyperpipeConfigSGIX *glXQueryHyperpipeConfigSGIX (X11_Display *dpy, int hpId, int *npipes);
|
GLXHyperpipeConfigSGIX *glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes);
|
||||||
int glXDestroyHyperpipeConfigSGIX (X11_Display *dpy, int hpId);
|
int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId);
|
||||||
int glXBindHyperpipeSGIX (X11_Display *dpy, int hpId);
|
int glXBindHyperpipeSGIX (Display *dpy, int hpId);
|
||||||
int glXQueryHyperpipeBestAttribSGIX (X11_Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
|
int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
|
||||||
int glXHyperpipeAttribSGIX (X11_Display *dpy, int timeSlice, int attrib, int size, void *attribList);
|
int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
|
||||||
int glXQueryHyperpipeAttribSGIX (X11_Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
|
int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGIX_hyperpipe */
|
#endif /* GLX_SGIX_hyperpipe */
|
||||||
|
|
||||||
@ -752,35 +835,35 @@ int glXQueryHyperpipeAttribSGIX (X11_Display *dpy, int timeSlice, int attrib, in
|
|||||||
#define GLX_SAVED_SGIX 0x8021
|
#define GLX_SAVED_SGIX 0x8021
|
||||||
#define GLX_WINDOW_SGIX 0x8022
|
#define GLX_WINDOW_SGIX 0x8022
|
||||||
#define GLX_PBUFFER_SGIX 0x8023
|
#define GLX_PBUFFER_SGIX 0x8023
|
||||||
typedef GLXPbufferSGIX ( *PFNGLXCREATEGLXPBUFFERSGIXPROC) (X11_Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
|
typedef GLXPbufferSGIX ( *PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
|
||||||
typedef void ( *PFNGLXDESTROYGLXPBUFFERSGIXPROC) (X11_Display *dpy, GLXPbufferSGIX pbuf);
|
typedef void ( *PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);
|
||||||
typedef int ( *PFNGLXQUERYGLXPBUFFERSGIXPROC) (X11_Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
|
typedef void ( *PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
|
||||||
typedef void ( *PFNGLXSELECTEVENTSGIXPROC) (X11_Display *dpy, GLXDrawable drawable, unsigned long mask);
|
typedef void ( *PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask);
|
||||||
typedef void ( *PFNGLXGETSELECTEDEVENTSGIXPROC) (X11_Display *dpy, GLXDrawable drawable, unsigned long *mask);
|
typedef void ( *PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
GLXPbufferSGIX glXCreateGLXPbufferSGIX (X11_Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
|
GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
|
||||||
void glXDestroyGLXPbufferSGIX (X11_Display *dpy, GLXPbufferSGIX pbuf);
|
void glXDestroyGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf);
|
||||||
int glXQueryGLXPbufferSGIX (X11_Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
|
void glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
|
||||||
void glXSelectEventSGIX (X11_Display *dpy, GLXDrawable drawable, unsigned long mask);
|
void glXSelectEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long mask);
|
||||||
void glXGetSelectedEventSGIX (X11_Display *dpy, GLXDrawable drawable, unsigned long *mask);
|
void glXGetSelectedEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long *mask);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGIX_pbuffer */
|
#endif /* GLX_SGIX_pbuffer */
|
||||||
|
|
||||||
#ifndef GLX_SGIX_swap_barrier
|
#ifndef GLX_SGIX_swap_barrier
|
||||||
#define GLX_SGIX_swap_barrier 1
|
#define GLX_SGIX_swap_barrier 1
|
||||||
typedef void ( *PFNGLXBINDSWAPBARRIERSGIXPROC) (X11_Display *dpy, GLXDrawable drawable, int barrier);
|
typedef void ( *PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
|
||||||
typedef Bool ( *PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (X11_Display *dpy, int screen, int *max);
|
typedef Bool ( *PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
void glXBindSwapBarrierSGIX (X11_Display *dpy, GLXDrawable drawable, int barrier);
|
void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier);
|
||||||
Bool glXQueryMaxSwapBarriersSGIX (X11_Display *dpy, int screen, int *max);
|
Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGIX_swap_barrier */
|
#endif /* GLX_SGIX_swap_barrier */
|
||||||
|
|
||||||
#ifndef GLX_SGIX_swap_group
|
#ifndef GLX_SGIX_swap_group
|
||||||
#define GLX_SGIX_swap_group 1
|
#define GLX_SGIX_swap_group 1
|
||||||
typedef void ( *PFNGLXJOINSWAPGROUPSGIXPROC) (X11_Display *dpy, GLXDrawable drawable, GLXDrawable member);
|
typedef void ( *PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
void glXJoinSwapGroupSGIX (X11_Display *dpy, GLXDrawable drawable, GLXDrawable member);
|
void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGIX_swap_group */
|
#endif /* GLX_SGIX_swap_group */
|
||||||
|
|
||||||
@ -788,17 +871,17 @@ void glXJoinSwapGroupSGIX (X11_Display *dpy, GLXDrawable drawable, GLXDrawable m
|
|||||||
#define GLX_SGIX_video_resize 1
|
#define GLX_SGIX_video_resize 1
|
||||||
#define GLX_SYNC_FRAME_SGIX 0x00000000
|
#define GLX_SYNC_FRAME_SGIX 0x00000000
|
||||||
#define GLX_SYNC_SWAP_SGIX 0x00000001
|
#define GLX_SYNC_SWAP_SGIX 0x00000001
|
||||||
typedef int ( *PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (X11_Display *display, int screen, int channel, X11_Window window);
|
typedef int ( *PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window);
|
||||||
typedef int ( *PFNGLXCHANNELRECTSGIXPROC) (X11_Display *display, int screen, int channel, int x, int y, int w, int h);
|
typedef int ( *PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h);
|
||||||
typedef int ( *PFNGLXQUERYCHANNELRECTSGIXPROC) (X11_Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
|
typedef int ( *PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
|
||||||
typedef int ( *PFNGLXQUERYCHANNELDELTASSGIXPROC) (X11_Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
|
typedef int ( *PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
|
||||||
typedef int ( *PFNGLXCHANNELRECTSYNCSGIXPROC) (X11_Display *display, int screen, int channel, GLenum synctype);
|
typedef int ( *PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
int glXBindChannelToWindowSGIX (X11_Display *display, int screen, int channel, X11_Window window);
|
int glXBindChannelToWindowSGIX (Display *display, int screen, int channel, Window window);
|
||||||
int glXChannelRectSGIX (X11_Display *display, int screen, int channel, int x, int y, int w, int h);
|
int glXChannelRectSGIX (Display *display, int screen, int channel, int x, int y, int w, int h);
|
||||||
int glXQueryChannelRectSGIX (X11_Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
|
int glXQueryChannelRectSGIX (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
|
||||||
int glXQueryChannelDeltasSGIX (X11_Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
|
int glXQueryChannelDeltasSGIX (Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
|
||||||
int glXChannelRectSyncSGIX (X11_Display *display, int screen, int channel, GLenum synctype);
|
int glXChannelRectSyncSGIX (Display *display, int screen, int channel, GLenum synctype);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGIX_video_resize */
|
#endif /* GLX_SGIX_video_resize */
|
||||||
|
|
||||||
@ -806,11 +889,11 @@ int glXChannelRectSyncSGIX (X11_Display *display, int screen, int channel, GLenu
|
|||||||
#define GLX_SGIX_video_source 1
|
#define GLX_SGIX_video_source 1
|
||||||
typedef XID GLXVideoSourceSGIX;
|
typedef XID GLXVideoSourceSGIX;
|
||||||
#ifdef _VL_H
|
#ifdef _VL_H
|
||||||
typedef GLXVideoSourceSGIX ( *PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (X11_Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
|
typedef GLXVideoSourceSGIX ( *PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
|
||||||
typedef void ( *PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (X11_Display *dpy, GLXVideoSourceSGIX glxvideosource);
|
typedef void ( *PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (X11_Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
|
GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
|
||||||
void glXDestroyGLXVideoSourceSGIX (X11_Display *dpy, GLXVideoSourceSGIX glxvideosource);
|
void glXDestroyGLXVideoSourceSGIX (Display *dpy, GLXVideoSourceSGIX glxvideosource);
|
||||||
#endif
|
#endif
|
||||||
#endif /* _VL_H */
|
#endif /* _VL_H */
|
||||||
#endif /* GLX_SGIX_video_source */
|
#endif /* GLX_SGIX_video_source */
|
||||||
@ -822,18 +905,18 @@ void glXDestroyGLXVideoSourceSGIX (X11_Display *dpy, GLXVideoSourceSGIX glxvideo
|
|||||||
|
|
||||||
#ifndef GLX_SGI_cushion
|
#ifndef GLX_SGI_cushion
|
||||||
#define GLX_SGI_cushion 1
|
#define GLX_SGI_cushion 1
|
||||||
typedef void ( *PFNGLXCUSHIONSGIPROC) (X11_Display *dpy, X11_Window window, float cushion);
|
typedef void ( *PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
void glXCushionSGI (X11_Display *dpy, X11_Window window, float cushion);
|
void glXCushionSGI (Display *dpy, Window window, float cushion);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGI_cushion */
|
#endif /* GLX_SGI_cushion */
|
||||||
|
|
||||||
#ifndef GLX_SGI_make_current_read
|
#ifndef GLX_SGI_make_current_read
|
||||||
#define GLX_SGI_make_current_read 1
|
#define GLX_SGI_make_current_read 1
|
||||||
typedef Bool ( *PFNGLXMAKECURRENTREADSGIPROC) (X11_Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
typedef Bool ( *PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
||||||
typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void);
|
typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Bool glXMakeCurrentReadSGI (X11_Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
|
||||||
GLXDrawable glXGetCurrentReadDrawableSGI (void);
|
GLXDrawable glXGetCurrentReadDrawableSGI (void);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SGI_make_current_read */
|
#endif /* GLX_SGI_make_current_read */
|
||||||
@ -858,9 +941,9 @@ int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count);
|
|||||||
|
|
||||||
#ifndef GLX_SUN_get_transparent_index
|
#ifndef GLX_SUN_get_transparent_index
|
||||||
#define GLX_SUN_get_transparent_index 1
|
#define GLX_SUN_get_transparent_index 1
|
||||||
typedef Status ( *PFNGLXGETTRANSPARENTINDEXSUNPROC) (X11_Display *dpy, X11_Window overlay, X11_Window underlay, long *pTransparentIndex);
|
typedef Status ( *PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex);
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
Status glXGetTransparentIndexSUN (X11_Display *dpy, X11_Window overlay, X11_Window underlay, long *pTransparentIndex);
|
Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex);
|
||||||
#endif
|
#endif
|
||||||
#endif /* GLX_SUN_get_transparent_index */
|
#endif /* GLX_SUN_get_transparent_index */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user