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/02/10 */ |
/* 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 27 |
#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 |
124 |
#define GLX_SAMPLES_ARB 100001 |
#define GLX_SAMPLES_ARB 100001 |
125 |
#endif |
#endif |
126 |
|
|
127 |
|
#ifndef GLX_ARB_vertex_buffer_object |
128 |
|
#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 |
129 |
|
#endif |
130 |
|
|
131 |
#ifndef GLX_ARB_fbconfig_float |
#ifndef GLX_ARB_fbconfig_float |
132 |
#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 |
#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 |
133 |
#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 |
#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 |
134 |
#endif |
#endif |
135 |
|
|
136 |
|
#ifndef GLX_ARB_framebuffer_sRGB |
137 |
|
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 |
138 |
|
#endif |
139 |
|
|
140 |
#ifndef GLX_ARB_create_context |
#ifndef GLX_ARB_create_context |
141 |
#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 |
#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 |
142 |
#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 |
#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 |
151 |
#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 |
#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 |
152 |
#endif |
#endif |
153 |
|
|
154 |
|
#ifndef GLX_ARB_create_context_robustness |
155 |
|
#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 |
156 |
|
#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
157 |
|
#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
158 |
|
#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 |
159 |
|
#endif |
160 |
|
|
161 |
#ifndef GLX_SGIS_multisample |
#ifndef GLX_SGIS_multisample |
162 |
#define GLX_SAMPLE_BUFFERS_SGIS 100000 |
#define GLX_SAMPLE_BUFFERS_SGIS 100000 |
163 |
#define GLX_SAMPLES_SGIS 100001 |
#define GLX_SAMPLES_SGIS 100001 |
418 |
#define GLX_FLIP_COMPLETE_INTEL 0x8182 |
#define GLX_FLIP_COMPLETE_INTEL 0x8182 |
419 |
#endif |
#endif |
420 |
|
|
421 |
|
#ifndef GLX_NV_multisample_coverage |
422 |
|
#define GLX_COVERAGE_SAMPLES_NV 100001 |
423 |
|
#define GLX_COLOR_SAMPLES_NV 0x20B3 |
424 |
|
#endif |
425 |
|
|
426 |
|
#ifndef GLX_AMD_gpu_association |
427 |
|
#define GLX_GPU_VENDOR_AMD 0x1F00 |
428 |
|
#define GLX_GPU_RENDERER_STRING_AMD 0x1F01 |
429 |
|
#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 |
430 |
|
#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 |
431 |
|
#define GLX_GPU_RAM_AMD 0x21A3 |
432 |
|
#define GLX_GPU_CLOCK_AMD 0x21A4 |
433 |
|
#define GLX_GPU_NUM_PIPES_AMD 0x21A5 |
434 |
|
#define GLX_GPU_NUM_SIMD_AMD 0x21A6 |
435 |
|
#define GLX_GPU_NUM_RB_AMD 0x21A7 |
436 |
|
#define GLX_GPU_NUM_SPI_AMD 0x21A8 |
437 |
|
#endif |
438 |
|
|
439 |
|
#ifndef GLX_EXT_create_context_es2_profile |
440 |
|
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
441 |
|
#endif |
442 |
|
|
443 |
|
#ifndef GLX_EXT_swap_control_tear |
444 |
|
#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3 |
445 |
|
#endif |
446 |
|
|
447 |
|
|
448 |
/*************************************************************/ |
/*************************************************************/ |
449 |
|
|
588 |
#define GLX_ARB_fbconfig_float 1 |
#define GLX_ARB_fbconfig_float 1 |
589 |
#endif |
#endif |
590 |
|
|
591 |
|
#ifndef GLX_ARB_framebuffer_sRGB |
592 |
|
#define GLX_ARB_framebuffer_sRGB 1 |
593 |
|
#endif |
594 |
|
|
595 |
#ifndef GLX_ARB_create_context |
#ifndef GLX_ARB_create_context |
596 |
#define GLX_ARB_create_context 1 |
#define GLX_ARB_create_context 1 |
597 |
#ifdef GLX_GLXEXT_PROTOTYPES |
#ifdef GLX_GLXEXT_PROTOTYPES |
604 |
#define GLX_ARB_create_context_profile 1 |
#define GLX_ARB_create_context_profile 1 |
605 |
#endif |
#endif |
606 |
|
|
607 |
|
#ifndef GLX_ARB_create_context_robustness |
608 |
|
#define GLX_ARB_create_context_robustness 1 |
609 |
|
#endif |
610 |
|
|
611 |
#ifndef GLX_SGIS_multisample |
#ifndef GLX_SGIS_multisample |
612 |
#define GLX_SGIS_multisample 1 |
#define GLX_SGIS_multisample 1 |
613 |
#endif |
#endif |
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 |
985 |
#define GLX_INTEL_swap_event 1 |
#define GLX_INTEL_swap_event 1 |
986 |
#endif |
#endif |
987 |
|
|
988 |
|
#ifndef GLX_NV_multisample_coverage |
989 |
|
#define GLX_NV_multisample_coverage 1 |
990 |
|
#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 |
} |
} |