6 |
#endif |
#endif |
7 |
|
|
8 |
/* |
/* |
9 |
** Copyright (c) 2007-2010 The Khronos Group Inc. |
** Copyright (c) 2007-2012 The Khronos Group Inc. |
10 |
** |
** |
11 |
** Permission is hereby granted, free of charge, to any person obtaining a |
** Permission is hereby granted, free of charge, to any person obtaining a |
12 |
** copy of this software and/or associated documentation files (the |
** copy of this software and/or associated documentation files (the |
48 |
/*************************************************************/ |
/*************************************************************/ |
49 |
|
|
50 |
/* Header file version number, required by OpenGL ABI for Linux */ |
/* Header file version number, required by OpenGL ABI for Linux */ |
51 |
/* glxext.h last updated 2010/08/06 */ |
/* glxext.h last updated 2012/02/29 */ |
52 |
/* Current version at http://www.opengl.org/registry/ */ |
/* Current version at http://www.opengl.org/registry/ */ |
53 |
#define GLX_GLXEXT_VERSION 32 |
#define GLX_GLXEXT_VERSION 33 |
54 |
|
|
55 |
#ifndef GLX_VERSION_1_3 |
#ifndef GLX_VERSION_1_3 |
56 |
#define GLX_WINDOW_BIT 0x00000001 |
#define GLX_WINDOW_BIT 0x00000001 |
440 |
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
441 |
#endif |
#endif |
442 |
|
|
443 |
|
#ifndef GLX_EXT_swap_control_tear |
444 |
|
#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3 |
445 |
|
#endif |
446 |
|
|
447 |
|
|
448 |
/*************************************************************/ |
/*************************************************************/ |
449 |
|
|
968 |
#ifndef GLX_EXT_swap_control |
#ifndef GLX_EXT_swap_control |
969 |
#define GLX_EXT_swap_control 1 |
#define GLX_EXT_swap_control 1 |
970 |
#ifdef GLX_GLXEXT_PROTOTYPES |
#ifdef GLX_GLXEXT_PROTOTYPES |
971 |
extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval); |
extern void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval); |
972 |
#endif /* GLX_GLXEXT_PROTOTYPES */ |
#endif /* GLX_GLXEXT_PROTOTYPES */ |
973 |
typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval); |
typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval); |
974 |
#endif |
#endif |
975 |
|
|
976 |
#ifndef GLX_NV_copy_image |
#ifndef GLX_NV_copy_image |
989 |
#define GLX_NV_multisample_coverage 1 |
#define GLX_NV_multisample_coverage 1 |
990 |
#endif |
#endif |
991 |
|
|
992 |
|
#ifndef GLX_EXT_swap_control_tear |
993 |
|
#define GLX_EXT_swap_control_tear 1 |
994 |
|
#endif |
995 |
|
|
996 |
|
|
997 |
#ifdef __cplusplus |
#ifdef __cplusplus |
998 |
} |
} |