1e84fe556Smrg/* GL dispatch header. 2e84fe556Smrg * This is code-generated from the GL API XML files from Khronos. 3133e50cbSmrg * 4133e50cbSmrg * Copyright (c) 2013-2018 The Khronos Group Inc. 5133e50cbSmrg * 6133e50cbSmrg * Licensed under the Apache License, Version 2.0 (the "License"); 7133e50cbSmrg * you may not use this file except in compliance with the License. 8133e50cbSmrg * You may obtain a copy of the License at 9133e50cbSmrg * 10133e50cbSmrg * http://www.apache.org/licenses/LICENSE-2.0 11133e50cbSmrg * 12133e50cbSmrg * Unless required by applicable law or agreed to in writing, software 13133e50cbSmrg * distributed under the License is distributed on an "AS IS" BASIS, 14133e50cbSmrg * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15133e50cbSmrg * See the License for the specific language governing permissions and 16133e50cbSmrg * limitations under the License. 17133e50cbSmrg * 18e84fe556Smrg */ 19e84fe556Smrg 20e84fe556Smrg#pragma once 21e84fe556Smrg#include <inttypes.h> 22e84fe556Smrg#include <stddef.h> 23e84fe556Smrg 24edd9e0adSmrg#include "epoxy/common.h" 25e84fe556Smrg#include "epoxy/gl.h" 26e84fe556Smrg#include <X11/Xlib.h> 27e84fe556Smrg#include <X11/Xutil.h> 28e84fe556Smrgtypedef XID GLXFBConfigID; 29e84fe556Smrgtypedef struct __GLXFBConfigRec *GLXFBConfig; 30e84fe556Smrgtypedef XID GLXContextID; 31e84fe556Smrgtypedef struct __GLXcontextRec *GLXContext; 32e84fe556Smrgtypedef XID GLXPixmap; 33e84fe556Smrgtypedef XID GLXDrawable; 34e84fe556Smrgtypedef XID GLXWindow; 35e84fe556Smrgtypedef XID GLXPbuffer; 36e84fe556Smrgtypedef void (APIENTRY *__GLXextFuncPtr)(void); 37e84fe556Smrgtypedef XID GLXVideoCaptureDeviceNV; 38e84fe556Smrgtypedef unsigned int GLXVideoDeviceNV; 39e84fe556Smrgtypedef XID GLXVideoSourceSGIX; 40e84fe556Smrgtypedef XID GLXFBConfigIDSGIX; 41e84fe556Smrgtypedef struct __GLXFBConfigRec *GLXFBConfigSGIX; 42e84fe556Smrgtypedef XID GLXPbufferSGIX; 43e84fe556Smrgtypedef struct { 44e84fe556Smrg int event_type; /* GLX_DAMAGED or GLX_SAVED */ 45e84fe556Smrg int draw_type; /* GLX_WINDOW or GLX_PBUFFER */ 46e84fe556Smrg unsigned long serial; /* # of last request processed by server */ 47e84fe556Smrg Bool send_event; /* true if this came for SendEvent request */ 48e84fe556Smrg Display *display; /* display the event was read from */ 49e84fe556Smrg GLXDrawable drawable; /* XID of Drawable */ 50e84fe556Smrg unsigned int buffer_mask; /* mask indicating which buffers are affected */ 51e84fe556Smrg unsigned int aux_buffer; /* which aux buffer was affected */ 52e84fe556Smrg int x, y; 53e84fe556Smrg int width, height; 54e84fe556Smrg int count; /* if nonzero, at least this many more */ 55e84fe556Smrg} GLXPbufferClobberEvent; 56e84fe556Smrgtypedef struct { 57e84fe556Smrg int type; 58e84fe556Smrg unsigned long serial; /* # of last request processed by server */ 59e84fe556Smrg Bool send_event; /* true if this came from a SendEvent request */ 60e84fe556Smrg Display *display; /* Display the event was read from */ 61e84fe556Smrg GLXDrawable drawable; /* drawable on which event was requested in event mask */ 62e84fe556Smrg int event_type; 63e84fe556Smrg int64_t ust; 64e84fe556Smrg int64_t msc; 65e84fe556Smrg int64_t sbc; 66e84fe556Smrg} GLXBufferSwapComplete; 67e84fe556Smrgtypedef union __GLXEvent { 68e84fe556Smrg GLXPbufferClobberEvent glxpbufferclobber; 69e84fe556Smrg GLXBufferSwapComplete glxbufferswapcomplete; 70e84fe556Smrg long pad[24]; 71e84fe556Smrg} GLXEvent; 72e84fe556Smrgtypedef struct { 73e84fe556Smrg int type; 74e84fe556Smrg unsigned long serial; 75e84fe556Smrg Bool send_event; 76e84fe556Smrg Display *display; 77e84fe556Smrg int extension; 78e84fe556Smrg int evtype; 79e84fe556Smrg GLXDrawable window; 80e84fe556Smrg Bool stereo_tree; 81e84fe556Smrg} GLXStereoNotifyEventEXT; 82e84fe556Smrgtypedef struct { 83e84fe556Smrg int type; 84e84fe556Smrg unsigned long serial; /* # of last request processed by server */ 85e84fe556Smrg Bool send_event; /* true if this came for SendEvent request */ 86e84fe556Smrg Display *display; /* display the event was read from */ 87e84fe556Smrg GLXDrawable drawable; /* i.d. of Drawable */ 88e84fe556Smrg int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */ 89e84fe556Smrg int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */ 90e84fe556Smrg unsigned int mask; /* mask indicating which buffers are affected*/ 91e84fe556Smrg int x, y; 92e84fe556Smrg int width, height; 93e84fe556Smrg int count; /* if nonzero, at least this many more */ 94e84fe556Smrg} GLXBufferClobberEventSGIX; 95e84fe556Smrgtypedef struct { 96e84fe556Smrg char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ 97e84fe556Smrg int networkId; 98e84fe556Smrg} GLXHyperpipeNetworkSGIX; 99e84fe556Smrgtypedef struct { 100e84fe556Smrg char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ 101e84fe556Smrg int channel; 102e84fe556Smrg unsigned int participationType; 103e84fe556Smrg int timeSlice; 104e84fe556Smrg} GLXHyperpipeConfigSGIX; 105e84fe556Smrgtypedef struct { 106e84fe556Smrg char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ 107e84fe556Smrg int srcXOrigin, srcYOrigin, srcWidth, srcHeight; 108e84fe556Smrg int destXOrigin, destYOrigin, destWidth, destHeight; 109e84fe556Smrg} GLXPipeRect; 110e84fe556Smrgtypedef struct { 111e84fe556Smrg char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ 112e84fe556Smrg int XOrigin, YOrigin, maxHeight, maxWidth; 113e84fe556Smrg} GLXPipeRectLimits; 114e84fe556Smrg 115e84fe556Smrg#define GLX_VERSION_1_0 1 116e84fe556Smrg#define GLX_VERSION_1_1 1 117e84fe556Smrg#define GLX_VERSION_1_2 1 118e84fe556Smrg#define GLX_VERSION_1_3 1 119e84fe556Smrg#define GLX_VERSION_1_4 1 120e84fe556Smrg 121e84fe556Smrg#define GLX_3DFX_multisample 1 122e84fe556Smrg#define GLX_AMD_gpu_association 1 123e84fe556Smrg#define GLX_ARB_context_flush_control 1 124e84fe556Smrg#define GLX_ARB_create_context 1 125133e50cbSmrg#define GLX_ARB_create_context_no_error 1 126e84fe556Smrg#define GLX_ARB_create_context_profile 1 127e84fe556Smrg#define GLX_ARB_create_context_robustness 1 128e84fe556Smrg#define GLX_ARB_fbconfig_float 1 129e84fe556Smrg#define GLX_ARB_framebuffer_sRGB 1 130e84fe556Smrg#define GLX_ARB_get_proc_address 1 131e84fe556Smrg#define GLX_ARB_multisample 1 132e84fe556Smrg#define GLX_ARB_robustness_application_isolation 1 133e84fe556Smrg#define GLX_ARB_robustness_share_group_isolation 1 134e84fe556Smrg#define GLX_ARB_vertex_buffer_object 1 135e84fe556Smrg#define GLX_EXT_buffer_age 1 136133e50cbSmrg#define GLX_EXT_context_priority 1 137e84fe556Smrg#define GLX_EXT_create_context_es2_profile 1 138e84fe556Smrg#define GLX_EXT_create_context_es_profile 1 139e84fe556Smrg#define GLX_EXT_fbconfig_packed_float 1 140e84fe556Smrg#define GLX_EXT_framebuffer_sRGB 1 141e84fe556Smrg#define GLX_EXT_import_context 1 142edd9e0adSmrg#define GLX_EXT_libglvnd 1 143133e50cbSmrg#define GLX_EXT_no_config_context 1 144e84fe556Smrg#define GLX_EXT_stereo_tree 1 145e84fe556Smrg#define GLX_EXT_swap_control 1 146e84fe556Smrg#define GLX_EXT_swap_control_tear 1 147e84fe556Smrg#define GLX_EXT_texture_from_pixmap 1 148e84fe556Smrg#define GLX_EXT_visual_info 1 149e84fe556Smrg#define GLX_EXT_visual_rating 1 150e84fe556Smrg#define GLX_INTEL_swap_event 1 151e84fe556Smrg#define GLX_MESA_agp_offset 1 152e84fe556Smrg#define GLX_MESA_copy_sub_buffer 1 153e84fe556Smrg#define GLX_MESA_pixmap_colormap 1 154e84fe556Smrg#define GLX_MESA_query_renderer 1 155e84fe556Smrg#define GLX_MESA_release_buffers 1 156e84fe556Smrg#define GLX_MESA_set_3dfx_mode 1 157133e50cbSmrg#define GLX_MESA_swap_control 1 158e84fe556Smrg#define GLX_NV_copy_buffer 1 159e84fe556Smrg#define GLX_NV_copy_image 1 160e84fe556Smrg#define GLX_NV_delay_before_swap 1 161e84fe556Smrg#define GLX_NV_float_buffer 1 162e84fe556Smrg#define GLX_NV_multisample_coverage 1 163e84fe556Smrg#define GLX_NV_present_video 1 164edd9e0adSmrg#define GLX_NV_robustness_video_memory_purge 1 165e84fe556Smrg#define GLX_NV_swap_group 1 166e84fe556Smrg#define GLX_NV_video_capture 1 167e84fe556Smrg#define GLX_NV_video_out 1 168e84fe556Smrg#define GLX_OML_swap_method 1 169e84fe556Smrg#define GLX_OML_sync_control 1 170e84fe556Smrg#define GLX_SGIS_blended_overlay 1 171e84fe556Smrg#define GLX_SGIS_multisample 1 172e84fe556Smrg#define GLX_SGIS_shared_multisample 1 173e84fe556Smrg#define GLX_SGIX_dmbuffer 1 174e84fe556Smrg#define GLX_SGIX_fbconfig 1 175e84fe556Smrg#define GLX_SGIX_hyperpipe 1 176e84fe556Smrg#define GLX_SGIX_pbuffer 1 177e84fe556Smrg#define GLX_SGIX_swap_barrier 1 178e84fe556Smrg#define GLX_SGIX_swap_group 1 179e84fe556Smrg#define GLX_SGIX_video_resize 1 180e84fe556Smrg#define GLX_SGIX_video_source 1 181e84fe556Smrg#define GLX_SGIX_visual_select_group 1 182e84fe556Smrg#define GLX_SGI_cushion 1 183e84fe556Smrg#define GLX_SGI_make_current_read 1 184e84fe556Smrg#define GLX_SGI_swap_control 1 185e84fe556Smrg#define GLX_SGI_video_sync 1 186e84fe556Smrg#define GLX_SUN_get_transparent_index 1 187e84fe556Smrg 188e84fe556Smrg#define GLX_EXTENSION_NAME "GLX" 189e84fe556Smrg#define GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0 190e84fe556Smrg#define GLX_PbufferClobber 0 191e84fe556Smrg#define GLX_STEREO_NOTIFY_EXT 0x00000000 192e84fe556Smrg#define GLX_SYNC_FRAME_SGIX 0x00000000 193e84fe556Smrg#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 194e84fe556Smrg#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 195e84fe556Smrg#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 196e84fe556Smrg#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 197e84fe556Smrg#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 198e84fe556Smrg#define GLX_PIPE_RECT_SGIX 0x00000001 199e84fe556Smrg#define GLX_RGBA_BIT 0x00000001 200e84fe556Smrg#define GLX_RGBA_BIT_SGIX 0x00000001 201e84fe556Smrg#define GLX_STEREO_NOTIFY_MASK_EXT 0x00000001 202e84fe556Smrg#define GLX_SYNC_SWAP_SGIX 0x00000001 203e84fe556Smrg#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 204e84fe556Smrg#define GLX_WINDOW_BIT 0x00000001 205e84fe556Smrg#define GLX_WINDOW_BIT_SGIX 0x00000001 206e84fe556Smrg#define GLX_COLOR_INDEX_BIT 0x00000002 207e84fe556Smrg#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 208e84fe556Smrg#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 209e84fe556Smrg#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 210e84fe556Smrg#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 211e84fe556Smrg#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 212e84fe556Smrg#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 213e84fe556Smrg#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 214e84fe556Smrg#define GLX_PIXMAP_BIT 0x00000002 215e84fe556Smrg#define GLX_PIXMAP_BIT_SGIX 0x00000002 216e84fe556Smrg#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 217e84fe556Smrg#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 218e84fe556Smrg#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 219e84fe556Smrg#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 220e84fe556Smrg#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 221e84fe556Smrg#define GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 222e84fe556Smrg#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 223e84fe556Smrg#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 224e84fe556Smrg#define GLX_PBUFFER_BIT 0x00000004 225e84fe556Smrg#define GLX_PBUFFER_BIT_SGIX 0x00000004 226e84fe556Smrg#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 227e84fe556Smrg#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 228e84fe556Smrg#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 229e84fe556Smrg#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 230e84fe556Smrg#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 231e84fe556Smrg#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 232e84fe556Smrg#define GLX_AUX_BUFFERS_BIT 0x00000010 233e84fe556Smrg#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 234e84fe556Smrg#define GLX_DEPTH_BUFFER_BIT 0x00000020 235e84fe556Smrg#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 236e84fe556Smrg#define GLX_STENCIL_BUFFER_BIT 0x00000040 237e84fe556Smrg#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 238e84fe556Smrg#define GLX_ACCUM_BUFFER_BIT 0x00000080 239e84fe556Smrg#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 240e84fe556Smrg#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 241e84fe556Smrg#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 242e84fe556Smrg#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 243e84fe556Smrg#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 244e84fe556Smrg#define GLX_3DFX_WINDOW_MODE_MESA 0x1 245e84fe556Smrg#define GLX_VENDOR 0x1 246e84fe556Smrg#define GLX_GPU_VENDOR_AMD 0x1F00 247e84fe556Smrg#define GLX_GPU_RENDERER_STRING_AMD 0x1F01 248e84fe556Smrg#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 249e84fe556Smrg#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 250e84fe556Smrg#define GLX_VERSION 0x2 251e84fe556Smrg#define GLX_CONFIG_CAVEAT 0x20 252e84fe556Smrg#define GLX_VISUAL_CAVEAT_EXT 0x20 253e84fe556Smrg#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 254e84fe556Smrg#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 255e84fe556Smrg#define GLX_CONTEXT_FLAGS_ARB 0x2094 256e84fe556Smrg#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 257e84fe556Smrg#define GLX_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 258e84fe556Smrg#define GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 259e84fe556Smrg#define GLX_FLOAT_COMPONENTS_NV 0x20B0 260e84fe556Smrg#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 261e84fe556Smrg#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 262e84fe556Smrg#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 263e84fe556Smrg#define GLX_COLOR_SAMPLES_NV 0x20B3 264e84fe556Smrg#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 265e84fe556Smrg#define GLX_VIDEO_OUT_COLOR_NV 0x20C3 266e84fe556Smrg#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4 267e84fe556Smrg#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5 268e84fe556Smrg#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 269e84fe556Smrg#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 270e84fe556Smrg#define GLX_VIDEO_OUT_FRAME_NV 0x20C8 271e84fe556Smrg#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 272e84fe556Smrg#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA 273e84fe556Smrg#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB 274e84fe556Smrg#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC 275e84fe556Smrg#define GLX_DEVICE_ID_NV 0x20CD 276e84fe556Smrg#define GLX_UNIQUE_ID_NV 0x20CE 277e84fe556Smrg#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF 278e84fe556Smrg#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 279e84fe556Smrg#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 280e84fe556Smrg#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 281e84fe556Smrg#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 282e84fe556Smrg#define GLX_Y_INVERTED_EXT 0x20D4 283e84fe556Smrg#define GLX_TEXTURE_FORMAT_EXT 0x20D5 284e84fe556Smrg#define GLX_TEXTURE_TARGET_EXT 0x20D6 285e84fe556Smrg#define GLX_MIPMAP_TEXTURE_EXT 0x20D7 286e84fe556Smrg#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 287e84fe556Smrg#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 288e84fe556Smrg#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA 289e84fe556Smrg#define GLX_TEXTURE_1D_EXT 0x20DB 290e84fe556Smrg#define GLX_TEXTURE_2D_EXT 0x20DC 291e84fe556Smrg#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD 292e84fe556Smrg#define GLX_FRONT_EXT 0x20DE 293e84fe556Smrg#define GLX_FRONT_LEFT_EXT 0x20DE 294e84fe556Smrg#define GLX_FRONT_RIGHT_EXT 0x20DF 295e84fe556Smrg#define GLX_BACK_EXT 0x20E0 296e84fe556Smrg#define GLX_BACK_LEFT_EXT 0x20E0 297e84fe556Smrg#define GLX_BACK_RIGHT_EXT 0x20E1 298e84fe556Smrg#define GLX_AUX0_EXT 0x20E2 299e84fe556Smrg#define GLX_AUX1_EXT 0x20E3 300e84fe556Smrg#define GLX_AUX2_EXT 0x20E4 301e84fe556Smrg#define GLX_AUX3_EXT 0x20E5 302e84fe556Smrg#define GLX_AUX4_EXT 0x20E6 303e84fe556Smrg#define GLX_AUX5_EXT 0x20E7 304e84fe556Smrg#define GLX_AUX6_EXT 0x20E8 305e84fe556Smrg#define GLX_AUX7_EXT 0x20E9 306e84fe556Smrg#define GLX_AUX8_EXT 0x20EA 307e84fe556Smrg#define GLX_AUX9_EXT 0x20EB 308e84fe556Smrg#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0 309e84fe556Smrg#define GLX_SWAP_INTERVAL_EXT 0x20F1 310e84fe556Smrg#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 311e84fe556Smrg#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3 312e84fe556Smrg#define GLX_BACK_BUFFER_AGE_EXT 0x20F4 313e84fe556Smrg#define GLX_STEREO_TREE_EXT 0x20F5 314edd9e0adSmrg#define GLX_VENDOR_NAMES_EXT 0x20F6 315edd9e0adSmrg#define GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7 316e84fe556Smrg#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 317e84fe556Smrg#define GLX_GPU_RAM_AMD 0x21A3 318e84fe556Smrg#define GLX_GPU_CLOCK_AMD 0x21A4 319e84fe556Smrg#define GLX_GPU_NUM_PIPES_AMD 0x21A5 320e84fe556Smrg#define GLX_GPU_NUM_SIMD_AMD 0x21A6 321e84fe556Smrg#define GLX_GPU_NUM_RB_AMD 0x21A7 322e84fe556Smrg#define GLX_GPU_NUM_SPI_AMD 0x21A8 323e84fe556Smrg#define GLX_X_VISUAL_TYPE 0x22 324e84fe556Smrg#define GLX_X_VISUAL_TYPE_EXT 0x22 325e84fe556Smrg#define GLX_TRANSPARENT_TYPE 0x23 326e84fe556Smrg#define GLX_TRANSPARENT_TYPE_EXT 0x23 327e84fe556Smrg#define GLX_TRANSPARENT_INDEX_VALUE 0x24 328e84fe556Smrg#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 329e84fe556Smrg#define GLX_TRANSPARENT_RED_VALUE 0x25 330e84fe556Smrg#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 331e84fe556Smrg#define GLX_TRANSPARENT_GREEN_VALUE 0x26 332e84fe556Smrg#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 333e84fe556Smrg#define GLX_TRANSPARENT_BLUE_VALUE 0x27 334e84fe556Smrg#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 335e84fe556Smrg#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 336e84fe556Smrg#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 337e84fe556Smrg#define GLX_EXTENSIONS 0x3 338133e50cbSmrg#define GLX_CONTEXT_PRIORITY_LEVEL_EXT 0x3100 339133e50cbSmrg#define GLX_CONTEXT_PRIORITY_HIGH_EXT 0x3101 340133e50cbSmrg#define GLX_CONTEXT_PRIORITY_MEDIUM_EXT 0x3102 341133e50cbSmrg#define GLX_CONTEXT_PRIORITY_LOW_EXT 0x3103 342133e50cbSmrg#define GLX_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3 343e84fe556Smrg#define GLX_NONE 0x8000 344e84fe556Smrg#define GLX_NONE_EXT 0x8000 345e84fe556Smrg#define GLX_SLOW_CONFIG 0x8001 346e84fe556Smrg#define GLX_SLOW_VISUAL_EXT 0x8001 347e84fe556Smrg#define GLX_TRUE_COLOR 0x8002 348e84fe556Smrg#define GLX_TRUE_COLOR_EXT 0x8002 349e84fe556Smrg#define GLX_DIRECT_COLOR 0x8003 350e84fe556Smrg#define GLX_DIRECT_COLOR_EXT 0x8003 351e84fe556Smrg#define GLX_PSEUDO_COLOR 0x8004 352e84fe556Smrg#define GLX_PSEUDO_COLOR_EXT 0x8004 353e84fe556Smrg#define GLX_STATIC_COLOR 0x8005 354e84fe556Smrg#define GLX_STATIC_COLOR_EXT 0x8005 355e84fe556Smrg#define GLX_GRAY_SCALE 0x8006 356e84fe556Smrg#define GLX_GRAY_SCALE_EXT 0x8006 357e84fe556Smrg#define GLX_STATIC_GRAY 0x8007 358e84fe556Smrg#define GLX_STATIC_GRAY_EXT 0x8007 359e84fe556Smrg#define GLX_TRANSPARENT_RGB 0x8008 360e84fe556Smrg#define GLX_TRANSPARENT_RGB_EXT 0x8008 361e84fe556Smrg#define GLX_TRANSPARENT_INDEX 0x8009 362e84fe556Smrg#define GLX_TRANSPARENT_INDEX_EXT 0x8009 363e84fe556Smrg#define GLX_SHARE_CONTEXT_EXT 0x800A 364e84fe556Smrg#define GLX_VISUAL_ID 0x800B 365e84fe556Smrg#define GLX_VISUAL_ID_EXT 0x800B 366e84fe556Smrg#define GLX_SCREEN 0x800C 367e84fe556Smrg#define GLX_SCREEN_EXT 0x800C 368e84fe556Smrg#define GLX_NON_CONFORMANT_CONFIG 0x800D 369e84fe556Smrg#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D 370e84fe556Smrg#define GLX_DRAWABLE_TYPE 0x8010 371e84fe556Smrg#define GLX_DRAWABLE_TYPE_SGIX 0x8010 372e84fe556Smrg#define GLX_RENDER_TYPE 0x8011 373e84fe556Smrg#define GLX_RENDER_TYPE_SGIX 0x8011 374e84fe556Smrg#define GLX_X_RENDERABLE 0x8012 375e84fe556Smrg#define GLX_X_RENDERABLE_SGIX 0x8012 376e84fe556Smrg#define GLX_FBCONFIG_ID 0x8013 377e84fe556Smrg#define GLX_FBCONFIG_ID_SGIX 0x8013 378e84fe556Smrg#define GLX_RGBA_TYPE 0x8014 379e84fe556Smrg#define GLX_RGBA_TYPE_SGIX 0x8014 380e84fe556Smrg#define GLX_COLOR_INDEX_TYPE 0x8015 381e84fe556Smrg#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 382e84fe556Smrg#define GLX_MAX_PBUFFER_WIDTH 0x8016 383e84fe556Smrg#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 384e84fe556Smrg#define GLX_MAX_PBUFFER_HEIGHT 0x8017 385e84fe556Smrg#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 386e84fe556Smrg#define GLX_MAX_PBUFFER_PIXELS 0x8018 387e84fe556Smrg#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 388e84fe556Smrg#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 389e84fe556Smrg#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A 390e84fe556Smrg#define GLX_PRESERVED_CONTENTS 0x801B 391e84fe556Smrg#define GLX_PRESERVED_CONTENTS_SGIX 0x801B 392e84fe556Smrg#define GLX_LARGEST_PBUFFER 0x801C 393e84fe556Smrg#define GLX_LARGEST_PBUFFER_SGIX 0x801C 394e84fe556Smrg#define GLX_WIDTH 0x801D 395e84fe556Smrg#define GLX_WIDTH_SGIX 0x801D 396e84fe556Smrg#define GLX_HEIGHT 0x801E 397e84fe556Smrg#define GLX_HEIGHT_SGIX 0x801E 398e84fe556Smrg#define GLX_EVENT_MASK 0x801F 399e84fe556Smrg#define GLX_EVENT_MASK_SGIX 0x801F 400e84fe556Smrg#define GLX_DAMAGED 0x8020 401e84fe556Smrg#define GLX_DAMAGED_SGIX 0x8020 402e84fe556Smrg#define GLX_SAVED 0x8021 403e84fe556Smrg#define GLX_SAVED_SGIX 0x8021 404e84fe556Smrg#define GLX_WINDOW 0x8022 405e84fe556Smrg#define GLX_WINDOW_SGIX 0x8022 406e84fe556Smrg#define GLX_PBUFFER 0x8023 407e84fe556Smrg#define GLX_PBUFFER_SGIX 0x8023 408e84fe556Smrg#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024 409e84fe556Smrg#define GLX_BLENDED_RGBA_SGIS 0x8025 410e84fe556Smrg#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 411e84fe556Smrg#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 412e84fe556Smrg#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 413e84fe556Smrg#define GLX_HYPERPIPE_ID_SGIX 0x8030 414e84fe556Smrg#define GLX_PBUFFER_HEIGHT 0x8040 415e84fe556Smrg#define GLX_PBUFFER_WIDTH 0x8041 416e84fe556Smrg#define GLX_SAMPLE_BUFFERS_3DFX 0x8050 417e84fe556Smrg#define GLX_SAMPLES_3DFX 0x8051 418e84fe556Smrg#define GLX_SWAP_METHOD_OML 0x8060 419e84fe556Smrg#define GLX_SWAP_EXCHANGE_OML 0x8061 420e84fe556Smrg#define GLX_SWAP_COPY_OML 0x8062 421e84fe556Smrg#define GLX_SWAP_UNDEFINED_OML 0x8063 422e84fe556Smrg#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180 423e84fe556Smrg#define GLX_COPY_COMPLETE_INTEL 0x8181 424e84fe556Smrg#define GLX_FLIP_COMPLETE_INTEL 0x8182 425e84fe556Smrg#define GLX_RENDERER_VENDOR_ID_MESA 0x8183 426e84fe556Smrg#define GLX_RENDERER_DEVICE_ID_MESA 0x8184 427e84fe556Smrg#define GLX_RENDERER_VERSION_MESA 0x8185 428e84fe556Smrg#define GLX_RENDERER_ACCELERATED_MESA 0x8186 429e84fe556Smrg#define GLX_RENDERER_VIDEO_MEMORY_MESA 0x8187 430e84fe556Smrg#define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA 0x8188 431e84fe556Smrg#define GLX_RENDERER_PREFERRED_PROFILE_MESA 0x8189 432e84fe556Smrg#define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA 0x818A 433e84fe556Smrg#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B 434e84fe556Smrg#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C 435e84fe556Smrg#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D 436e84fe556Smrg#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 437e84fe556Smrg#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 438e84fe556Smrg#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 439e84fe556Smrg#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 440e84fe556Smrg#define GLX_DONT_CARE 0xFFFFFFFF 441e84fe556Smrg#define GLX_BAD_SCREEN 1 442e84fe556Smrg#define GLX_BufferSwapComplete 1 443e84fe556Smrg#define GLX_USE_GL 1 444e84fe556Smrg#define GLX_BLUE_SIZE 10 445e84fe556Smrg#define GLX_SAMPLE_BUFFERS 100000 446e84fe556Smrg#define GLX_SAMPLE_BUFFERS_ARB 100000 447e84fe556Smrg#define GLX_SAMPLE_BUFFERS_SGIS 100000 448e84fe556Smrg#define GLX_COVERAGE_SAMPLES_NV 100001 449e84fe556Smrg#define GLX_SAMPLES 100001 450e84fe556Smrg#define GLX_SAMPLES_ARB 100001 451e84fe556Smrg#define GLX_SAMPLES_SGIS 100001 452e84fe556Smrg#define GLX_ALPHA_SIZE 11 453e84fe556Smrg#define GLX_DEPTH_SIZE 12 454e84fe556Smrg#define GLX_STENCIL_SIZE 13 455e84fe556Smrg#define GLX_ACCUM_RED_SIZE 14 456e84fe556Smrg#define GLX_ACCUM_GREEN_SIZE 15 457e84fe556Smrg#define GLX_ACCUM_BLUE_SIZE 16 458e84fe556Smrg#define GLX_ACCUM_ALPHA_SIZE 17 459e84fe556Smrg#define __GLX_NUMBER_EVENTS 17 460e84fe556Smrg#define GLX_BAD_ATTRIBUTE 2 461e84fe556Smrg#define GLX_BUFFER_SIZE 2 462e84fe556Smrg#define GLX_LEVEL 3 463e84fe556Smrg#define GLX_NO_EXTENSION 3 464e84fe556Smrg#define GLX_BAD_VISUAL 4 465e84fe556Smrg#define GLX_RGBA 4 466e84fe556Smrg#define GLX_BAD_CONTEXT 5 467e84fe556Smrg#define GLX_DOUBLEBUFFER 5 468e84fe556Smrg#define GLX_BAD_VALUE 6 469e84fe556Smrg#define GLX_STEREO 6 470e84fe556Smrg#define GLX_AUX_BUFFERS 7 471e84fe556Smrg#define GLX_BAD_ENUM 7 472e84fe556Smrg#define GLX_RED_SIZE 8 473e84fe556Smrg#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 474e84fe556Smrg#define GLX_GREEN_SIZE 9 475e84fe556Smrg#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 476e84fe556Smrg#define GLX_BAD_HYPERPIPE_SGIX 92 477e84fe556Smrg 478e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXBINDCHANNELTOWINDOWSGIXPROC)(Display * display, int screen, int channel, Window window); 479e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXBINDHYPERPIPESGIXPROC)(Display * dpy, int hpId); 480e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXBINDSWAPBARRIERNVPROC)(Display * dpy, GLuint group, GLuint barrier); 481e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXBINDSWAPBARRIERSGIXPROC)(Display * dpy, GLXDrawable drawable, int barrier); 482e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXBINDTEXIMAGEEXTPROC)(Display * dpy, GLXDrawable drawable, int buffer, const int * attrib_list); 483e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)(Display * dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); 484e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXBINDVIDEODEVICENVPROC)(Display * dpy, unsigned int video_slot, unsigned int video_device, const int * attrib_list); 485e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXBINDVIDEOIMAGENVPROC)(Display * dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); 486e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC)(GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 487e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXCHANNELRECTSGIXPROC)(Display * display, int screen, int channel, int x, int y, int w, int h); 488e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXCHANNELRECTSYNCSGIXPROC)(Display * display, int screen, int channel, GLenum synctype); 489e84fe556Smrgtypedef GLXFBConfig * (GLAPIENTRY *PFNGLXCHOOSEFBCONFIGPROC)(Display * dpy, int screen, const int * attrib_list, int * nelements); 490e84fe556Smrgtypedef GLXFBConfigSGIX * (GLAPIENTRY *PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display * dpy, int screen, int * attrib_list, int * nelements); 491e84fe556Smrgtypedef XVisualInfo * (GLAPIENTRY *PFNGLXCHOOSEVISUALPROC)(Display * dpy, int screen, int * attribList); 492e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXCOPYBUFFERSUBDATANVPROC)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 493e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXCOPYCONTEXTPROC)(Display * dpy, GLXContext src, GLXContext dst, unsigned long mask); 494e84fe556Smrgtypedef void (GLAPIENTRY *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); 495e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXCOPYSUBBUFFERMESAPROC)(Display * dpy, GLXDrawable drawable, int x, int y, int width, int height); 496e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC)(unsigned int id, GLXContext share_list); 497e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)(unsigned int id, GLXContext share_context, const int * attribList); 498e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXCREATECONTEXTPROC)(Display * dpy, XVisualInfo * vis, GLXContext shareList, Bool direct); 499e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display * dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int * attrib_list); 500e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); 501e84fe556Smrgtypedef GLXPbufferSGIX (GLAPIENTRY *PFNGLXCREATEGLXPBUFFERSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int * attrib_list); 502e84fe556Smrgtypedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEGLXPIXMAPPROC)(Display * dpy, XVisualInfo * visual, Pixmap pixmap); 503e84fe556Smrgtypedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEGLXPIXMAPMESAPROC)(Display * dpy, XVisualInfo * visual, Pixmap pixmap, Colormap cmap); 504e84fe556Smrgtypedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, Pixmap pixmap); 505e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXCREATENEWCONTEXTPROC)(Display * dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); 506e84fe556Smrgtypedef GLXPbuffer (GLAPIENTRY *PFNGLXCREATEPBUFFERPROC)(Display * dpy, GLXFBConfig config, const int * attrib_list); 507e84fe556Smrgtypedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEPIXMAPPROC)(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list); 508e84fe556Smrgtypedef GLXWindow (GLAPIENTRY *PFNGLXCREATEWINDOWPROC)(Display * dpy, GLXFBConfig config, Window win, const int * attrib_list); 509e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXCUSHIONSGIPROC)(Display * dpy, Window window, float cushion); 510e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXDELAYBEFORESWAPNVPROC)(Display * dpy, GLXDrawable drawable, GLfloat seconds); 511e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC)(GLXContext ctx); 512e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXDESTROYCONTEXTPROC)(Display * dpy, GLXContext ctx); 513e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXDESTROYGLXPBUFFERSGIXPROC)(Display * dpy, GLXPbufferSGIX pbuf); 514e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXDESTROYGLXPIXMAPPROC)(Display * dpy, GLXPixmap pixmap); 515e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC)(Display * dpy, GLXVideoSourceSGIX glxvideosource); 516e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)(Display * dpy, int hpId); 517e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXDESTROYPBUFFERPROC)(Display * dpy, GLXPbuffer pbuf); 518e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXDESTROYPIXMAPPROC)(Display * dpy, GLXPixmap pixmap); 519e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXDESTROYWINDOWPROC)(Display * dpy, GLXWindow win); 520e84fe556Smrgtypedef GLXVideoCaptureDeviceNV * (GLAPIENTRY *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)(Display * dpy, int screen, int * nelements); 521e84fe556Smrgtypedef unsigned int * (GLAPIENTRY *PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display * dpy, int screen, int * nelements); 522e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXFREECONTEXTEXTPROC)(Display * dpy, GLXContext context); 523e84fe556Smrgtypedef unsigned int (GLAPIENTRY *PFNGLXGETAGPOFFSETMESAPROC)(const void * pointer); 524e84fe556Smrgtypedef const char * (GLAPIENTRY *PFNGLXGETCLIENTSTRINGPROC)(Display * dpy, int name); 525e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXGETCONFIGPROC)(Display * dpy, XVisualInfo * visual, int attrib, int * value); 526e84fe556Smrgtypedef unsigned int (GLAPIENTRY *PFNGLXGETCONTEXTGPUIDAMDPROC)(GLXContext ctx); 527e84fe556Smrgtypedef GLXContextID (GLAPIENTRY *PFNGLXGETCONTEXTIDEXTPROC)(const GLXContext context); 528e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC)(void); 529e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXGETCURRENTCONTEXTPROC)(void); 530e84fe556Smrgtypedef Display * (GLAPIENTRY *PFNGLXGETCURRENTDISPLAYPROC)(void); 531e84fe556Smrgtypedef Display * (GLAPIENTRY *PFNGLXGETCURRENTDISPLAYEXTPROC)(void); 532e84fe556Smrgtypedef GLXDrawable (GLAPIENTRY *PFNGLXGETCURRENTDRAWABLEPROC)(void); 533e84fe556Smrgtypedef GLXDrawable (GLAPIENTRY *PFNGLXGETCURRENTREADDRAWABLEPROC)(void); 534e84fe556Smrgtypedef GLXDrawable (GLAPIENTRY *PFNGLXGETCURRENTREADDRAWABLESGIPROC)(void); 535e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXGETFBCONFIGATTRIBPROC)(Display * dpy, GLXFBConfig config, int attribute, int * value); 536e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXGETFBCONFIGATTRIBSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, int attribute, int * value); 537e84fe556Smrgtypedef GLXFBConfigSGIX (GLAPIENTRY *PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)(Display * dpy, XVisualInfo * vis); 538e84fe556Smrgtypedef GLXFBConfig * (GLAPIENTRY *PFNGLXGETFBCONFIGSPROC)(Display * dpy, int screen, int * nelements); 539e84fe556Smrgtypedef unsigned int (GLAPIENTRY *PFNGLXGETGPUIDSAMDPROC)(unsigned int maxCount, unsigned int * ids); 540e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXGETGPUINFOAMDPROC)(unsigned int id, int property, GLenum dataType, unsigned int size, void * data); 541e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXGETMSCRATEOMLPROC)(Display * dpy, GLXDrawable drawable, int32_t * numerator, int32_t * denominator); 542e84fe556Smrgtypedef __GLXextFuncPtr (GLAPIENTRY *PFNGLXGETPROCADDRESSPROC)(const GLubyte * procName); 543e84fe556Smrgtypedef __GLXextFuncPtr (GLAPIENTRY *PFNGLXGETPROCADDRESSARBPROC)(const GLubyte * procName); 544e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXGETSELECTEDEVENTPROC)(Display * dpy, GLXDrawable draw, unsigned long * event_mask); 545e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXGETSELECTEDEVENTSGIXPROC)(Display * dpy, GLXDrawable drawable, unsigned long * mask); 546133e50cbSmrgtypedef int (GLAPIENTRY *PFNGLXGETSWAPINTERVALMESAPROC)(void); 547e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXGETSYNCVALUESOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t * ust, int64_t * msc, int64_t * sbc); 548133e50cbSmrgtypedef Status (GLAPIENTRY *PFNGLXGETTRANSPARENTINDEXSUNPROC)(Display * dpy, Window overlay, Window underlay, unsigned long * pTransparentIndex); 549e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXGETVIDEODEVICENVPROC)(Display * dpy, int screen, int numVideoDevices, GLXVideoDeviceNV * pVideoDevice); 550e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXGETVIDEOINFONVPROC)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long * pulCounterOutputPbuffer, unsigned long * pulCounterOutputVideo); 551e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXGETVIDEOSYNCSGIPROC)(unsigned int * count); 552e84fe556Smrgtypedef XVisualInfo * (GLAPIENTRY *PFNGLXGETVISUALFROMFBCONFIGPROC)(Display * dpy, GLXFBConfig config); 553e84fe556Smrgtypedef XVisualInfo * (GLAPIENTRY *PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(Display * dpy, GLXFBConfigSGIX config); 554e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXHYPERPIPEATTRIBSGIXPROC)(Display * dpy, int timeSlice, int attrib, int size, void * attribList); 555e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXHYPERPIPECONFIGSGIXPROC)(Display * dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX * cfg, int * hpId); 556e84fe556Smrgtypedef GLXContext (GLAPIENTRY *PFNGLXIMPORTCONTEXTEXTPROC)(Display * dpy, GLXContextID contextID); 557e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXISDIRECTPROC)(Display * dpy, GLXContext ctx); 558e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXJOINSWAPGROUPNVPROC)(Display * dpy, GLXDrawable drawable, GLuint group); 559e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXJOINSWAPGROUPSGIXPROC)(Display * dpy, GLXDrawable drawable, GLXDrawable member); 560e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)(Display * dpy, GLXVideoCaptureDeviceNV device); 561e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)(GLXContext ctx); 562e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXMAKECONTEXTCURRENTPROC)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 563e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXMAKECURRENTPROC)(Display * dpy, GLXDrawable drawable, GLXContext ctx); 564e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXMAKECURRENTREADSGIPROC)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 565e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 566e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXQUERYCHANNELDELTASSGIXPROC)(Display * display, int screen, int channel, int * x, int * y, int * w, int * h); 567e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXQUERYCHANNELRECTSGIXPROC)(Display * display, int screen, int channel, int * dx, int * dy, int * dw, int * dh); 568e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXQUERYCONTEXTPROC)(Display * dpy, GLXContext ctx, int attribute, int * value); 569e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXQUERYCONTEXTINFOEXTPROC)(Display * dpy, GLXContext context, int attribute, int * value); 570e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC)(int attribute, unsigned int * value); 571e84fe556Smrgtypedef const char * (GLAPIENTRY *PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC)(int attribute); 572e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXQUERYDRAWABLEPROC)(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value); 573e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYEXTENSIONPROC)(Display * dpy, int * errorb, int * event); 574e84fe556Smrgtypedef const char * (GLAPIENTRY *PFNGLXQUERYEXTENSIONSSTRINGPROC)(Display * dpy, int screen); 575e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYFRAMECOUNTNVPROC)(Display * dpy, int screen, GLuint * count); 576133e50cbSmrgtypedef void (GLAPIENTRY *PFNGLXQUERYGLXPBUFFERSGIXPROC)(Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value); 577e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)(Display * dpy, int timeSlice, int attrib, int size, void * returnAttribList); 578e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)(Display * dpy, int timeSlice, int attrib, int size, void * attribList, void * returnAttribList); 579e84fe556Smrgtypedef GLXHyperpipeConfigSGIX * (GLAPIENTRY *PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)(Display * dpy, int hpId, int * npipes); 580e84fe556Smrgtypedef GLXHyperpipeNetworkSGIX * (GLAPIENTRY *PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)(Display * dpy, int * npipes); 581e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)(Display * dpy, int screen, int * max); 582e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYMAXSWAPGROUPSNVPROC)(Display * dpy, int screen, GLuint * maxGroups, GLuint * maxBarriers); 583e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYRENDERERINTEGERMESAPROC)(Display * dpy, int screen, int renderer, int attribute, unsigned int * value); 584e84fe556Smrgtypedef const char * (GLAPIENTRY *PFNGLXQUERYRENDERERSTRINGMESAPROC)(Display * dpy, int screen, int renderer, int attribute); 585e84fe556Smrgtypedef const char * (GLAPIENTRY *PFNGLXQUERYSERVERSTRINGPROC)(Display * dpy, int screen, int name); 586e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYSWAPGROUPNVPROC)(Display * dpy, GLXDrawable drawable, GLuint * group, GLuint * barrier); 587e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXQUERYVERSIONPROC)(Display * dpy, int * maj, int * min); 588e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)(Display * dpy, GLXVideoCaptureDeviceNV device, int attribute, int * value); 589e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXRELEASEBUFFERSMESAPROC)(Display * dpy, GLXDrawable drawable); 590e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXRELEASETEXIMAGEEXTPROC)(Display * dpy, GLXDrawable drawable, int buffer); 591e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)(Display * dpy, GLXVideoCaptureDeviceNV device); 592e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXRELEASEVIDEODEVICENVPROC)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice); 593e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXRELEASEVIDEOIMAGENVPROC)(Display * dpy, GLXPbuffer pbuf); 594e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXRESETFRAMECOUNTNVPROC)(Display * dpy, int screen); 595e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXSELECTEVENTPROC)(Display * dpy, GLXDrawable draw, unsigned long event_mask); 596e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXSELECTEVENTSGIXPROC)(Display * dpy, GLXDrawable drawable, unsigned long mask); 597e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXSENDPBUFFERTOVIDEONVPROC)(Display * dpy, GLXPbuffer pbuf, int iBufferType, unsigned long * pulCounterPbuffer, GLboolean bBlock); 598133e50cbSmrgtypedef GLboolean (GLAPIENTRY *PFNGLXSET3DFXMODEMESAPROC)(GLint mode); 599e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXSWAPBUFFERSPROC)(Display * dpy, GLXDrawable drawable); 600e84fe556Smrgtypedef int64_t (GLAPIENTRY *PFNGLXSWAPBUFFERSMSCOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); 601e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXSWAPINTERVALEXTPROC)(Display * dpy, GLXDrawable drawable, int interval); 602133e50cbSmrgtypedef int (GLAPIENTRY *PFNGLXSWAPINTERVALMESAPROC)(unsigned int interval); 603e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXSWAPINTERVALSGIPROC)(int interval); 604e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXUSEXFONTPROC)(Font font, int first, int count, int list); 605e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXWAITFORMSCOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc); 606e84fe556Smrgtypedef Bool (GLAPIENTRY *PFNGLXWAITFORSBCOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t target_sbc, int64_t * ust, int64_t * msc, int64_t * sbc); 607e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXWAITGLPROC)(void); 608e84fe556Smrgtypedef int (GLAPIENTRY *PFNGLXWAITVIDEOSYNCSGIPROC)(int divisor, int remainder, unsigned int * count); 609e84fe556Smrgtypedef void (GLAPIENTRY *PFNGLXWAITXPROC)(void); 610edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXBindChannelToWindowSGIX)(Display * display, int screen, int channel, Window window); 611e84fe556Smrg 612edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXBindHyperpipeSGIX)(Display * dpy, int hpId); 613e84fe556Smrg 614edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXBindSwapBarrierNV)(Display * dpy, GLuint group, GLuint barrier); 615e84fe556Smrg 616edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXBindSwapBarrierSGIX)(Display * dpy, GLXDrawable drawable, int barrier); 617e84fe556Smrg 618edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXBindTexImageEXT)(Display * dpy, GLXDrawable drawable, int buffer, const int * attrib_list); 619e84fe556Smrg 620edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXBindVideoCaptureDeviceNV)(Display * dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); 621e84fe556Smrg 622edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXBindVideoDeviceNV)(Display * dpy, unsigned int video_slot, unsigned int video_device, const int * attrib_list); 623e84fe556Smrg 624edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXBindVideoImageNV)(Display * dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); 625e84fe556Smrg 626edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXBlitContextFramebufferAMD)(GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 627e84fe556Smrg 628edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXChannelRectSGIX)(Display * display, int screen, int channel, int x, int y, int w, int h); 629e84fe556Smrg 630edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXChannelRectSyncSGIX)(Display * display, int screen, int channel, GLenum synctype); 631e84fe556Smrg 632edd9e0adSmrgEPOXY_PUBLIC GLXFBConfig * (EPOXY_CALLSPEC *epoxy_glXChooseFBConfig)(Display * dpy, int screen, const int * attrib_list, int * nelements); 633e84fe556Smrg 634edd9e0adSmrgEPOXY_PUBLIC GLXFBConfigSGIX * (EPOXY_CALLSPEC *epoxy_glXChooseFBConfigSGIX)(Display * dpy, int screen, int * attrib_list, int * nelements); 635e84fe556Smrg 636edd9e0adSmrgEPOXY_PUBLIC XVisualInfo * (EPOXY_CALLSPEC *epoxy_glXChooseVisual)(Display * dpy, int screen, int * attribList); 637e84fe556Smrg 638edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXCopyBufferSubDataNV)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 639e84fe556Smrg 640edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXCopyContext)(Display * dpy, GLXContext src, GLXContext dst, unsigned long mask); 641e84fe556Smrg 642edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_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); 643e84fe556Smrg 644edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXCopySubBufferMESA)(Display * dpy, GLXDrawable drawable, int x, int y, int width, int height); 645e84fe556Smrg 646edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateAssociatedContextAMD)(unsigned int id, GLXContext share_list); 647e84fe556Smrg 648edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateAssociatedContextAttribsAMD)(unsigned int id, GLXContext share_context, const int * attribList); 649e84fe556Smrg 650edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateContext)(Display * dpy, XVisualInfo * vis, GLXContext shareList, Bool direct); 651e84fe556Smrg 652edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateContextAttribsARB)(Display * dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int * attrib_list); 653e84fe556Smrg 654edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateContextWithConfigSGIX)(Display * dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); 655e84fe556Smrg 656edd9e0adSmrgEPOXY_PUBLIC GLXPbufferSGIX (EPOXY_CALLSPEC *epoxy_glXCreateGLXPbufferSGIX)(Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int * attrib_list); 657e84fe556Smrg 658edd9e0adSmrgEPOXY_PUBLIC GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreateGLXPixmap)(Display * dpy, XVisualInfo * visual, Pixmap pixmap); 659e84fe556Smrg 660edd9e0adSmrgEPOXY_PUBLIC GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreateGLXPixmapMESA)(Display * dpy, XVisualInfo * visual, Pixmap pixmap, Colormap cmap); 661e84fe556Smrg 662edd9e0adSmrgEPOXY_PUBLIC GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreateGLXPixmapWithConfigSGIX)(Display * dpy, GLXFBConfigSGIX config, Pixmap pixmap); 663e84fe556Smrg 664edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateNewContext)(Display * dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); 665e84fe556Smrg 666edd9e0adSmrgEPOXY_PUBLIC GLXPbuffer (EPOXY_CALLSPEC *epoxy_glXCreatePbuffer)(Display * dpy, GLXFBConfig config, const int * attrib_list); 667e84fe556Smrg 668edd9e0adSmrgEPOXY_PUBLIC GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreatePixmap)(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list); 669e84fe556Smrg 670edd9e0adSmrgEPOXY_PUBLIC GLXWindow (EPOXY_CALLSPEC *epoxy_glXCreateWindow)(Display * dpy, GLXFBConfig config, Window win, const int * attrib_list); 671e84fe556Smrg 672edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXCushionSGI)(Display * dpy, Window window, float cushion); 673e84fe556Smrg 674edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXDelayBeforeSwapNV)(Display * dpy, GLXDrawable drawable, GLfloat seconds); 675e84fe556Smrg 676edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXDeleteAssociatedContextAMD)(GLXContext ctx); 677e84fe556Smrg 678edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXDestroyContext)(Display * dpy, GLXContext ctx); 679e84fe556Smrg 680edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXDestroyGLXPbufferSGIX)(Display * dpy, GLXPbufferSGIX pbuf); 681e84fe556Smrg 682edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXDestroyGLXPixmap)(Display * dpy, GLXPixmap pixmap); 683e84fe556Smrg 684edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXDestroyGLXVideoSourceSGIX)(Display * dpy, GLXVideoSourceSGIX glxvideosource); 685e84fe556Smrg 686edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXDestroyHyperpipeConfigSGIX)(Display * dpy, int hpId); 687e84fe556Smrg 688edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXDestroyPbuffer)(Display * dpy, GLXPbuffer pbuf); 689e84fe556Smrg 690edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXDestroyPixmap)(Display * dpy, GLXPixmap pixmap); 691e84fe556Smrg 692edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXDestroyWindow)(Display * dpy, GLXWindow win); 693e84fe556Smrg 694edd9e0adSmrgEPOXY_PUBLIC GLXVideoCaptureDeviceNV * (EPOXY_CALLSPEC *epoxy_glXEnumerateVideoCaptureDevicesNV)(Display * dpy, int screen, int * nelements); 695e84fe556Smrg 696edd9e0adSmrgEPOXY_PUBLIC unsigned int * (EPOXY_CALLSPEC *epoxy_glXEnumerateVideoDevicesNV)(Display * dpy, int screen, int * nelements); 697e84fe556Smrg 698edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXFreeContextEXT)(Display * dpy, GLXContext context); 699e84fe556Smrg 700edd9e0adSmrgEPOXY_PUBLIC unsigned int (EPOXY_CALLSPEC *epoxy_glXGetAGPOffsetMESA)(const void * pointer); 701e84fe556Smrg 702edd9e0adSmrgEPOXY_PUBLIC const char * (EPOXY_CALLSPEC *epoxy_glXGetClientString)(Display * dpy, int name); 703e84fe556Smrg 704edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetConfig)(Display * dpy, XVisualInfo * visual, int attrib, int * value); 705e84fe556Smrg 706edd9e0adSmrgEPOXY_PUBLIC unsigned int (EPOXY_CALLSPEC *epoxy_glXGetContextGPUIDAMD)(GLXContext ctx); 707e84fe556Smrg 708edd9e0adSmrgEPOXY_PUBLIC GLXContextID (EPOXY_CALLSPEC *epoxy_glXGetContextIDEXT)(const GLXContext context); 709e84fe556Smrg 710edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXGetCurrentAssociatedContextAMD)(void); 711e84fe556Smrg 712edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXGetCurrentContext)(void); 713e84fe556Smrg 714edd9e0adSmrgEPOXY_PUBLIC Display * (EPOXY_CALLSPEC *epoxy_glXGetCurrentDisplay)(void); 715e84fe556Smrg 716edd9e0adSmrgEPOXY_PUBLIC Display * (EPOXY_CALLSPEC *epoxy_glXGetCurrentDisplayEXT)(void); 717e84fe556Smrg 718edd9e0adSmrgEPOXY_PUBLIC GLXDrawable (EPOXY_CALLSPEC *epoxy_glXGetCurrentDrawable)(void); 719e84fe556Smrg 720edd9e0adSmrgEPOXY_PUBLIC GLXDrawable (EPOXY_CALLSPEC *epoxy_glXGetCurrentReadDrawable)(void); 721e84fe556Smrg 722edd9e0adSmrgEPOXY_PUBLIC GLXDrawable (EPOXY_CALLSPEC *epoxy_glXGetCurrentReadDrawableSGI)(void); 723e84fe556Smrg 724edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetFBConfigAttrib)(Display * dpy, GLXFBConfig config, int attribute, int * value); 725e84fe556Smrg 726edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetFBConfigAttribSGIX)(Display * dpy, GLXFBConfigSGIX config, int attribute, int * value); 727e84fe556Smrg 728edd9e0adSmrgEPOXY_PUBLIC GLXFBConfigSGIX (EPOXY_CALLSPEC *epoxy_glXGetFBConfigFromVisualSGIX)(Display * dpy, XVisualInfo * vis); 729e84fe556Smrg 730edd9e0adSmrgEPOXY_PUBLIC GLXFBConfig * (EPOXY_CALLSPEC *epoxy_glXGetFBConfigs)(Display * dpy, int screen, int * nelements); 731e84fe556Smrg 732edd9e0adSmrgEPOXY_PUBLIC unsigned int (EPOXY_CALLSPEC *epoxy_glXGetGPUIDsAMD)(unsigned int maxCount, unsigned int * ids); 733e84fe556Smrg 734edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetGPUInfoAMD)(unsigned int id, int property, GLenum dataType, unsigned int size, void * data); 735e84fe556Smrg 736edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXGetMscRateOML)(Display * dpy, GLXDrawable drawable, int32_t * numerator, int32_t * denominator); 737e84fe556Smrg 738edd9e0adSmrgEPOXY_PUBLIC __GLXextFuncPtr (EPOXY_CALLSPEC *epoxy_glXGetProcAddress)(const GLubyte * procName); 739e84fe556Smrg 740edd9e0adSmrgEPOXY_PUBLIC __GLXextFuncPtr (EPOXY_CALLSPEC *epoxy_glXGetProcAddressARB)(const GLubyte * procName); 741e84fe556Smrg 742edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXGetSelectedEvent)(Display * dpy, GLXDrawable draw, unsigned long * event_mask); 743e84fe556Smrg 744edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXGetSelectedEventSGIX)(Display * dpy, GLXDrawable drawable, unsigned long * mask); 745e84fe556Smrg 746133e50cbSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetSwapIntervalMESA)(void); 747133e50cbSmrg 748edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXGetSyncValuesOML)(Display * dpy, GLXDrawable drawable, int64_t * ust, int64_t * msc, int64_t * sbc); 749e84fe556Smrg 750133e50cbSmrgEPOXY_PUBLIC Status (EPOXY_CALLSPEC *epoxy_glXGetTransparentIndexSUN)(Display * dpy, Window overlay, Window underlay, unsigned long * pTransparentIndex); 751e84fe556Smrg 752edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetVideoDeviceNV)(Display * dpy, int screen, int numVideoDevices, GLXVideoDeviceNV * pVideoDevice); 753e84fe556Smrg 754edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetVideoInfoNV)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long * pulCounterOutputPbuffer, unsigned long * pulCounterOutputVideo); 755e84fe556Smrg 756edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXGetVideoSyncSGI)(unsigned int * count); 757e84fe556Smrg 758edd9e0adSmrgEPOXY_PUBLIC XVisualInfo * (EPOXY_CALLSPEC *epoxy_glXGetVisualFromFBConfig)(Display * dpy, GLXFBConfig config); 759e84fe556Smrg 760edd9e0adSmrgEPOXY_PUBLIC XVisualInfo * (EPOXY_CALLSPEC *epoxy_glXGetVisualFromFBConfigSGIX)(Display * dpy, GLXFBConfigSGIX config); 761e84fe556Smrg 762edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXHyperpipeAttribSGIX)(Display * dpy, int timeSlice, int attrib, int size, void * attribList); 763e84fe556Smrg 764edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXHyperpipeConfigSGIX)(Display * dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX * cfg, int * hpId); 765e84fe556Smrg 766edd9e0adSmrgEPOXY_PUBLIC GLXContext (EPOXY_CALLSPEC *epoxy_glXImportContextEXT)(Display * dpy, GLXContextID contextID); 767e84fe556Smrg 768edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXIsDirect)(Display * dpy, GLXContext ctx); 769e84fe556Smrg 770edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXJoinSwapGroupNV)(Display * dpy, GLXDrawable drawable, GLuint group); 771e84fe556Smrg 772edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXJoinSwapGroupSGIX)(Display * dpy, GLXDrawable drawable, GLXDrawable member); 773e84fe556Smrg 774edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXLockVideoCaptureDeviceNV)(Display * dpy, GLXVideoCaptureDeviceNV device); 775e84fe556Smrg 776edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXMakeAssociatedContextCurrentAMD)(GLXContext ctx); 777e84fe556Smrg 778edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXMakeContextCurrent)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 779e84fe556Smrg 780edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXMakeCurrent)(Display * dpy, GLXDrawable drawable, GLXContext ctx); 781e84fe556Smrg 782edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXMakeCurrentReadSGI)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 783e84fe556Smrg 784edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXNamedCopyBufferSubDataNV)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 785e84fe556Smrg 786edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXQueryChannelDeltasSGIX)(Display * display, int screen, int channel, int * x, int * y, int * w, int * h); 787e84fe556Smrg 788edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXQueryChannelRectSGIX)(Display * display, int screen, int channel, int * dx, int * dy, int * dw, int * dh); 789e84fe556Smrg 790edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXQueryContext)(Display * dpy, GLXContext ctx, int attribute, int * value); 791e84fe556Smrg 792edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXQueryContextInfoEXT)(Display * dpy, GLXContext context, int attribute, int * value); 793e84fe556Smrg 794edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQueryCurrentRendererIntegerMESA)(int attribute, unsigned int * value); 795e84fe556Smrg 796edd9e0adSmrgEPOXY_PUBLIC const char * (EPOXY_CALLSPEC *epoxy_glXQueryCurrentRendererStringMESA)(int attribute); 797e84fe556Smrg 798edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXQueryDrawable)(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value); 799e84fe556Smrg 800edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQueryExtension)(Display * dpy, int * errorb, int * event); 801e84fe556Smrg 802edd9e0adSmrgEPOXY_PUBLIC const char * (EPOXY_CALLSPEC *epoxy_glXQueryExtensionsString)(Display * dpy, int screen); 803e84fe556Smrg 804edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQueryFrameCountNV)(Display * dpy, int screen, GLuint * count); 805e84fe556Smrg 806133e50cbSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXQueryGLXPbufferSGIX)(Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value); 807e84fe556Smrg 808edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeAttribSGIX)(Display * dpy, int timeSlice, int attrib, int size, void * returnAttribList); 809e84fe556Smrg 810edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeBestAttribSGIX)(Display * dpy, int timeSlice, int attrib, int size, void * attribList, void * returnAttribList); 811e84fe556Smrg 812edd9e0adSmrgEPOXY_PUBLIC GLXHyperpipeConfigSGIX * (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeConfigSGIX)(Display * dpy, int hpId, int * npipes); 813e84fe556Smrg 814edd9e0adSmrgEPOXY_PUBLIC GLXHyperpipeNetworkSGIX * (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeNetworkSGIX)(Display * dpy, int * npipes); 815e84fe556Smrg 816edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQueryMaxSwapBarriersSGIX)(Display * dpy, int screen, int * max); 817e84fe556Smrg 818edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQueryMaxSwapGroupsNV)(Display * dpy, int screen, GLuint * maxGroups, GLuint * maxBarriers); 819e84fe556Smrg 820edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQueryRendererIntegerMESA)(Display * dpy, int screen, int renderer, int attribute, unsigned int * value); 821e84fe556Smrg 822edd9e0adSmrgEPOXY_PUBLIC const char * (EPOXY_CALLSPEC *epoxy_glXQueryRendererStringMESA)(Display * dpy, int screen, int renderer, int attribute); 823e84fe556Smrg 824edd9e0adSmrgEPOXY_PUBLIC const char * (EPOXY_CALLSPEC *epoxy_glXQueryServerString)(Display * dpy, int screen, int name); 825e84fe556Smrg 826edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQuerySwapGroupNV)(Display * dpy, GLXDrawable drawable, GLuint * group, GLuint * barrier); 827e84fe556Smrg 828edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXQueryVersion)(Display * dpy, int * maj, int * min); 829e84fe556Smrg 830edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXQueryVideoCaptureDeviceNV)(Display * dpy, GLXVideoCaptureDeviceNV device, int attribute, int * value); 831e84fe556Smrg 832edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXReleaseBuffersMESA)(Display * dpy, GLXDrawable drawable); 833e84fe556Smrg 834edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXReleaseTexImageEXT)(Display * dpy, GLXDrawable drawable, int buffer); 835e84fe556Smrg 836edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXReleaseVideoCaptureDeviceNV)(Display * dpy, GLXVideoCaptureDeviceNV device); 837e84fe556Smrg 838edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXReleaseVideoDeviceNV)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice); 839e84fe556Smrg 840edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXReleaseVideoImageNV)(Display * dpy, GLXPbuffer pbuf); 841e84fe556Smrg 842edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXResetFrameCountNV)(Display * dpy, int screen); 843e84fe556Smrg 844edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXSelectEvent)(Display * dpy, GLXDrawable draw, unsigned long event_mask); 845e84fe556Smrg 846edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXSelectEventSGIX)(Display * dpy, GLXDrawable drawable, unsigned long mask); 847e84fe556Smrg 848edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXSendPbufferToVideoNV)(Display * dpy, GLXPbuffer pbuf, int iBufferType, unsigned long * pulCounterPbuffer, GLboolean bBlock); 849e84fe556Smrg 850133e50cbSmrgEPOXY_PUBLIC GLboolean (EPOXY_CALLSPEC *epoxy_glXSet3DfxModeMESA)(GLint mode); 851e84fe556Smrg 852edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXSwapBuffers)(Display * dpy, GLXDrawable drawable); 853e84fe556Smrg 854edd9e0adSmrgEPOXY_PUBLIC int64_t (EPOXY_CALLSPEC *epoxy_glXSwapBuffersMscOML)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); 855e84fe556Smrg 856edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXSwapIntervalEXT)(Display * dpy, GLXDrawable drawable, int interval); 857e84fe556Smrg 858133e50cbSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXSwapIntervalMESA)(unsigned int interval); 859133e50cbSmrg 860edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXSwapIntervalSGI)(int interval); 861e84fe556Smrg 862edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXUseXFont)(Font font, int first, int count, int list); 863e84fe556Smrg 864edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXWaitForMscOML)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc); 865e84fe556Smrg 866edd9e0adSmrgEPOXY_PUBLIC Bool (EPOXY_CALLSPEC *epoxy_glXWaitForSbcOML)(Display * dpy, GLXDrawable drawable, int64_t target_sbc, int64_t * ust, int64_t * msc, int64_t * sbc); 867e84fe556Smrg 868edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXWaitGL)(void); 869e84fe556Smrg 870edd9e0adSmrgEPOXY_PUBLIC int (EPOXY_CALLSPEC *epoxy_glXWaitVideoSyncSGI)(int divisor, int remainder, unsigned int * count); 871e84fe556Smrg 872edd9e0adSmrgEPOXY_PUBLIC void (EPOXY_CALLSPEC *epoxy_glXWaitX)(void); 873e84fe556Smrg 874e84fe556Smrg#define glXBindChannelToWindowSGIX epoxy_glXBindChannelToWindowSGIX 875e84fe556Smrg#define glXBindHyperpipeSGIX epoxy_glXBindHyperpipeSGIX 876e84fe556Smrg#define glXBindSwapBarrierNV epoxy_glXBindSwapBarrierNV 877e84fe556Smrg#define glXBindSwapBarrierSGIX epoxy_glXBindSwapBarrierSGIX 878e84fe556Smrg#define glXBindTexImageEXT epoxy_glXBindTexImageEXT 879e84fe556Smrg#define glXBindVideoCaptureDeviceNV epoxy_glXBindVideoCaptureDeviceNV 880e84fe556Smrg#define glXBindVideoDeviceNV epoxy_glXBindVideoDeviceNV 881e84fe556Smrg#define glXBindVideoImageNV epoxy_glXBindVideoImageNV 882e84fe556Smrg#define glXBlitContextFramebufferAMD epoxy_glXBlitContextFramebufferAMD 883e84fe556Smrg#define glXChannelRectSGIX epoxy_glXChannelRectSGIX 884e84fe556Smrg#define glXChannelRectSyncSGIX epoxy_glXChannelRectSyncSGIX 885e84fe556Smrg#define glXChooseFBConfig epoxy_glXChooseFBConfig 886e84fe556Smrg#define glXChooseFBConfigSGIX epoxy_glXChooseFBConfigSGIX 887e84fe556Smrg#define glXChooseVisual epoxy_glXChooseVisual 888e84fe556Smrg#define glXCopyBufferSubDataNV epoxy_glXCopyBufferSubDataNV 889e84fe556Smrg#define glXCopyContext epoxy_glXCopyContext 890e84fe556Smrg#define glXCopyImageSubDataNV epoxy_glXCopyImageSubDataNV 891e84fe556Smrg#define glXCopySubBufferMESA epoxy_glXCopySubBufferMESA 892e84fe556Smrg#define glXCreateAssociatedContextAMD epoxy_glXCreateAssociatedContextAMD 893e84fe556Smrg#define glXCreateAssociatedContextAttribsAMD epoxy_glXCreateAssociatedContextAttribsAMD 894e84fe556Smrg#define glXCreateContext epoxy_glXCreateContext 895e84fe556Smrg#define glXCreateContextAttribsARB epoxy_glXCreateContextAttribsARB 896e84fe556Smrg#define glXCreateContextWithConfigSGIX epoxy_glXCreateContextWithConfigSGIX 897e84fe556Smrg#define glXCreateGLXPbufferSGIX epoxy_glXCreateGLXPbufferSGIX 898e84fe556Smrg#define glXCreateGLXPixmap epoxy_glXCreateGLXPixmap 899e84fe556Smrg#define glXCreateGLXPixmapMESA epoxy_glXCreateGLXPixmapMESA 900e84fe556Smrg#define glXCreateGLXPixmapWithConfigSGIX epoxy_glXCreateGLXPixmapWithConfigSGIX 901e84fe556Smrg#define glXCreateNewContext epoxy_glXCreateNewContext 902e84fe556Smrg#define glXCreatePbuffer epoxy_glXCreatePbuffer 903e84fe556Smrg#define glXCreatePixmap epoxy_glXCreatePixmap 904e84fe556Smrg#define glXCreateWindow epoxy_glXCreateWindow 905e84fe556Smrg#define glXCushionSGI epoxy_glXCushionSGI 906e84fe556Smrg#define glXDelayBeforeSwapNV epoxy_glXDelayBeforeSwapNV 907e84fe556Smrg#define glXDeleteAssociatedContextAMD epoxy_glXDeleteAssociatedContextAMD 908e84fe556Smrg#define glXDestroyContext epoxy_glXDestroyContext 909e84fe556Smrg#define glXDestroyGLXPbufferSGIX epoxy_glXDestroyGLXPbufferSGIX 910e84fe556Smrg#define glXDestroyGLXPixmap epoxy_glXDestroyGLXPixmap 911e84fe556Smrg#define glXDestroyGLXVideoSourceSGIX epoxy_glXDestroyGLXVideoSourceSGIX 912e84fe556Smrg#define glXDestroyHyperpipeConfigSGIX epoxy_glXDestroyHyperpipeConfigSGIX 913e84fe556Smrg#define glXDestroyPbuffer epoxy_glXDestroyPbuffer 914e84fe556Smrg#define glXDestroyPixmap epoxy_glXDestroyPixmap 915e84fe556Smrg#define glXDestroyWindow epoxy_glXDestroyWindow 916e84fe556Smrg#define glXEnumerateVideoCaptureDevicesNV epoxy_glXEnumerateVideoCaptureDevicesNV 917e84fe556Smrg#define glXEnumerateVideoDevicesNV epoxy_glXEnumerateVideoDevicesNV 918e84fe556Smrg#define glXFreeContextEXT epoxy_glXFreeContextEXT 919e84fe556Smrg#define glXGetAGPOffsetMESA epoxy_glXGetAGPOffsetMESA 920e84fe556Smrg#define glXGetClientString epoxy_glXGetClientString 921e84fe556Smrg#define glXGetConfig epoxy_glXGetConfig 922e84fe556Smrg#define glXGetContextGPUIDAMD epoxy_glXGetContextGPUIDAMD 923e84fe556Smrg#define glXGetContextIDEXT epoxy_glXGetContextIDEXT 924e84fe556Smrg#define glXGetCurrentAssociatedContextAMD epoxy_glXGetCurrentAssociatedContextAMD 925e84fe556Smrg#define glXGetCurrentContext epoxy_glXGetCurrentContext 926e84fe556Smrg#define glXGetCurrentDisplay epoxy_glXGetCurrentDisplay 927e84fe556Smrg#define glXGetCurrentDisplayEXT epoxy_glXGetCurrentDisplayEXT 928e84fe556Smrg#define glXGetCurrentDrawable epoxy_glXGetCurrentDrawable 929e84fe556Smrg#define glXGetCurrentReadDrawable epoxy_glXGetCurrentReadDrawable 930e84fe556Smrg#define glXGetCurrentReadDrawableSGI epoxy_glXGetCurrentReadDrawableSGI 931e84fe556Smrg#define glXGetFBConfigAttrib epoxy_glXGetFBConfigAttrib 932e84fe556Smrg#define glXGetFBConfigAttribSGIX epoxy_glXGetFBConfigAttribSGIX 933e84fe556Smrg#define glXGetFBConfigFromVisualSGIX epoxy_glXGetFBConfigFromVisualSGIX 934e84fe556Smrg#define glXGetFBConfigs epoxy_glXGetFBConfigs 935e84fe556Smrg#define glXGetGPUIDsAMD epoxy_glXGetGPUIDsAMD 936e84fe556Smrg#define glXGetGPUInfoAMD epoxy_glXGetGPUInfoAMD 937e84fe556Smrg#define glXGetMscRateOML epoxy_glXGetMscRateOML 938e84fe556Smrg#define glXGetProcAddress epoxy_glXGetProcAddress 939e84fe556Smrg#define glXGetProcAddressARB epoxy_glXGetProcAddressARB 940e84fe556Smrg#define glXGetSelectedEvent epoxy_glXGetSelectedEvent 941e84fe556Smrg#define glXGetSelectedEventSGIX epoxy_glXGetSelectedEventSGIX 942133e50cbSmrg#define glXGetSwapIntervalMESA epoxy_glXGetSwapIntervalMESA 943e84fe556Smrg#define glXGetSyncValuesOML epoxy_glXGetSyncValuesOML 944e84fe556Smrg#define glXGetTransparentIndexSUN epoxy_glXGetTransparentIndexSUN 945e84fe556Smrg#define glXGetVideoDeviceNV epoxy_glXGetVideoDeviceNV 946e84fe556Smrg#define glXGetVideoInfoNV epoxy_glXGetVideoInfoNV 947e84fe556Smrg#define glXGetVideoSyncSGI epoxy_glXGetVideoSyncSGI 948e84fe556Smrg#define glXGetVisualFromFBConfig epoxy_glXGetVisualFromFBConfig 949e84fe556Smrg#define glXGetVisualFromFBConfigSGIX epoxy_glXGetVisualFromFBConfigSGIX 950e84fe556Smrg#define glXHyperpipeAttribSGIX epoxy_glXHyperpipeAttribSGIX 951e84fe556Smrg#define glXHyperpipeConfigSGIX epoxy_glXHyperpipeConfigSGIX 952e84fe556Smrg#define glXImportContextEXT epoxy_glXImportContextEXT 953e84fe556Smrg#define glXIsDirect epoxy_glXIsDirect 954e84fe556Smrg#define glXJoinSwapGroupNV epoxy_glXJoinSwapGroupNV 955e84fe556Smrg#define glXJoinSwapGroupSGIX epoxy_glXJoinSwapGroupSGIX 956e84fe556Smrg#define glXLockVideoCaptureDeviceNV epoxy_glXLockVideoCaptureDeviceNV 957e84fe556Smrg#define glXMakeAssociatedContextCurrentAMD epoxy_glXMakeAssociatedContextCurrentAMD 958e84fe556Smrg#define glXMakeContextCurrent epoxy_glXMakeContextCurrent 959e84fe556Smrg#define glXMakeCurrent epoxy_glXMakeCurrent 960e84fe556Smrg#define glXMakeCurrentReadSGI epoxy_glXMakeCurrentReadSGI 961e84fe556Smrg#define glXNamedCopyBufferSubDataNV epoxy_glXNamedCopyBufferSubDataNV 962e84fe556Smrg#define glXQueryChannelDeltasSGIX epoxy_glXQueryChannelDeltasSGIX 963e84fe556Smrg#define glXQueryChannelRectSGIX epoxy_glXQueryChannelRectSGIX 964e84fe556Smrg#define glXQueryContext epoxy_glXQueryContext 965e84fe556Smrg#define glXQueryContextInfoEXT epoxy_glXQueryContextInfoEXT 966e84fe556Smrg#define glXQueryCurrentRendererIntegerMESA epoxy_glXQueryCurrentRendererIntegerMESA 967e84fe556Smrg#define glXQueryCurrentRendererStringMESA epoxy_glXQueryCurrentRendererStringMESA 968e84fe556Smrg#define glXQueryDrawable epoxy_glXQueryDrawable 969e84fe556Smrg#define glXQueryExtension epoxy_glXQueryExtension 970e84fe556Smrg#define glXQueryExtensionsString epoxy_glXQueryExtensionsString 971e84fe556Smrg#define glXQueryFrameCountNV epoxy_glXQueryFrameCountNV 972e84fe556Smrg#define glXQueryGLXPbufferSGIX epoxy_glXQueryGLXPbufferSGIX 973e84fe556Smrg#define glXQueryHyperpipeAttribSGIX epoxy_glXQueryHyperpipeAttribSGIX 974e84fe556Smrg#define glXQueryHyperpipeBestAttribSGIX epoxy_glXQueryHyperpipeBestAttribSGIX 975e84fe556Smrg#define glXQueryHyperpipeConfigSGIX epoxy_glXQueryHyperpipeConfigSGIX 976e84fe556Smrg#define glXQueryHyperpipeNetworkSGIX epoxy_glXQueryHyperpipeNetworkSGIX 977e84fe556Smrg#define glXQueryMaxSwapBarriersSGIX epoxy_glXQueryMaxSwapBarriersSGIX 978e84fe556Smrg#define glXQueryMaxSwapGroupsNV epoxy_glXQueryMaxSwapGroupsNV 979e84fe556Smrg#define glXQueryRendererIntegerMESA epoxy_glXQueryRendererIntegerMESA 980e84fe556Smrg#define glXQueryRendererStringMESA epoxy_glXQueryRendererStringMESA 981e84fe556Smrg#define glXQueryServerString epoxy_glXQueryServerString 982e84fe556Smrg#define glXQuerySwapGroupNV epoxy_glXQuerySwapGroupNV 983e84fe556Smrg#define glXQueryVersion epoxy_glXQueryVersion 984e84fe556Smrg#define glXQueryVideoCaptureDeviceNV epoxy_glXQueryVideoCaptureDeviceNV 985e84fe556Smrg#define glXReleaseBuffersMESA epoxy_glXReleaseBuffersMESA 986e84fe556Smrg#define glXReleaseTexImageEXT epoxy_glXReleaseTexImageEXT 987e84fe556Smrg#define glXReleaseVideoCaptureDeviceNV epoxy_glXReleaseVideoCaptureDeviceNV 988e84fe556Smrg#define glXReleaseVideoDeviceNV epoxy_glXReleaseVideoDeviceNV 989e84fe556Smrg#define glXReleaseVideoImageNV epoxy_glXReleaseVideoImageNV 990e84fe556Smrg#define glXResetFrameCountNV epoxy_glXResetFrameCountNV 991e84fe556Smrg#define glXSelectEvent epoxy_glXSelectEvent 992e84fe556Smrg#define glXSelectEventSGIX epoxy_glXSelectEventSGIX 993e84fe556Smrg#define glXSendPbufferToVideoNV epoxy_glXSendPbufferToVideoNV 994e84fe556Smrg#define glXSet3DfxModeMESA epoxy_glXSet3DfxModeMESA 995e84fe556Smrg#define glXSwapBuffers epoxy_glXSwapBuffers 996e84fe556Smrg#define glXSwapBuffersMscOML epoxy_glXSwapBuffersMscOML 997e84fe556Smrg#define glXSwapIntervalEXT epoxy_glXSwapIntervalEXT 998133e50cbSmrg#define glXSwapIntervalMESA epoxy_glXSwapIntervalMESA 999e84fe556Smrg#define glXSwapIntervalSGI epoxy_glXSwapIntervalSGI 1000e84fe556Smrg#define glXUseXFont epoxy_glXUseXFont 1001e84fe556Smrg#define glXWaitForMscOML epoxy_glXWaitForMscOML 1002e84fe556Smrg#define glXWaitForSbcOML epoxy_glXWaitForSbcOML 1003e84fe556Smrg#define glXWaitGL epoxy_glXWaitGL 1004e84fe556Smrg#define glXWaitVideoSyncSGI epoxy_glXWaitVideoSyncSGI 1005e84fe556Smrg#define glXWaitX epoxy_glXWaitX 1006