wglext.h
Go to the documentation of this file.
00001 #ifndef __wglext_h_
00002 #define __wglext_h_ 1
00003 
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007 
00008 /*
00009 ** Copyright (c) 2013-2014 The Khronos Group Inc.
00010 **
00011 ** Permission is hereby granted, free of charge, to any person obtaining a
00012 ** copy of this software and/or associated documentation files (the
00013 ** "Materials"), to deal in the Materials without restriction, including
00014 ** without limitation the rights to use, copy, modify, merge, publish,
00015 ** distribute, sublicense, and/or sell copies of the Materials, and to
00016 ** permit persons to whom the Materials are furnished to do so, subject to
00017 ** the following conditions:
00018 **
00019 ** The above copyright notice and this permission notice shall be included
00020 ** in all copies or substantial portions of the Materials.
00021 **
00022 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00023 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00024 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00025 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00026 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00027 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00028 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
00029 */
00030 /*
00031 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
00032 ** API Registry. The current version of the Registry, generator scripts
00033 ** used to make the header, and the header can be found at
00034 **   http://www.opengl.org/registry/
00035 **
00036 ** Khronos $Revision: 27684 $ on $Date: 2014-08-11 01:21:35 -0700 (Mon, 11 Aug 2014) $
00037 */
00038 
00039 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
00040 #define WIN32_LEAN_AND_MEAN 1
00041 #include <windows.h>
00042 #endif
00043 
00044 #define WGL_WGLEXT_VERSION 20140810
00045 
00046 /* Generated C header for:
00047  * API: wgl
00048  * Versions considered: .*
00049  * Versions emitted: _nomatch_^
00050  * Default extensions included: wgl
00051  * Additional extensions included: _nomatch_^
00052  * Extensions removed: _nomatch_^
00053  */
00054 
00055 #ifndef WGL_ARB_buffer_region
00056 #define WGL_ARB_buffer_region 1
00057 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB    0x00000001
00058 #define WGL_BACK_COLOR_BUFFER_BIT_ARB     0x00000002
00059 #define WGL_DEPTH_BUFFER_BIT_ARB          0x00000004
00060 #define WGL_STENCIL_BUFFER_BIT_ARB        0x00000008
00061 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
00062 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
00063 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
00064 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
00065 #ifdef WGL_WGLEXT_PROTOTYPES
00066 HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType);
00067 VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion);
00068 BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height);
00069 BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
00070 #endif
00071 #endif /* WGL_ARB_buffer_region */
00072 
00073 #ifndef WGL_ARB_context_flush_control
00074 #define WGL_ARB_context_flush_control 1
00075 #define WGL_CONTEXT_RELEASE_BEHAVIOR_ARB  0x2097
00076 #define WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0
00077 #define WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098
00078 #endif /* WGL_ARB_context_flush_control */
00079 
00080 #ifndef WGL_ARB_create_context
00081 #define WGL_ARB_create_context 1
00082 #define WGL_CONTEXT_DEBUG_BIT_ARB         0x00000001
00083 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
00084 #define WGL_CONTEXT_MAJOR_VERSION_ARB     0x2091
00085 #define WGL_CONTEXT_MINOR_VERSION_ARB     0x2092
00086 #define WGL_CONTEXT_LAYER_PLANE_ARB       0x2093
00087 #define WGL_CONTEXT_FLAGS_ARB             0x2094
00088 #define ERROR_INVALID_VERSION_ARB         0x2095
00089 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int *attribList);
00090 #ifdef WGL_WGLEXT_PROTOTYPES
00091 HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList);
00092 #endif
00093 #endif /* WGL_ARB_create_context */
00094 
00095 #ifndef WGL_ARB_create_context_profile
00096 #define WGL_ARB_create_context_profile 1
00097 #define WGL_CONTEXT_PROFILE_MASK_ARB      0x9126
00098 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB  0x00000001
00099 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
00100 #define ERROR_INVALID_PROFILE_ARB         0x2096
00101 #endif /* WGL_ARB_create_context_profile */
00102 
00103 #ifndef WGL_ARB_create_context_robustness
00104 #define WGL_ARB_create_context_robustness 1
00105 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
00106 #define WGL_LOSE_CONTEXT_ON_RESET_ARB     0x8252
00107 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
00108 #define WGL_NO_RESET_NOTIFICATION_ARB     0x8261
00109 #endif /* WGL_ARB_create_context_robustness */
00110 
00111 #ifndef WGL_ARB_extensions_string
00112 #define WGL_ARB_extensions_string 1
00113 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
00114 #ifdef WGL_WGLEXT_PROTOTYPES
00115 const char *WINAPI wglGetExtensionsStringARB (HDC hdc);
00116 #endif
00117 #endif /* WGL_ARB_extensions_string */
00118 
00119 #ifndef WGL_ARB_framebuffer_sRGB
00120 #define WGL_ARB_framebuffer_sRGB 1
00121 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB  0x20A9
00122 #endif /* WGL_ARB_framebuffer_sRGB */
00123 
00124 #ifndef WGL_ARB_make_current_read
00125 #define WGL_ARB_make_current_read 1
00126 #define ERROR_INVALID_PIXEL_TYPE_ARB      0x2043
00127 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
00128 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00129 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void);
00130 #ifdef WGL_WGLEXT_PROTOTYPES
00131 BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00132 HDC WINAPI wglGetCurrentReadDCARB (void);
00133 #endif
00134 #endif /* WGL_ARB_make_current_read */
00135 
00136 #ifndef WGL_ARB_multisample
00137 #define WGL_ARB_multisample 1
00138 #define WGL_SAMPLE_BUFFERS_ARB            0x2041
00139 #define WGL_SAMPLES_ARB                   0x2042
00140 #endif /* WGL_ARB_multisample */
00141 
00142 #ifndef WGL_ARB_pbuffer
00143 #define WGL_ARB_pbuffer 1
00144 DECLARE_HANDLE(HPBUFFERARB);
00145 #define WGL_DRAW_TO_PBUFFER_ARB           0x202D
00146 #define WGL_MAX_PBUFFER_PIXELS_ARB        0x202E
00147 #define WGL_MAX_PBUFFER_WIDTH_ARB         0x202F
00148 #define WGL_MAX_PBUFFER_HEIGHT_ARB        0x2030
00149 #define WGL_PBUFFER_LARGEST_ARB           0x2033
00150 #define WGL_PBUFFER_WIDTH_ARB             0x2034
00151 #define WGL_PBUFFER_HEIGHT_ARB            0x2035
00152 #define WGL_PBUFFER_LOST_ARB              0x2036
00153 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
00154 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
00155 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
00156 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
00157 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
00158 #ifdef WGL_WGLEXT_PROTOTYPES
00159 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
00160 HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer);
00161 int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC);
00162 BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer);
00163 BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
00164 #endif
00165 #endif /* WGL_ARB_pbuffer */
00166 
00167 #ifndef WGL_ARB_pixel_format
00168 #define WGL_ARB_pixel_format 1
00169 #define WGL_NUMBER_PIXEL_FORMATS_ARB      0x2000
00170 #define WGL_DRAW_TO_WINDOW_ARB            0x2001
00171 #define WGL_DRAW_TO_BITMAP_ARB            0x2002
00172 #define WGL_ACCELERATION_ARB              0x2003
00173 #define WGL_NEED_PALETTE_ARB              0x2004
00174 #define WGL_NEED_SYSTEM_PALETTE_ARB       0x2005
00175 #define WGL_SWAP_LAYER_BUFFERS_ARB        0x2006
00176 #define WGL_SWAP_METHOD_ARB               0x2007
00177 #define WGL_NUMBER_OVERLAYS_ARB           0x2008
00178 #define WGL_NUMBER_UNDERLAYS_ARB          0x2009
00179 #define WGL_TRANSPARENT_ARB               0x200A
00180 #define WGL_TRANSPARENT_RED_VALUE_ARB     0x2037
00181 #define WGL_TRANSPARENT_GREEN_VALUE_ARB   0x2038
00182 #define WGL_TRANSPARENT_BLUE_VALUE_ARB    0x2039
00183 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB   0x203A
00184 #define WGL_TRANSPARENT_INDEX_VALUE_ARB   0x203B
00185 #define WGL_SHARE_DEPTH_ARB               0x200C
00186 #define WGL_SHARE_STENCIL_ARB             0x200D
00187 #define WGL_SHARE_ACCUM_ARB               0x200E
00188 #define WGL_SUPPORT_GDI_ARB               0x200F
00189 #define WGL_SUPPORT_OPENGL_ARB            0x2010
00190 #define WGL_DOUBLE_BUFFER_ARB             0x2011
00191 #define WGL_STEREO_ARB                    0x2012
00192 #define WGL_PIXEL_TYPE_ARB                0x2013
00193 #define WGL_COLOR_BITS_ARB                0x2014
00194 #define WGL_RED_BITS_ARB                  0x2015
00195 #define WGL_RED_SHIFT_ARB                 0x2016
00196 #define WGL_GREEN_BITS_ARB                0x2017
00197 #define WGL_GREEN_SHIFT_ARB               0x2018
00198 #define WGL_BLUE_BITS_ARB                 0x2019
00199 #define WGL_BLUE_SHIFT_ARB                0x201A
00200 #define WGL_ALPHA_BITS_ARB                0x201B
00201 #define WGL_ALPHA_SHIFT_ARB               0x201C
00202 #define WGL_ACCUM_BITS_ARB                0x201D
00203 #define WGL_ACCUM_RED_BITS_ARB            0x201E
00204 #define WGL_ACCUM_GREEN_BITS_ARB          0x201F
00205 #define WGL_ACCUM_BLUE_BITS_ARB           0x2020
00206 #define WGL_ACCUM_ALPHA_BITS_ARB          0x2021
00207 #define WGL_DEPTH_BITS_ARB                0x2022
00208 #define WGL_STENCIL_BITS_ARB              0x2023
00209 #define WGL_AUX_BUFFERS_ARB               0x2024
00210 #define WGL_NO_ACCELERATION_ARB           0x2025
00211 #define WGL_GENERIC_ACCELERATION_ARB      0x2026
00212 #define WGL_FULL_ACCELERATION_ARB         0x2027
00213 #define WGL_SWAP_EXCHANGE_ARB             0x2028
00214 #define WGL_SWAP_COPY_ARB                 0x2029
00215 #define WGL_SWAP_UNDEFINED_ARB            0x202A
00216 #define WGL_TYPE_RGBA_ARB                 0x202B
00217 #define WGL_TYPE_COLORINDEX_ARB           0x202C
00218 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
00219 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
00220 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00221 #ifdef WGL_WGLEXT_PROTOTYPES
00222 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
00223 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
00224 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00225 #endif
00226 #endif /* WGL_ARB_pixel_format */
00227 
00228 #ifndef WGL_ARB_pixel_format_float
00229 #define WGL_ARB_pixel_format_float 1
00230 #define WGL_TYPE_RGBA_FLOAT_ARB           0x21A0
00231 #endif /* WGL_ARB_pixel_format_float */
00232 
00233 #ifndef WGL_ARB_render_texture
00234 #define WGL_ARB_render_texture 1
00235 #define WGL_BIND_TO_TEXTURE_RGB_ARB       0x2070
00236 #define WGL_BIND_TO_TEXTURE_RGBA_ARB      0x2071
00237 #define WGL_TEXTURE_FORMAT_ARB            0x2072
00238 #define WGL_TEXTURE_TARGET_ARB            0x2073
00239 #define WGL_MIPMAP_TEXTURE_ARB            0x2074
00240 #define WGL_TEXTURE_RGB_ARB               0x2075
00241 #define WGL_TEXTURE_RGBA_ARB              0x2076
00242 #define WGL_NO_TEXTURE_ARB                0x2077
00243 #define WGL_TEXTURE_CUBE_MAP_ARB          0x2078
00244 #define WGL_TEXTURE_1D_ARB                0x2079
00245 #define WGL_TEXTURE_2D_ARB                0x207A
00246 #define WGL_MIPMAP_LEVEL_ARB              0x207B
00247 #define WGL_CUBE_MAP_FACE_ARB             0x207C
00248 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
00249 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
00250 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
00251 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
00252 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
00253 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
00254 #define WGL_FRONT_LEFT_ARB                0x2083
00255 #define WGL_FRONT_RIGHT_ARB               0x2084
00256 #define WGL_BACK_LEFT_ARB                 0x2085
00257 #define WGL_BACK_RIGHT_ARB                0x2086
00258 #define WGL_AUX0_ARB                      0x2087
00259 #define WGL_AUX1_ARB                      0x2088
00260 #define WGL_AUX2_ARB                      0x2089
00261 #define WGL_AUX3_ARB                      0x208A
00262 #define WGL_AUX4_ARB                      0x208B
00263 #define WGL_AUX5_ARB                      0x208C
00264 #define WGL_AUX6_ARB                      0x208D
00265 #define WGL_AUX7_ARB                      0x208E
00266 #define WGL_AUX8_ARB                      0x208F
00267 #define WGL_AUX9_ARB                      0x2090
00268 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00269 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00270 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList);
00271 #ifdef WGL_WGLEXT_PROTOTYPES
00272 BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer);
00273 BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer);
00274 BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribList);
00275 #endif
00276 #endif /* WGL_ARB_render_texture */
00277 
00278 #ifndef WGL_ARB_robustness_application_isolation
00279 #define WGL_ARB_robustness_application_isolation 1
00280 #define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
00281 #endif /* WGL_ARB_robustness_application_isolation */
00282 
00283 #ifndef WGL_ARB_robustness_share_group_isolation
00284 #define WGL_ARB_robustness_share_group_isolation 1
00285 #endif /* WGL_ARB_robustness_share_group_isolation */
00286 
00287 #ifndef WGL_3DFX_multisample
00288 #define WGL_3DFX_multisample 1
00289 #define WGL_SAMPLE_BUFFERS_3DFX           0x2060
00290 #define WGL_SAMPLES_3DFX                  0x2061
00291 #endif /* WGL_3DFX_multisample */
00292 
00293 #ifndef WGL_3DL_stereo_control
00294 #define WGL_3DL_stereo_control 1
00295 #define WGL_STEREO_EMITTER_ENABLE_3DL     0x2055
00296 #define WGL_STEREO_EMITTER_DISABLE_3DL    0x2056
00297 #define WGL_STEREO_POLARITY_NORMAL_3DL    0x2057
00298 #define WGL_STEREO_POLARITY_INVERT_3DL    0x2058
00299 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
00300 #ifdef WGL_WGLEXT_PROTOTYPES
00301 BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState);
00302 #endif
00303 #endif /* WGL_3DL_stereo_control */
00304 
00305 #ifndef WGL_AMD_gpu_association
00306 #define WGL_AMD_gpu_association 1
00307 #define WGL_GPU_VENDOR_AMD                0x1F00
00308 #define WGL_GPU_RENDERER_STRING_AMD       0x1F01
00309 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
00310 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD   0x21A2
00311 #define WGL_GPU_RAM_AMD                   0x21A3
00312 #define WGL_GPU_CLOCK_AMD                 0x21A4
00313 #define WGL_GPU_NUM_PIPES_AMD             0x21A5
00314 #define WGL_GPU_NUM_SIMD_AMD              0x21A6
00315 #define WGL_GPU_NUM_RB_AMD                0x21A7
00316 #define WGL_GPU_NUM_SPI_AMD               0x21A8
00317 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids);
00318 typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data);
00319 typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc);
00320 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id);
00321 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int *attribList);
00322 typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc);
00323 typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc);
00324 typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
00325 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);
00326 #ifdef WGL_WGLEXT_PROTOTYPES
00327 UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids);
00328 INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data);
00329 UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc);
00330 HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id);
00331 HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList);
00332 BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc);
00333 BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc);
00334 HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void);
00335 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);
00336 #endif
00337 #endif /* WGL_AMD_gpu_association */
00338 
00339 #ifndef WGL_ATI_pixel_format_float
00340 #define WGL_ATI_pixel_format_float 1
00341 #define WGL_TYPE_RGBA_FLOAT_ATI           0x21A0
00342 #endif /* WGL_ATI_pixel_format_float */
00343 
00344 #ifndef WGL_EXT_create_context_es2_profile
00345 #define WGL_EXT_create_context_es2_profile 1
00346 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT   0x00000004
00347 #endif /* WGL_EXT_create_context_es2_profile */
00348 
00349 #ifndef WGL_EXT_create_context_es_profile
00350 #define WGL_EXT_create_context_es_profile 1
00351 #define WGL_CONTEXT_ES_PROFILE_BIT_EXT    0x00000004
00352 #endif /* WGL_EXT_create_context_es_profile */
00353 
00354 #ifndef WGL_EXT_depth_float
00355 #define WGL_EXT_depth_float 1
00356 #define WGL_DEPTH_FLOAT_EXT               0x2040
00357 #endif /* WGL_EXT_depth_float */
00358 
00359 #ifndef WGL_EXT_display_color_table
00360 #define WGL_EXT_display_color_table 1
00361 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00362 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length);
00363 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00364 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00365 #ifdef WGL_WGLEXT_PROTOTYPES
00366 GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id);
00367 GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint length);
00368 GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id);
00369 VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id);
00370 #endif
00371 #endif /* WGL_EXT_display_color_table */
00372 
00373 #ifndef WGL_EXT_extensions_string
00374 #define WGL_EXT_extensions_string 1
00375 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
00376 #ifdef WGL_WGLEXT_PROTOTYPES
00377 const char *WINAPI wglGetExtensionsStringEXT (void);
00378 #endif
00379 #endif /* WGL_EXT_extensions_string */
00380 
00381 #ifndef WGL_EXT_framebuffer_sRGB
00382 #define WGL_EXT_framebuffer_sRGB 1
00383 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT  0x20A9
00384 #endif /* WGL_EXT_framebuffer_sRGB */
00385 
00386 #ifndef WGL_EXT_make_current_read
00387 #define WGL_EXT_make_current_read 1
00388 #define ERROR_INVALID_PIXEL_TYPE_EXT      0x2043
00389 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00390 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void);
00391 #ifdef WGL_WGLEXT_PROTOTYPES
00392 BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00393 HDC WINAPI wglGetCurrentReadDCEXT (void);
00394 #endif
00395 #endif /* WGL_EXT_make_current_read */
00396 
00397 #ifndef WGL_EXT_multisample
00398 #define WGL_EXT_multisample 1
00399 #define WGL_SAMPLE_BUFFERS_EXT            0x2041
00400 #define WGL_SAMPLES_EXT                   0x2042
00401 #endif /* WGL_EXT_multisample */
00402 
00403 #ifndef WGL_EXT_pbuffer
00404 #define WGL_EXT_pbuffer 1
00405 DECLARE_HANDLE(HPBUFFEREXT);
00406 #define WGL_DRAW_TO_PBUFFER_EXT           0x202D
00407 #define WGL_MAX_PBUFFER_PIXELS_EXT        0x202E
00408 #define WGL_MAX_PBUFFER_WIDTH_EXT         0x202F
00409 #define WGL_MAX_PBUFFER_HEIGHT_EXT        0x2030
00410 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT     0x2031
00411 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT    0x2032
00412 #define WGL_PBUFFER_LARGEST_EXT           0x2033
00413 #define WGL_PBUFFER_WIDTH_EXT             0x2034
00414 #define WGL_PBUFFER_HEIGHT_EXT            0x2035
00415 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
00416 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
00417 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
00418 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
00419 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
00420 #ifdef WGL_WGLEXT_PROTOTYPES
00421 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
00422 HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer);
00423 int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC);
00424 BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer);
00425 BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
00426 #endif
00427 #endif /* WGL_EXT_pbuffer */
00428 
00429 #ifndef WGL_EXT_pixel_format
00430 #define WGL_EXT_pixel_format 1
00431 #define WGL_NUMBER_PIXEL_FORMATS_EXT      0x2000
00432 #define WGL_DRAW_TO_WINDOW_EXT            0x2001
00433 #define WGL_DRAW_TO_BITMAP_EXT            0x2002
00434 #define WGL_ACCELERATION_EXT              0x2003
00435 #define WGL_NEED_PALETTE_EXT              0x2004
00436 #define WGL_NEED_SYSTEM_PALETTE_EXT       0x2005
00437 #define WGL_SWAP_LAYER_BUFFERS_EXT        0x2006
00438 #define WGL_SWAP_METHOD_EXT               0x2007
00439 #define WGL_NUMBER_OVERLAYS_EXT           0x2008
00440 #define WGL_NUMBER_UNDERLAYS_EXT          0x2009
00441 #define WGL_TRANSPARENT_EXT               0x200A
00442 #define WGL_TRANSPARENT_VALUE_EXT         0x200B
00443 #define WGL_SHARE_DEPTH_EXT               0x200C
00444 #define WGL_SHARE_STENCIL_EXT             0x200D
00445 #define WGL_SHARE_ACCUM_EXT               0x200E
00446 #define WGL_SUPPORT_GDI_EXT               0x200F
00447 #define WGL_SUPPORT_OPENGL_EXT            0x2010
00448 #define WGL_DOUBLE_BUFFER_EXT             0x2011
00449 #define WGL_STEREO_EXT                    0x2012
00450 #define WGL_PIXEL_TYPE_EXT                0x2013
00451 #define WGL_COLOR_BITS_EXT                0x2014
00452 #define WGL_RED_BITS_EXT                  0x2015
00453 #define WGL_RED_SHIFT_EXT                 0x2016
00454 #define WGL_GREEN_BITS_EXT                0x2017
00455 #define WGL_GREEN_SHIFT_EXT               0x2018
00456 #define WGL_BLUE_BITS_EXT                 0x2019
00457 #define WGL_BLUE_SHIFT_EXT                0x201A
00458 #define WGL_ALPHA_BITS_EXT                0x201B
00459 #define WGL_ALPHA_SHIFT_EXT               0x201C
00460 #define WGL_ACCUM_BITS_EXT                0x201D
00461 #define WGL_ACCUM_RED_BITS_EXT            0x201E
00462 #define WGL_ACCUM_GREEN_BITS_EXT          0x201F
00463 #define WGL_ACCUM_BLUE_BITS_EXT           0x2020
00464 #define WGL_ACCUM_ALPHA_BITS_EXT          0x2021
00465 #define WGL_DEPTH_BITS_EXT                0x2022
00466 #define WGL_STENCIL_BITS_EXT              0x2023
00467 #define WGL_AUX_BUFFERS_EXT               0x2024
00468 #define WGL_NO_ACCELERATION_EXT           0x2025
00469 #define WGL_GENERIC_ACCELERATION_EXT      0x2026
00470 #define WGL_FULL_ACCELERATION_EXT         0x2027
00471 #define WGL_SWAP_EXCHANGE_EXT             0x2028
00472 #define WGL_SWAP_COPY_EXT                 0x2029
00473 #define WGL_SWAP_UNDEFINED_EXT            0x202A
00474 #define WGL_TYPE_RGBA_EXT                 0x202B
00475 #define WGL_TYPE_COLORINDEX_EXT           0x202C
00476 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
00477 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
00478 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00479 #ifdef WGL_WGLEXT_PROTOTYPES
00480 BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
00481 BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
00482 BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00483 #endif
00484 #endif /* WGL_EXT_pixel_format */
00485 
00486 #ifndef WGL_EXT_pixel_format_packed_float
00487 #define WGL_EXT_pixel_format_packed_float 1
00488 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT  0x20A8
00489 #endif /* WGL_EXT_pixel_format_packed_float */
00490 
00491 #ifndef WGL_EXT_swap_control
00492 #define WGL_EXT_swap_control 1
00493 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
00494 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
00495 #ifdef WGL_WGLEXT_PROTOTYPES
00496 BOOL WINAPI wglSwapIntervalEXT (int interval);
00497 int WINAPI wglGetSwapIntervalEXT (void);
00498 #endif
00499 #endif /* WGL_EXT_swap_control */
00500 
00501 #ifndef WGL_EXT_swap_control_tear
00502 #define WGL_EXT_swap_control_tear 1
00503 #endif /* WGL_EXT_swap_control_tear */
00504 
00505 #ifndef WGL_I3D_digital_video_control
00506 #define WGL_I3D_digital_video_control 1
00507 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
00508 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
00509 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
00510 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
00511 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
00512 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
00513 #ifdef WGL_WGLEXT_PROTOTYPES
00514 BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piValue);
00515 BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int *piValue);
00516 #endif
00517 #endif /* WGL_I3D_digital_video_control */
00518 
00519 #ifndef WGL_I3D_gamma
00520 #define WGL_I3D_gamma 1
00521 #define WGL_GAMMA_TABLE_SIZE_I3D          0x204E
00522 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D     0x204F
00523 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue);
00524 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue);
00525 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
00526 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
00527 #ifdef WGL_WGLEXT_PROTOTYPES
00528 BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue);
00529 BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *piValue);
00530 BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue);
00531 BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue);
00532 #endif
00533 #endif /* WGL_I3D_gamma */
00534 
00535 #ifndef WGL_I3D_genlock
00536 #define WGL_I3D_genlock 1
00537 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D  0x2044
00538 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
00539 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
00540 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
00541 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
00542 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
00543 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
00544 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
00545 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D  0x204C
00546 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
00547 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
00548 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag);
00549 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
00550 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource);
00551 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
00552 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge);
00553 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
00554 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate);
00555 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
00556 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay);
00557 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
00558 #ifdef WGL_WGLEXT_PROTOTYPES
00559 BOOL WINAPI wglEnableGenlockI3D (HDC hDC);
00560 BOOL WINAPI wglDisableGenlockI3D (HDC hDC);
00561 BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag);
00562 BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource);
00563 BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource);
00564 BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge);
00565 BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge);
00566 BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate);
00567 BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate);
00568 BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay);
00569 BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay);
00570 BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay);
00571 #endif
00572 #endif /* WGL_I3D_genlock */
00573 
00574 #ifndef WGL_I3D_image_buffer
00575 #define WGL_I3D_image_buffer 1
00576 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D   0x00000001
00577 #define WGL_IMAGE_BUFFER_LOCK_I3D         0x00000002
00578 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
00579 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
00580 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
00581 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count);
00582 #ifdef WGL_WGLEXT_PROTOTYPES
00583 LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags);
00584 BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress);
00585 BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count);
00586 BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UINT count);
00587 #endif
00588 #endif /* WGL_I3D_image_buffer */
00589 
00590 #ifndef WGL_I3D_swap_frame_lock
00591 #define WGL_I3D_swap_frame_lock 1
00592 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void);
00593 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void);
00594 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag);
00595 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag);
00596 #ifdef WGL_WGLEXT_PROTOTYPES
00597 BOOL WINAPI wglEnableFrameLockI3D (void);
00598 BOOL WINAPI wglDisableFrameLockI3D (void);
00599 BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag);
00600 BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag);
00601 #endif
00602 #endif /* WGL_I3D_swap_frame_lock */
00603 
00604 #ifndef WGL_I3D_swap_frame_usage
00605 #define WGL_I3D_swap_frame_usage 1
00606 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage);
00607 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
00608 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
00609 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
00610 #ifdef WGL_WGLEXT_PROTOTYPES
00611 BOOL WINAPI wglGetFrameUsageI3D (float *pUsage);
00612 BOOL WINAPI wglBeginFrameTrackingI3D (void);
00613 BOOL WINAPI wglEndFrameTrackingI3D (void);
00614 BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
00615 #endif
00616 #endif /* WGL_I3D_swap_frame_usage */
00617 
00618 #ifndef WGL_NV_DX_interop
00619 #define WGL_NV_DX_interop 1
00620 #define WGL_ACCESS_READ_ONLY_NV           0x00000000
00621 #define WGL_ACCESS_READ_WRITE_NV          0x00000001
00622 #define WGL_ACCESS_WRITE_DISCARD_NV       0x00000002
00623 typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void *dxObject, HANDLE shareHandle);
00624 typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void *dxDevice);
00625 typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
00626 typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access);
00627 typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject);
00628 typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access);
00629 typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects);
00630 typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects);
00631 #ifdef WGL_WGLEXT_PROTOTYPES
00632 BOOL WINAPI wglDXSetResourceShareHandleNV (void *dxObject, HANDLE shareHandle);
00633 HANDLE WINAPI wglDXOpenDeviceNV (void *dxDevice);
00634 BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice);
00635 HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access);
00636 BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject);
00637 BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access);
00638 BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects);
00639 BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects);
00640 #endif
00641 #endif /* WGL_NV_DX_interop */
00642 
00643 #ifndef WGL_NV_DX_interop2
00644 #define WGL_NV_DX_interop2 1
00645 #endif /* WGL_NV_DX_interop2 */
00646 
00647 #ifndef WGL_NV_copy_image
00648 #define WGL_NV_copy_image 1
00649 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);
00650 #ifdef WGL_WGLEXT_PROTOTYPES
00651 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);
00652 #endif
00653 #endif /* WGL_NV_copy_image */
00654 
00655 #ifndef WGL_NV_delay_before_swap
00656 #define WGL_NV_delay_before_swap 1
00657 typedef BOOL (WINAPI * PFNWGLDELAYBEFORESWAPNVPROC) (HDC hDC, GLfloat seconds);
00658 #ifdef WGL_WGLEXT_PROTOTYPES
00659 BOOL WINAPI wglDelayBeforeSwapNV (HDC hDC, GLfloat seconds);
00660 #endif
00661 #endif /* WGL_NV_delay_before_swap */
00662 
00663 #ifndef WGL_NV_float_buffer
00664 #define WGL_NV_float_buffer 1
00665 #define WGL_FLOAT_COMPONENTS_NV           0x20B0
00666 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
00667 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
00668 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
00669 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
00670 #define WGL_TEXTURE_FLOAT_R_NV            0x20B5
00671 #define WGL_TEXTURE_FLOAT_RG_NV           0x20B6
00672 #define WGL_TEXTURE_FLOAT_RGB_NV          0x20B7
00673 #define WGL_TEXTURE_FLOAT_RGBA_NV         0x20B8
00674 #endif /* WGL_NV_float_buffer */
00675 
00676 #ifndef WGL_NV_gpu_affinity
00677 #define WGL_NV_gpu_affinity 1
00678 DECLARE_HANDLE(HGPUNV);
00679 struct _GPU_DEVICE {
00680     DWORD  cb;
00681     CHAR   DeviceName[32];
00682     CHAR   DeviceString[128];
00683     DWORD  Flags;
00684     RECT   rcVirtualScreen;
00685 };
00686 typedef struct _GPU_DEVICE *PGPU_DEVICE;
00687 #define ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
00688 #define ERROR_MISSING_AFFINITY_MASK_NV    0x20D1
00689 typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
00690 typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
00691 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
00692 typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
00693 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc);
00694 #ifdef WGL_WGLEXT_PROTOTYPES
00695 BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu);
00696 BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
00697 HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList);
00698 BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
00699 BOOL WINAPI wglDeleteDCNV (HDC hdc);
00700 #endif
00701 #endif /* WGL_NV_gpu_affinity */
00702 
00703 #ifndef WGL_NV_multisample_coverage
00704 #define WGL_NV_multisample_coverage 1
00705 #define WGL_COVERAGE_SAMPLES_NV           0x2042
00706 #define WGL_COLOR_SAMPLES_NV              0x20B9
00707 #endif /* WGL_NV_multisample_coverage */
00708 
00709 #ifndef WGL_NV_present_video
00710 #define WGL_NV_present_video 1
00711 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
00712 #define WGL_NUM_VIDEO_SLOTS_NV            0x20F0
00713 typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList);
00714 typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList);
00715 typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue);
00716 #ifdef WGL_WGLEXT_PROTOTYPES
00717 int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList);
00718 BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList);
00719 BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue);
00720 #endif
00721 #endif /* WGL_NV_present_video */
00722 
00723 #ifndef WGL_NV_render_depth_texture
00724 #define WGL_NV_render_depth_texture 1
00725 #define WGL_BIND_TO_TEXTURE_DEPTH_NV      0x20A3
00726 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
00727 #define WGL_DEPTH_TEXTURE_FORMAT_NV       0x20A5
00728 #define WGL_TEXTURE_DEPTH_COMPONENT_NV    0x20A6
00729 #define WGL_DEPTH_COMPONENT_NV            0x20A7
00730 #endif /* WGL_NV_render_depth_texture */
00731 
00732 #ifndef WGL_NV_render_texture_rectangle
00733 #define WGL_NV_render_texture_rectangle 1
00734 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
00735 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
00736 #define WGL_TEXTURE_RECTANGLE_NV          0x20A2
00737 #endif /* WGL_NV_render_texture_rectangle */
00738 
00739 #ifndef WGL_NV_swap_group
00740 #define WGL_NV_swap_group 1
00741 typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group);
00742 typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier);
00743 typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLuint *barrier);
00744 typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers);
00745 typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count);
00746 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC);
00747 #ifdef WGL_WGLEXT_PROTOTYPES
00748 BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group);
00749 BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier);
00750 BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier);
00751 BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers);
00752 BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count);
00753 BOOL WINAPI wglResetFrameCountNV (HDC hDC);
00754 #endif
00755 #endif /* WGL_NV_swap_group */
00756 
00757 #ifndef WGL_NV_vertex_array_range
00758 #define WGL_NV_vertex_array_range 1
00759 typedef void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
00760 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
00761 #ifdef WGL_WGLEXT_PROTOTYPES
00762 void *WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
00763 void WINAPI wglFreeMemoryNV (void *pointer);
00764 #endif
00765 #endif /* WGL_NV_vertex_array_range */
00766 
00767 #ifndef WGL_NV_video_capture
00768 #define WGL_NV_video_capture 1
00769 DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
00770 #define WGL_UNIQUE_ID_NV                  0x20CE
00771 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV    0x20CF
00772 typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
00773 typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList);
00774 typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
00775 typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue);
00776 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
00777 #ifdef WGL_WGLEXT_PROTOTYPES
00778 BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
00779 UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList);
00780 BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
00781 BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue);
00782 BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
00783 #endif
00784 #endif /* WGL_NV_video_capture */
00785 
00786 #ifndef WGL_NV_video_output
00787 #define WGL_NV_video_output 1
00788 DECLARE_HANDLE(HPVIDEODEV);
00789 #define WGL_BIND_TO_VIDEO_RGB_NV          0x20C0
00790 #define WGL_BIND_TO_VIDEO_RGBA_NV         0x20C1
00791 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
00792 #define WGL_VIDEO_OUT_COLOR_NV            0x20C3
00793 #define WGL_VIDEO_OUT_ALPHA_NV            0x20C4
00794 #define WGL_VIDEO_OUT_DEPTH_NV            0x20C5
00795 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV  0x20C6
00796 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV  0x20C7
00797 #define WGL_VIDEO_OUT_FRAME               0x20C8
00798 #define WGL_VIDEO_OUT_FIELD_1             0x20C9
00799 #define WGL_VIDEO_OUT_FIELD_2             0x20CA
00800 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2  0x20CB
00801 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1  0x20CC
00802 typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice);
00803 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
00804 typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
00805 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
00806 typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock);
00807 typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
00808 #ifdef WGL_WGLEXT_PROTOTYPES
00809 BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice);
00810 BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice);
00811 BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
00812 BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer);
00813 BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock);
00814 BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
00815 #endif
00816 #endif /* WGL_NV_video_output */
00817 
00818 #ifndef WGL_OML_sync_control
00819 #define WGL_OML_sync_control 1
00820 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc);
00821 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator);
00822 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
00823 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
00824 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc);
00825 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
00826 #ifdef WGL_WGLEXT_PROTOTYPES
00827 BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc);
00828 BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator);
00829 INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
00830 INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
00831 BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc);
00832 BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc);
00833 #endif
00834 #endif /* WGL_OML_sync_control */
00835 
00836 #ifdef __cplusplus
00837 }
00838 #endif
00839 
00840 #endif


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:39