33 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 
   34 #define WIN32_LEAN_AND_MEAN 1 
   42 #define APIENTRYP APIENTRY * 
   53 #define WGL_WGLEXT_VERSION 23 
   55 #ifndef WGL_ARB_buffer_region 
   56 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 
   57 #define WGL_BACK_COLOR_BUFFER_BIT_ARB  0x00000002 
   58 #define WGL_DEPTH_BUFFER_BIT_ARB       0x00000004 
   59 #define WGL_STENCIL_BUFFER_BIT_ARB     0x00000008 
   62 #ifndef WGL_ARB_multisample 
   63 #define WGL_SAMPLE_BUFFERS_ARB         0x2041 
   64 #define WGL_SAMPLES_ARB                0x2042 
   67 #ifndef WGL_ARB_extensions_string 
   70 #ifndef WGL_ARB_pixel_format 
   71 #define WGL_NUMBER_PIXEL_FORMATS_ARB   0x2000 
   72 #define WGL_DRAW_TO_WINDOW_ARB         0x2001 
   73 #define WGL_DRAW_TO_BITMAP_ARB         0x2002 
   74 #define WGL_ACCELERATION_ARB           0x2003 
   75 #define WGL_NEED_PALETTE_ARB           0x2004 
   76 #define WGL_NEED_SYSTEM_PALETTE_ARB    0x2005 
   77 #define WGL_SWAP_LAYER_BUFFERS_ARB     0x2006 
   78 #define WGL_SWAP_METHOD_ARB            0x2007 
   79 #define WGL_NUMBER_OVERLAYS_ARB        0x2008 
   80 #define WGL_NUMBER_UNDERLAYS_ARB       0x2009 
   81 #define WGL_TRANSPARENT_ARB            0x200A 
   82 #define WGL_TRANSPARENT_RED_VALUE_ARB  0x2037 
   83 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 
   84 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 
   85 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A 
   86 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B 
   87 #define WGL_SHARE_DEPTH_ARB            0x200C 
   88 #define WGL_SHARE_STENCIL_ARB          0x200D 
   89 #define WGL_SHARE_ACCUM_ARB            0x200E 
   90 #define WGL_SUPPORT_GDI_ARB            0x200F 
   91 #define WGL_SUPPORT_OPENGL_ARB         0x2010 
   92 #define WGL_DOUBLE_BUFFER_ARB          0x2011 
   93 #define WGL_STEREO_ARB                 0x2012 
   94 #define WGL_PIXEL_TYPE_ARB             0x2013 
   95 #define WGL_COLOR_BITS_ARB             0x2014 
   96 #define WGL_RED_BITS_ARB               0x2015 
   97 #define WGL_RED_SHIFT_ARB              0x2016 
   98 #define WGL_GREEN_BITS_ARB             0x2017 
   99 #define WGL_GREEN_SHIFT_ARB            0x2018 
  100 #define WGL_BLUE_BITS_ARB              0x2019 
  101 #define WGL_BLUE_SHIFT_ARB             0x201A 
  102 #define WGL_ALPHA_BITS_ARB             0x201B 
  103 #define WGL_ALPHA_SHIFT_ARB            0x201C 
  104 #define WGL_ACCUM_BITS_ARB             0x201D 
  105 #define WGL_ACCUM_RED_BITS_ARB         0x201E 
  106 #define WGL_ACCUM_GREEN_BITS_ARB       0x201F 
  107 #define WGL_ACCUM_BLUE_BITS_ARB        0x2020 
  108 #define WGL_ACCUM_ALPHA_BITS_ARB       0x2021 
  109 #define WGL_DEPTH_BITS_ARB             0x2022 
  110 #define WGL_STENCIL_BITS_ARB           0x2023 
  111 #define WGL_AUX_BUFFERS_ARB            0x2024 
  112 #define WGL_NO_ACCELERATION_ARB        0x2025 
  113 #define WGL_GENERIC_ACCELERATION_ARB   0x2026 
  114 #define WGL_FULL_ACCELERATION_ARB      0x2027 
  115 #define WGL_SWAP_EXCHANGE_ARB          0x2028 
  116 #define WGL_SWAP_COPY_ARB              0x2029 
  117 #define WGL_SWAP_UNDEFINED_ARB         0x202A 
  118 #define WGL_TYPE_RGBA_ARB              0x202B 
  119 #define WGL_TYPE_COLORINDEX_ARB        0x202C 
  122 #ifndef WGL_ARB_make_current_read 
  123 #define ERROR_INVALID_PIXEL_TYPE_ARB   0x2043 
  124 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 
  127 #ifndef WGL_ARB_pbuffer 
  128 #define WGL_DRAW_TO_PBUFFER_ARB        0x202D 
  129 #define WGL_MAX_PBUFFER_PIXELS_ARB     0x202E 
  130 #define WGL_MAX_PBUFFER_WIDTH_ARB      0x202F 
  131 #define WGL_MAX_PBUFFER_HEIGHT_ARB     0x2030 
  132 #define WGL_PBUFFER_LARGEST_ARB        0x2033 
  133 #define WGL_PBUFFER_WIDTH_ARB          0x2034 
  134 #define WGL_PBUFFER_HEIGHT_ARB         0x2035 
  135 #define WGL_PBUFFER_LOST_ARB           0x2036 
  138 #ifndef WGL_ARB_render_texture 
  139 #define WGL_BIND_TO_TEXTURE_RGB_ARB    0x2070 
  140 #define WGL_BIND_TO_TEXTURE_RGBA_ARB   0x2071 
  141 #define WGL_TEXTURE_FORMAT_ARB         0x2072 
  142 #define WGL_TEXTURE_TARGET_ARB         0x2073 
  143 #define WGL_MIPMAP_TEXTURE_ARB         0x2074 
  144 #define WGL_TEXTURE_RGB_ARB            0x2075 
  145 #define WGL_TEXTURE_RGBA_ARB           0x2076 
  146 #define WGL_NO_TEXTURE_ARB             0x2077 
  147 #define WGL_TEXTURE_CUBE_MAP_ARB       0x2078 
  148 #define WGL_TEXTURE_1D_ARB             0x2079 
  149 #define WGL_TEXTURE_2D_ARB             0x207A 
  150 #define WGL_MIPMAP_LEVEL_ARB           0x207B 
  151 #define WGL_CUBE_MAP_FACE_ARB          0x207C 
  152 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D 
  153 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E 
  154 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F 
  155 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 
  156 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 
  157 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 
  158 #define WGL_FRONT_LEFT_ARB             0x2083 
  159 #define WGL_FRONT_RIGHT_ARB            0x2084 
  160 #define WGL_BACK_LEFT_ARB              0x2085 
  161 #define WGL_BACK_RIGHT_ARB             0x2086 
  162 #define WGL_AUX0_ARB                   0x2087 
  163 #define WGL_AUX1_ARB                   0x2088 
  164 #define WGL_AUX2_ARB                   0x2089 
  165 #define WGL_AUX3_ARB                   0x208A 
  166 #define WGL_AUX4_ARB                   0x208B 
  167 #define WGL_AUX5_ARB                   0x208C 
  168 #define WGL_AUX6_ARB                   0x208D 
  169 #define WGL_AUX7_ARB                   0x208E 
  170 #define WGL_AUX8_ARB                   0x208F 
  171 #define WGL_AUX9_ARB                   0x2090 
  174 #ifndef WGL_ARB_pixel_format_float 
  175 #define WGL_TYPE_RGBA_FLOAT_ARB        0x21A0 
  178 #ifndef WGL_ARB_framebuffer_sRGB 
  179 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 
  182 #ifndef WGL_ARB_create_context 
  183 #define WGL_CONTEXT_DEBUG_BIT_ARB      0x00000001 
  184 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 
  185 #define WGL_CONTEXT_MAJOR_VERSION_ARB  0x2091 
  186 #define WGL_CONTEXT_MINOR_VERSION_ARB  0x2092 
  187 #define WGL_CONTEXT_LAYER_PLANE_ARB    0x2093 
  188 #define WGL_CONTEXT_FLAGS_ARB          0x2094 
  189 #define ERROR_INVALID_VERSION_ARB      0x2095 
  192 #ifndef WGL_ARB_create_context_profile 
  193 #define WGL_CONTEXT_PROFILE_MASK_ARB   0x9126 
  194 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 
  195 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 
  196 #define ERROR_INVALID_PROFILE_ARB      0x2096 
  199 #ifndef WGL_ARB_create_context_robustness 
  200 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 
  201 #define WGL_LOSE_CONTEXT_ON_RESET_ARB  0x8252 
  202 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 
  203 #define WGL_NO_RESET_NOTIFICATION_ARB  0x8261 
  206 #ifndef WGL_EXT_make_current_read 
  207 #define ERROR_INVALID_PIXEL_TYPE_EXT   0x2043 
  210 #ifndef WGL_EXT_pixel_format 
  211 #define WGL_NUMBER_PIXEL_FORMATS_EXT   0x2000 
  212 #define WGL_DRAW_TO_WINDOW_EXT         0x2001 
  213 #define WGL_DRAW_TO_BITMAP_EXT         0x2002 
  214 #define WGL_ACCELERATION_EXT           0x2003 
  215 #define WGL_NEED_PALETTE_EXT           0x2004 
  216 #define WGL_NEED_SYSTEM_PALETTE_EXT    0x2005 
  217 #define WGL_SWAP_LAYER_BUFFERS_EXT     0x2006 
  218 #define WGL_SWAP_METHOD_EXT            0x2007 
  219 #define WGL_NUMBER_OVERLAYS_EXT        0x2008 
  220 #define WGL_NUMBER_UNDERLAYS_EXT       0x2009 
  221 #define WGL_TRANSPARENT_EXT            0x200A 
  222 #define WGL_TRANSPARENT_VALUE_EXT      0x200B 
  223 #define WGL_SHARE_DEPTH_EXT            0x200C 
  224 #define WGL_SHARE_STENCIL_EXT          0x200D 
  225 #define WGL_SHARE_ACCUM_EXT            0x200E 
  226 #define WGL_SUPPORT_GDI_EXT            0x200F 
  227 #define WGL_SUPPORT_OPENGL_EXT         0x2010 
  228 #define WGL_DOUBLE_BUFFER_EXT          0x2011 
  229 #define WGL_STEREO_EXT                 0x2012 
  230 #define WGL_PIXEL_TYPE_EXT             0x2013 
  231 #define WGL_COLOR_BITS_EXT             0x2014 
  232 #define WGL_RED_BITS_EXT               0x2015 
  233 #define WGL_RED_SHIFT_EXT              0x2016 
  234 #define WGL_GREEN_BITS_EXT             0x2017 
  235 #define WGL_GREEN_SHIFT_EXT            0x2018 
  236 #define WGL_BLUE_BITS_EXT              0x2019 
  237 #define WGL_BLUE_SHIFT_EXT             0x201A 
  238 #define WGL_ALPHA_BITS_EXT             0x201B 
  239 #define WGL_ALPHA_SHIFT_EXT            0x201C 
  240 #define WGL_ACCUM_BITS_EXT             0x201D 
  241 #define WGL_ACCUM_RED_BITS_EXT         0x201E 
  242 #define WGL_ACCUM_GREEN_BITS_EXT       0x201F 
  243 #define WGL_ACCUM_BLUE_BITS_EXT        0x2020 
  244 #define WGL_ACCUM_ALPHA_BITS_EXT       0x2021 
  245 #define WGL_DEPTH_BITS_EXT             0x2022 
  246 #define WGL_STENCIL_BITS_EXT           0x2023 
  247 #define WGL_AUX_BUFFERS_EXT            0x2024 
  248 #define WGL_NO_ACCELERATION_EXT        0x2025 
  249 #define WGL_GENERIC_ACCELERATION_EXT   0x2026 
  250 #define WGL_FULL_ACCELERATION_EXT      0x2027 
  251 #define WGL_SWAP_EXCHANGE_EXT          0x2028 
  252 #define WGL_SWAP_COPY_EXT              0x2029 
  253 #define WGL_SWAP_UNDEFINED_EXT         0x202A 
  254 #define WGL_TYPE_RGBA_EXT              0x202B 
  255 #define WGL_TYPE_COLORINDEX_EXT        0x202C 
  258 #ifndef WGL_EXT_pbuffer 
  259 #define WGL_DRAW_TO_PBUFFER_EXT        0x202D 
  260 #define WGL_MAX_PBUFFER_PIXELS_EXT     0x202E 
  261 #define WGL_MAX_PBUFFER_WIDTH_EXT      0x202F 
  262 #define WGL_MAX_PBUFFER_HEIGHT_EXT     0x2030 
  263 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT  0x2031 
  264 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 
  265 #define WGL_PBUFFER_LARGEST_EXT        0x2033 
  266 #define WGL_PBUFFER_WIDTH_EXT          0x2034 
  267 #define WGL_PBUFFER_HEIGHT_EXT         0x2035 
  270 #ifndef WGL_EXT_depth_float 
  271 #define WGL_DEPTH_FLOAT_EXT            0x2040 
  274 #ifndef WGL_3DFX_multisample 
  275 #define WGL_SAMPLE_BUFFERS_3DFX        0x2060 
  276 #define WGL_SAMPLES_3DFX               0x2061 
  279 #ifndef WGL_EXT_multisample 
  280 #define WGL_SAMPLE_BUFFERS_EXT         0x2041 
  281 #define WGL_SAMPLES_EXT                0x2042 
  284 #ifndef WGL_I3D_digital_video_control 
  285 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 
  286 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 
  287 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 
  288 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 
  291 #ifndef WGL_I3D_gamma 
  292 #define WGL_GAMMA_TABLE_SIZE_I3D       0x204E 
  293 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D  0x204F 
  296 #ifndef WGL_I3D_genlock 
  297 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 
  298 #define WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D 0x2045 
  299 #define WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D 0x2046 
  300 #define WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D 0x2047 
  301 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 
  302 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 
  303 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A 
  304 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B 
  305 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C 
  308 #ifndef WGL_I3D_image_buffer 
  309 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 
  310 #define WGL_IMAGE_BUFFER_LOCK_I3D      0x00000002 
  313 #ifndef WGL_I3D_swap_frame_lock 
  316 #ifndef WGL_NV_render_depth_texture 
  317 #define WGL_BIND_TO_TEXTURE_DEPTH_NV   0x20A3 
  318 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 
  319 #define WGL_DEPTH_TEXTURE_FORMAT_NV    0x20A5 
  320 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 
  321 #define WGL_DEPTH_COMPONENT_NV         0x20A7 
  324 #ifndef WGL_NV_render_texture_rectangle 
  325 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 
  326 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 
  327 #define WGL_TEXTURE_RECTANGLE_NV       0x20A2 
  330 #ifndef WGL_ATI_pixel_format_float 
  331 #define WGL_TYPE_RGBA_FLOAT_ATI        0x21A0 
  334 #ifndef WGL_NV_float_buffer 
  335 #define WGL_FLOAT_COMPONENTS_NV        0x20B0 
  336 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 
  337 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 
  338 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 
  339 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 
  340 #define WGL_TEXTURE_FLOAT_R_NV         0x20B5 
  341 #define WGL_TEXTURE_FLOAT_RG_NV        0x20B6 
  342 #define WGL_TEXTURE_FLOAT_RGB_NV       0x20B7 
  343 #define WGL_TEXTURE_FLOAT_RGBA_NV      0x20B8 
  346 #ifndef WGL_3DL_stereo_control 
  347 #define WGL_STEREO_EMITTER_ENABLE_3DL  0x2055 
  348 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 
  349 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 
  350 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 
  353 #ifndef WGL_EXT_pixel_format_packed_float 
  354 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 
  357 #ifndef WGL_EXT_framebuffer_sRGB 
  358 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 
  361 #ifndef WGL_NV_present_video 
  362 #define WGL_NUM_VIDEO_SLOTS_NV         0x20F0 
  365 #ifndef WGL_NV_video_out 
  366 #define WGL_BIND_TO_VIDEO_RGB_NV       0x20C0 
  367 #define WGL_BIND_TO_VIDEO_RGBA_NV      0x20C1 
  368 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 
  369 #define WGL_VIDEO_OUT_COLOR_NV         0x20C3 
  370 #define WGL_VIDEO_OUT_ALPHA_NV         0x20C4 
  371 #define WGL_VIDEO_OUT_DEPTH_NV         0x20C5 
  372 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 
  373 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 
  374 #define WGL_VIDEO_OUT_FRAME            0x20C8 
  375 #define WGL_VIDEO_OUT_FIELD_1          0x20C9 
  376 #define WGL_VIDEO_OUT_FIELD_2          0x20CA 
  377 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB 
  378 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC 
  381 #ifndef WGL_NV_swap_group 
  384 #ifndef WGL_NV_gpu_affinity 
  385 #define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 
  386 #define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 
  389 #ifndef WGL_AMD_gpu_association 
  390 #define WGL_GPU_VENDOR_AMD             0x1F00 
  391 #define WGL_GPU_RENDERER_STRING_AMD    0x1F01 
  392 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 
  393 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 
  394 #define WGL_GPU_RAM_AMD                0x21A3 
  395 #define WGL_GPU_CLOCK_AMD              0x21A4 
  396 #define WGL_GPU_NUM_PIPES_AMD          0x21A5 
  397 #define WGL_GPU_NUM_SIMD_AMD           0x21A6 
  398 #define WGL_GPU_NUM_RB_AMD             0x21A7 
  399 #define WGL_GPU_NUM_SPI_AMD            0x21A8 
  402 #ifndef WGL_NV_video_capture 
  403 #define WGL_UNIQUE_ID_NV               0x20CE 
  404 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF 
  407 #ifndef WGL_NV_copy_image 
  410 #ifndef WGL_NV_multisample_coverage 
  411 #define WGL_COVERAGE_SAMPLES_NV        0x2042 
  412 #define WGL_COLOR_SAMPLES_NV           0x20B9 
  415 #ifndef WGL_EXT_create_context_es2_profile 
  416 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 
  419 #ifndef WGL_NV_DX_interop 
  420 #define WGL_ACCESS_READ_ONLY_NV        0x00000000 
  421 #define WGL_ACCESS_READ_WRITE_NV       0x00000001 
  422 #define WGL_ACCESS_WRITE_DISCARD_NV    0x00000002 
  428 #ifndef WGL_ARB_pbuffer 
  431 #ifndef WGL_EXT_pbuffer 
  434 #ifndef WGL_NV_present_video 
  437 #ifndef WGL_NV_video_output 
  440 #ifndef WGL_NV_gpu_affinity 
  452 #ifndef WGL_NV_video_capture 
  456 #ifndef WGL_ARB_buffer_region 
  457 #define WGL_ARB_buffer_region 1 
  458 #ifdef WGL_WGLEXT_PROTOTYPES 
  470 #ifndef WGL_ARB_multisample 
  471 #define WGL_ARB_multisample 1 
  474 #ifndef WGL_ARB_extensions_string 
  475 #define WGL_ARB_extensions_string 1 
  476 #ifdef WGL_WGLEXT_PROTOTYPES 
  477 extern const char * 
WINAPI wglGetExtensionsStringARB (
HDC hdc);
 
  482 #ifndef WGL_ARB_pixel_format 
  483 #define WGL_ARB_pixel_format 1 
  484 #ifdef WGL_WGLEXT_PROTOTYPES 
  494 #ifndef WGL_ARB_make_current_read 
  495 #define WGL_ARB_make_current_read 1 
  496 #ifdef WGL_WGLEXT_PROTOTYPES 
  498 extern HDC WINAPI wglGetCurrentReadDCARB (
void);
 
  504 #ifndef WGL_ARB_pbuffer 
  505 #define WGL_ARB_pbuffer 1 
  506 #ifdef WGL_WGLEXT_PROTOTYPES 
  520 #ifndef WGL_ARB_render_texture 
  521 #define WGL_ARB_render_texture 1 
  522 #ifdef WGL_WGLEXT_PROTOTYPES 
  532 #ifndef WGL_ARB_pixel_format_float 
  533 #define WGL_ARB_pixel_format_float 1 
  536 #ifndef WGL_ARB_framebuffer_sRGB 
  537 #define WGL_ARB_framebuffer_sRGB 1 
  540 #ifndef WGL_ARB_create_context 
  541 #define WGL_ARB_create_context 1 
  542 #ifdef WGL_WGLEXT_PROTOTYPES 
  548 #ifndef WGL_ARB_create_context_profile 
  549 #define WGL_ARB_create_context_profile 1 
  552 #ifndef WGL_ARB_create_context_robustness 
  553 #define WGL_ARB_create_context_robustness 1 
  556 #ifndef WGL_EXT_display_color_table 
  557 #define WGL_EXT_display_color_table 1 
  558 #ifdef WGL_WGLEXT_PROTOTYPES 
  570 #ifndef WGL_EXT_extensions_string 
  571 #define WGL_EXT_extensions_string 1 
  572 #ifdef WGL_WGLEXT_PROTOTYPES 
  573 extern const char * 
WINAPI wglGetExtensionsStringEXT (
void);
 
  578 #ifndef WGL_EXT_make_current_read 
  579 #define WGL_EXT_make_current_read 1 
  580 #ifdef WGL_WGLEXT_PROTOTYPES 
  582 extern HDC WINAPI wglGetCurrentReadDCEXT (
void);
 
  588 #ifndef WGL_EXT_pbuffer 
  589 #define WGL_EXT_pbuffer 1 
  590 #ifdef WGL_WGLEXT_PROTOTYPES 
  604 #ifndef WGL_EXT_pixel_format 
  605 #define WGL_EXT_pixel_format 1 
  606 #ifdef WGL_WGLEXT_PROTOTYPES 
  607 extern BOOL WINAPI wglGetPixelFormatAttribivEXT (
HDC hdc, 
int iPixelFormat, 
int iLayerPlane, 
UINT nAttributes, 
int *piAttributes, 
int *
piValues);
 
  608 extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (
HDC hdc, 
int iPixelFormat, 
int iLayerPlane, 
UINT nAttributes, 
int *piAttributes, FLOAT *
pfValues);
 
  609 extern BOOL WINAPI wglChoosePixelFormatEXT (
HDC hdc, 
const int *piAttribIList, 
const FLOAT *pfAttribFList, 
UINT nMaxFormats, 
int *piFormats, 
UINT *
nNumFormats);
 
  616 #ifndef WGL_EXT_swap_control 
  617 #define WGL_EXT_swap_control 1 
  618 #ifdef WGL_WGLEXT_PROTOTYPES 
  619 extern BOOL WINAPI wglSwapIntervalEXT (
int interval);
 
  620 extern int WINAPI wglGetSwapIntervalEXT (
void);
 
  622 typedef BOOL (
WINAPI * PFNWGLSWAPINTERVALEXTPROC) (
int interval);
 
  626 #ifndef WGL_EXT_depth_float 
  627 #define WGL_EXT_depth_float 1 
  630 #ifndef WGL_NV_vertex_array_range 
  631 #define WGL_NV_vertex_array_range 1 
  632 #ifdef WGL_WGLEXT_PROTOTYPES 
  640 #ifndef WGL_3DFX_multisample 
  641 #define WGL_3DFX_multisample 1 
  644 #ifndef WGL_EXT_multisample 
  645 #define WGL_EXT_multisample 1 
  648 #ifndef WGL_OML_sync_control 
  649 #define WGL_OML_sync_control 1 
  650 #ifdef WGL_WGLEXT_PROTOTYPES 
  666 #ifndef WGL_I3D_digital_video_control 
  667 #define WGL_I3D_digital_video_control 1 
  668 #ifdef WGL_WGLEXT_PROTOTYPES 
  670 extern BOOL WINAPI wglSetDigitalVideoParametersI3D (
HDC hDC, 
int iAttribute, 
const int *
piValue);
 
  676 #ifndef WGL_I3D_gamma 
  677 #define WGL_I3D_gamma 1 
  678 #ifdef WGL_WGLEXT_PROTOTYPES 
  690 #ifndef WGL_I3D_genlock 
  691 #define WGL_I3D_genlock 1 
  692 #ifdef WGL_WGLEXT_PROTOTYPES 
  720 #ifndef WGL_I3D_image_buffer 
  721 #define WGL_I3D_image_buffer 1 
  722 #ifdef WGL_WGLEXT_PROTOTYPES 
  734 #ifndef WGL_I3D_swap_frame_lock 
  735 #define WGL_I3D_swap_frame_lock 1 
  736 #ifdef WGL_WGLEXT_PROTOTYPES 
  737 extern BOOL WINAPI wglEnableFrameLockI3D (
void);
 
  738 extern BOOL WINAPI wglDisableFrameLockI3D (
void);
 
  748 #ifndef WGL_I3D_swap_frame_usage 
  749 #define WGL_I3D_swap_frame_usage 1 
  750 #ifdef WGL_WGLEXT_PROTOTYPES 
  751 extern BOOL WINAPI wglGetFrameUsageI3D (
float *pUsage);
 
  752 extern BOOL WINAPI wglBeginFrameTrackingI3D (
void);
 
  753 extern BOOL WINAPI wglEndFrameTrackingI3D (
void);
 
  756 typedef BOOL (
WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (
float *pUsage);
 
  762 #ifndef WGL_ATI_pixel_format_float 
  763 #define WGL_ATI_pixel_format_float 1 
  766 #ifndef WGL_NV_float_buffer 
  767 #define WGL_NV_float_buffer 1 
  770 #ifndef WGL_3DL_stereo_control 
  771 #define WGL_3DL_stereo_control 1 
  772 #ifdef WGL_WGLEXT_PROTOTYPES 
  778 #ifndef WGL_EXT_pixel_format_packed_float 
  779 #define WGL_EXT_pixel_format_packed_float 1 
  782 #ifndef WGL_EXT_framebuffer_sRGB 
  783 #define WGL_EXT_framebuffer_sRGB 1 
  786 #ifndef WGL_NV_present_video 
  787 #define WGL_NV_present_video 1 
  788 #ifdef WGL_WGLEXT_PROTOTYPES 
  798 #ifndef WGL_NV_video_output 
  799 #define WGL_NV_video_output 1 
  800 #ifdef WGL_WGLEXT_PROTOTYPES 
  802 extern BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice);
 
  816 #ifndef WGL_NV_swap_group 
  817 #define WGL_NV_swap_group 1 
  818 #ifdef WGL_WGLEXT_PROTOTYPES 
  834 #ifndef WGL_NV_gpu_affinity 
  835 #define WGL_NV_gpu_affinity 1 
  836 #ifdef WGL_WGLEXT_PROTOTYPES 
  839 extern HDC WINAPI wglCreateAffinityDCNV (
const HGPUNV *phGpuList);
 
  845 typedef HDC (
WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (
const HGPUNV *phGpuList);
 
  850 #ifndef WGL_AMD_gpu_association 
  851 #define WGL_AMD_gpu_association 1 
  852 #ifdef WGL_WGLEXT_PROTOTYPES 
  860 extern HGLRC WINAPI wglGetCurrentAssociatedContextAMD (
void);
 
  861 extern VOID WINAPI wglBlitContextFramebufferAMD (
HGLRC dstCtx, 
GLint srcX0, 
GLint srcY0, 
GLint srcX1, 
GLint srcY1, 
GLint dstX0, 
GLint dstY0, 
GLint dstX1, 
GLint dstY1, 
GLbitfield mask, 
GLenum filter);
 
  870 typedef HGLRC (
WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (
void);
 
  871 typedef VOID (
WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (
HGLRC dstCtx, 
GLint srcX0, 
GLint srcY0, 
GLint srcX1, 
GLint srcY1, 
GLint dstX0, 
GLint dstY0, 
GLint dstX1, 
GLint dstY1, 
GLbitfield mask, 
GLenum filter);
 
  874 #ifndef WGL_NV_video_capture 
  875 #define WGL_NV_video_capture 1 
  876 #ifdef WGL_WGLEXT_PROTOTYPES 
  885 typedef BOOL (
WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (
HDC hDc, HVIDEOINPUTDEVICENV 
hDevice);
 
  887 typedef BOOL (
WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (
HDC hDc, HVIDEOINPUTDEVICENV 
hDevice);
 
  890 #ifndef WGL_NV_copy_image 
  891 #define WGL_NV_copy_image 1 
  892 #ifdef WGL_WGLEXT_PROTOTYPES 
  893 extern BOOL WINAPI wglCopyImageSubDataNV (
HGLRC hSrcRC, 
GLuint srcName, 
GLenum srcTarget, 
GLint srcLevel, 
GLint srcX, 
GLint srcY, 
GLint srcZ, 
HGLRC hDstRC, 
GLuint dstName, 
GLenum dstTarget, 
GLint dstLevel, 
GLint dstX, 
GLint dstY, 
GLint dstZ, 
GLsizei width, 
GLsizei height, 
GLsizei depth);
 
  895 typedef BOOL (
WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (
HGLRC hSrcRC, 
GLuint srcName, 
GLenum srcTarget, 
GLint srcLevel, 
GLint srcX, 
GLint srcY, 
GLint srcZ, 
HGLRC hDstRC, 
GLuint dstName, 
GLenum dstTarget, 
GLint dstLevel, 
GLint dstX, 
GLint dstY, 
GLint dstZ, 
GLsizei width, 
GLsizei height, 
GLsizei depth);
 
  898 #ifndef WGL_NV_multisample_coverage 
  899 #define WGL_NV_multisample_coverage 1 
  902 #ifndef WGL_NV_DX_interop 
  903 #define WGL_NV_DX_interop 1 
  904 #ifdef WGL_WGLEXT_PROTOTYPES 
  906 extern HANDLE WINAPI wglDXOpenDeviceNV (
void *dxDevice);
 
  915 typedef HANDLE (
WINAPI * PFNWGLDXOPENDEVICENVPROC) (
void *dxDevice);
 
int int int const int * piAttribList
 
const int * piAttribIList
 
int USHORT USHORT * puGreen
 
GLuint GLuint * maxBarriers
 
GLuint GLenum GLint GLint GLint srcY
 
GLuint GLenum GLint GLint srcX
 
GLuint GLenum GLint GLint GLint GLint HGLRC hDstRC
 
INT64 INT64 INT64 remainder
 
GLint GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
 
int int int int int int ySrc
 
GLint GLint GLint GLint GLint GLint dstX1
 
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
 
GLint GLint GLint GLint dstX0
 
const HANDLE const LPVOID const DWORD * pSize
 
void *WINAPI * PFNWGLALLOCATEMEMORYNVPROC(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority)
 
GLint GLint GLsizei GLsizei GLsizei depth
 
int int UINT const int FLOAT * pfValues
 
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint dstX
 
typedef HANDLE(WINAPI *PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC
 
const int const FLOAT * pfAttribFList
 
int unsigned long BOOL bBlock
 
typedef HGLRC(WINAPI *PFNWGLCREATECONTEXTATTRIBSARBPROC)(HDC hDC
 
struct _GPU_DEVICE * PGPU_DEVICE
 
const int const FLOAT UINT nMaxFormats
 
GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
 
GLenum GLint GLint GLint GLint srcZ
 
GLuint GLenum GLint srcLevel
 
GLint GLint GLint GLint GLint dstX0
 
GLenum GLsizei GLsizei const GLvoid * pointer
 
GLenum GLsizei GLenum GLenum const GLvoid * table
 
typedef void(WINAPI *PFNWGLFREEMEMORYNVPROC)(void *pointer)
 
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint dstName
 
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint dstLevel
 
DECLARE_HANDLE(HPBUFFERARB)
 
GLint GLint GLint GLint srcY1
 
GLenum GLint GLint GLint GLint GLuint dstName
 
int GLenum UINT void * data
 
int unsigned long * pulCounterPbuffer
 
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
 
const int const FLOAT UINT int * piFormats
 
GLenum GLint GLint GLint srcY
 
unsigned long unsigned long * pulCounterOutputVideo
 
GLint GLint GLint GLint GLint GLint GLint dstX1
 
UINT PGPU_DEVICE lpGpuDevice
 
struct _GPU_DEVICE GPU_DEVICE
 
GLint GLint GLint GLint GLint GLint GLint GLint dstY1
 
GLint GLint GLint GLint GLint x
 
typedef BOOL(WINAPI *PFNWGLSAVEBUFFERREGIONARBPROC)(HANDLE hRegion
 
void GLuint GLenum GLenum access
 
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint GLint GLint GLsizei GLsizei GLsizei depth
 
typedef HDC(WINAPI *PFNWGLGETCURRENTREADDCARBPROC)(void)
 
typedef INT(WINAPI *PFNWGLGETGPUINFOAMDPROC)(UINT id
 
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
 
typedef INT64(WINAPI *PFNWGLSWAPBUFFERSMSCOMLPROC)(HDC hdc
 
typedef VOID(WINAPI *PFNWGLDELETEBUFFERREGIONARBPROC)(HANDLE hRegion)
 
GLuint const GLchar * name
 
int int UINT const int int * piValues
 
GLuint GLenum GLint GLint GLint GLint srcZ
 
INT32 INT32 * denominator
 
GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
 
HVIDEOINPUTDEVICENV hDevice
 
GLint GLsizei GLsizei height
 
GLint GLint GLint GLint GLint dstY0
 
GLint GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
 
typedef GLboolean(WINAPI *PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)(GLushort id)
 
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint GLint GLint dstZ
 
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum GLint GLint GLint dstY
 
typedef HPBUFFEREXT(WINAPI *PFNWGLCREATEPBUFFEREXTPROC)(HDC hDC
 
GLuint GLenum GLint GLint GLint GLint HGLRC GLuint GLenum dstTarget
 
GLenum GLsizei GLenum GLenum const GLvoid * data
 
UINT UINT * uMaxPixelDelay
 
typedef LPVOID(WINAPI *PFNWGLCREATEIMAGEBUFFERI3DPROC)(HDC hDC
 
HPBUFFERARB int iVideoBuffer
 
GLenum GLuint GLenum GLsizei length
 
HGLRC const int * attribList
 
typedef UINT(WINAPI *PFNWGLGETGPUIDSAMDPROC)(UINT maxCount
 
const char *WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC(void)
 
unsigned int HVIDEOOUTPUTDEVICENV hVideoDevice
 
unsigned long * pulCounterOutputPbuffer
 
const char *WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC(HDC hdc)
 
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
 
typedef HPBUFFERARB(WINAPI *PFNWGLCREATEPBUFFERARBPROC)(HDC hDC
 
const HANDLE const LPVOID const DWORD UINT count
 
int int UINT const int * piAttributes
 
const int const FLOAT UINT int UINT * nNumFormats
 
int USHORT USHORT USHORT * puBlue
 
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
 
GLint GLint GLint GLint GLint GLint dstY0
 
GLint GLint GLint GLint GLint GLint GLint dstY1
 
HVIDEOOUTPUTDEVICENV * phDeviceList
 
DWORD float * pLastMissedUsage