mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Updated extension headers.
This commit is contained in:
parent
247a875435
commit
7ab5e826dd
1947
support/GL/glext.h
1947
support/GL/glext.h
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2007-2010 The Khronos Group Inc.
|
** Copyright (c) 2007-2012 The Khronos Group Inc.
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
** Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
** copy of this software and/or associated documentation files (the
|
** copy of this software and/or associated documentation files (the
|
||||||
|
@ -48,9 +48,9 @@ extern "C" {
|
||||||
/*************************************************************/
|
/*************************************************************/
|
||||||
|
|
||||||
/* Header file version number, required by OpenGL ABI for Linux */
|
/* Header file version number, required by OpenGL ABI for Linux */
|
||||||
/* glxext.h last updated 2010/08/06 */
|
/* glxext.h last updated 2012/02/29 */
|
||||||
/* Current version at http://www.opengl.org/registry/ */
|
/* Current version at http://www.opengl.org/registry/ */
|
||||||
#define GLX_GLXEXT_VERSION 32
|
#define GLX_GLXEXT_VERSION 33
|
||||||
|
|
||||||
#ifndef GLX_VERSION_1_3
|
#ifndef GLX_VERSION_1_3
|
||||||
#define GLX_WINDOW_BIT 0x00000001
|
#define GLX_WINDOW_BIT 0x00000001
|
||||||
|
@ -440,6 +440,14 @@ extern "C" {
|
||||||
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_swap_control_tear
|
||||||
|
#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_buffer_age
|
||||||
|
#define GLX_BACK_BUFFER_AGE_EXT 0x20F4
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************/
|
/*************************************************************/
|
||||||
|
|
||||||
|
@ -964,9 +972,9 @@ typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoC
|
||||||
#ifndef GLX_EXT_swap_control
|
#ifndef GLX_EXT_swap_control
|
||||||
#define GLX_EXT_swap_control 1
|
#define GLX_EXT_swap_control 1
|
||||||
#ifdef GLX_GLXEXT_PROTOTYPES
|
#ifdef GLX_GLXEXT_PROTOTYPES
|
||||||
extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);
|
extern void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);
|
||||||
#endif /* GLX_GLXEXT_PROTOTYPES */
|
#endif /* GLX_GLXEXT_PROTOTYPES */
|
||||||
typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
|
typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GLX_NV_copy_image
|
#ifndef GLX_NV_copy_image
|
||||||
|
@ -985,6 +993,14 @@ typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx,
|
||||||
#define GLX_NV_multisample_coverage 1
|
#define GLX_NV_multisample_coverage 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_swap_control_tear
|
||||||
|
#define GLX_EXT_swap_control_tear 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GLX_EXT_buffer_age
|
||||||
|
#define GLX_EXT_buffer_age 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2007-2010 The Khronos Group Inc.
|
** Copyright (c) 2007-2012 The Khronos Group Inc.
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
** Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
** copy of this software and/or associated documentation files (the
|
** copy of this software and/or associated documentation files (the
|
||||||
|
@ -48,9 +48,9 @@ extern "C" {
|
||||||
/*************************************************************/
|
/*************************************************************/
|
||||||
|
|
||||||
/* Header file version number */
|
/* Header file version number */
|
||||||
/* wglext.h last updated 2010/08/06 */
|
/* wglext.h last updated 2012/01/04 */
|
||||||
/* Current version at http://www.opengl.org/registry/ */
|
/* Current version at http://www.opengl.org/registry/ */
|
||||||
#define WGL_WGLEXT_VERSION 22
|
#define WGL_WGLEXT_VERSION 24
|
||||||
|
|
||||||
#ifndef WGL_ARB_buffer_region
|
#ifndef WGL_ARB_buffer_region
|
||||||
#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
|
#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
|
||||||
|
@ -416,6 +416,18 @@ extern "C" {
|
||||||
#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WGL_NV_DX_interop
|
||||||
|
#define WGL_ACCESS_READ_ONLY_NV 0x00000000
|
||||||
|
#define WGL_ACCESS_READ_WRITE_NV 0x00000001
|
||||||
|
#define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WGL_NV_DX_interop2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WGL_EXT_swap_control_tear
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************/
|
/*************************************************************/
|
||||||
|
|
||||||
|
@ -893,6 +905,36 @@ typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcNa
|
||||||
#define WGL_NV_multisample_coverage 1
|
#define WGL_NV_multisample_coverage 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WGL_NV_DX_interop
|
||||||
|
#define WGL_NV_DX_interop 1
|
||||||
|
#ifdef WGL_WGLEXT_PROTOTYPES
|
||||||
|
extern BOOL WINAPI wglDXSetResourceShareHandleNV (void *dxObject, HANDLE shareHandle);
|
||||||
|
extern HANDLE WINAPI wglDXOpenDeviceNV (void *dxDevice);
|
||||||
|
extern BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice);
|
||||||
|
extern HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access);
|
||||||
|
extern BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject);
|
||||||
|
extern BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access);
|
||||||
|
extern BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects);
|
||||||
|
extern BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects);
|
||||||
|
#endif /* WGL_WGLEXT_PROTOTYPES */
|
||||||
|
typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void *dxObject, HANDLE shareHandle);
|
||||||
|
typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void *dxDevice);
|
||||||
|
typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
|
||||||
|
typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access);
|
||||||
|
typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject);
|
||||||
|
typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access);
|
||||||
|
typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects);
|
||||||
|
typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WGL_NV_DX_interop2
|
||||||
|
#define WGL_NV_DX_interop2 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WGL_EXT_swap_control_tear
|
||||||
|
#define WGL_EXT_swap_control_tear 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user