Equalizer  1.4.1
wglew.h
00001 /*
00002 ** The OpenGL Extension Wrangler Library
00003 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
00004 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
00005 ** Copyright (C) 2002, Lev Povalahev
00006 ** All rights reserved.
00007 ** 
00008 ** Redistribution and use in source and binary forms, with or without 
00009 ** modification, are permitted provided that the following conditions are met:
00010 ** 
00011 ** * Redistributions of source code must retain the above copyright notice, 
00012 **   this list of conditions and the following disclaimer.
00013 ** * Redistributions in binary form must reproduce the above copyright notice, 
00014 **   this list of conditions and the following disclaimer in the documentation 
00015 **   and/or other materials provided with the distribution.
00016 ** * The name of the author may be used to endorse or promote products 
00017 **   derived from this software without specific prior written permission.
00018 **
00019 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
00020 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
00021 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00022 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
00023 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
00024 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
00025 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00026 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00027 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00028 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
00029 ** THE POSSIBILITY OF SUCH DAMAGE.
00030 */
00031 
00032 /*
00033 ** Copyright (c) 2007 The Khronos Group Inc.
00034 ** 
00035 ** Permission is hereby granted, free of charge, to any person obtaining a
00036 ** copy of this software and/or associated documentation files (the
00037 ** "Materials"), to deal in the Materials without restriction, including
00038 ** without limitation the rights to use, copy, modify, merge, publish,
00039 ** distribute, sublicense, and/or sell copies of the Materials, and to
00040 ** permit persons to whom the Materials are furnished to do so, subject to
00041 ** the following conditions:
00042 ** 
00043 ** The above copyright notice and this permission notice shall be included
00044 ** in all copies or substantial portions of the Materials.
00045 ** 
00046 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00047 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00048 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00049 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00050 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00051 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00052 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
00053 */
00054 
00055 #ifndef __wglew_h__
00056 #define __wglew_h__
00057 #define __WGLEW_H__
00058 
00059 #ifdef __wglext_h_
00060 #error wglext.h included before wglew.h
00061 #endif
00062 
00063 #define __wglext_h_
00064 
00065 #if !defined(WINAPI)
00066 #  ifndef WIN32_LEAN_AND_MEAN
00067 #    define WIN32_LEAN_AND_MEAN 1
00068 #  endif
00069 #include <windows.h>
00070 #  undef WIN32_LEAN_AND_MEAN
00071 #endif
00072 
00073 /*
00074  * GLEW_STATIC needs to be set when using the static version.
00075  * GLEW_BUILD is set when building the DLL version.
00076  */
00077 #ifdef GLEW_STATIC
00078 #  define GLEWAPI extern
00079 #else
00080 #  ifdef GLEW_BUILD
00081 #    define GLEWAPI extern __declspec(dllexport)
00082 #  else
00083 #    define GLEWAPI extern __declspec(dllimport)
00084 #  endif
00085 #endif
00086 
00087 #ifdef __cplusplus
00088 extern "C" {
00089 #endif
00090 
00091 /* -------------------------- WGL_3DFX_multisample ------------------------- */
00092 
00093 #ifndef WGL_3DFX_multisample
00094 #define WGL_3DFX_multisample 1
00095 
00096 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060
00097 #define WGL_SAMPLES_3DFX 0x2061
00098 
00099 #define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample)
00100 
00101 #endif /* WGL_3DFX_multisample */
00102 
00103 /* ------------------------- WGL_3DL_stereo_control ------------------------ */
00104 
00105 #ifndef WGL_3DL_stereo_control
00106 #define WGL_3DL_stereo_control 1
00107 
00108 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
00109 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
00110 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
00111 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
00112 
00113 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
00114 
00115 #define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL)
00116 
00117 #define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control)
00118 
00119 #endif /* WGL_3DL_stereo_control */
00120 
00121 /* ------------------------ WGL_AMD_gpu_association ------------------------ */
00122 
00123 #ifndef WGL_AMD_gpu_association
00124 #define WGL_AMD_gpu_association 1
00125 
00126 #define WGL_GPU_VENDOR_AMD 0x1F00
00127 #define WGL_GPU_RENDERER_STRING_AMD 0x1F01
00128 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
00129 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
00130 #define WGL_GPU_RAM_AMD 0x21A3
00131 #define WGL_GPU_CLOCK_AMD 0x21A4
00132 #define WGL_GPU_NUM_PIPES_AMD 0x21A5
00133 #define WGL_GPU_NUM_SIMD_AMD 0x21A6
00134 #define WGL_GPU_NUM_RB_AMD 0x21A7
00135 #define WGL_GPU_NUM_SPI_AMD 0x21A8
00136 
00137 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);
00138 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id);
00139 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int* attribList);
00140 typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc);
00141 typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc);
00142 typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
00143 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT* ids);
00144 typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void* data);
00145 typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc);
00146 
00147 #define wglBlitContextFramebufferAMD WGLEW_GET_FUN(__wglewBlitContextFramebufferAMD)
00148 #define wglCreateAssociatedContextAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAMD)
00149 #define wglCreateAssociatedContextAttribsAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAttribsAMD)
00150 #define wglDeleteAssociatedContextAMD WGLEW_GET_FUN(__wglewDeleteAssociatedContextAMD)
00151 #define wglGetContextGPUIDAMD WGLEW_GET_FUN(__wglewGetContextGPUIDAMD)
00152 #define wglGetCurrentAssociatedContextAMD WGLEW_GET_FUN(__wglewGetCurrentAssociatedContextAMD)
00153 #define wglGetGPUIDsAMD WGLEW_GET_FUN(__wglewGetGPUIDsAMD)
00154 #define wglGetGPUInfoAMD WGLEW_GET_FUN(__wglewGetGPUInfoAMD)
00155 #define wglMakeAssociatedContextCurrentAMD WGLEW_GET_FUN(__wglewMakeAssociatedContextCurrentAMD)
00156 
00157 #define WGLEW_AMD_gpu_association WGLEW_GET_VAR(__WGLEW_AMD_gpu_association)
00158 
00159 #endif /* WGL_AMD_gpu_association */
00160 
00161 /* ------------------------- WGL_ARB_buffer_region ------------------------- */
00162 
00163 #ifndef WGL_ARB_buffer_region
00164 #define WGL_ARB_buffer_region 1
00165 
00166 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
00167 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
00168 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
00169 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
00170 
00171 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
00172 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
00173 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
00174 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
00175 
00176 #define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB)
00177 #define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB)
00178 #define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB)
00179 #define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB)
00180 
00181 #define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region)
00182 
00183 #endif /* WGL_ARB_buffer_region */
00184 
00185 /* ------------------------- WGL_ARB_create_context ------------------------ */
00186 
00187 #ifndef WGL_ARB_create_context
00188 #define WGL_ARB_create_context 1
00189 
00190 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
00191 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
00192 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
00193 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
00194 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
00195 #define WGL_CONTEXT_FLAGS_ARB 0x2094
00196 #define ERROR_INVALID_VERSION_ARB 0x2095
00197 #define ERROR_INVALID_PROFILE_ARB 0x2096
00198 
00199 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList);
00200 
00201 #define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB)
00202 
00203 #define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context)
00204 
00205 #endif /* WGL_ARB_create_context */
00206 
00207 /* --------------------- WGL_ARB_create_context_profile -------------------- */
00208 
00209 #ifndef WGL_ARB_create_context_profile
00210 #define WGL_ARB_create_context_profile 1
00211 
00212 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
00213 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
00214 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
00215 
00216 #define WGLEW_ARB_create_context_profile WGLEW_GET_VAR(__WGLEW_ARB_create_context_profile)
00217 
00218 #endif /* WGL_ARB_create_context_profile */
00219 
00220 /* ------------------- WGL_ARB_create_context_robustness ------------------- */
00221 
00222 #ifndef WGL_ARB_create_context_robustness
00223 #define WGL_ARB_create_context_robustness 1
00224 
00225 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
00226 #define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
00227 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
00228 #define WGL_NO_RESET_NOTIFICATION_ARB 0x8261
00229 
00230 #define WGLEW_ARB_create_context_robustness WGLEW_GET_VAR(__WGLEW_ARB_create_context_robustness)
00231 
00232 #endif /* WGL_ARB_create_context_robustness */
00233 
00234 /* ----------------------- WGL_ARB_extensions_string ----------------------- */
00235 
00236 #ifndef WGL_ARB_extensions_string
00237 #define WGL_ARB_extensions_string 1
00238 
00239 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
00240 
00241 #define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB)
00242 
00243 #define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string)
00244 
00245 #endif /* WGL_ARB_extensions_string */
00246 
00247 /* ------------------------ WGL_ARB_framebuffer_sRGB ----------------------- */
00248 
00249 #ifndef WGL_ARB_framebuffer_sRGB
00250 #define WGL_ARB_framebuffer_sRGB 1
00251 
00252 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
00253 
00254 #define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB)
00255 
00256 #endif /* WGL_ARB_framebuffer_sRGB */
00257 
00258 /* ----------------------- WGL_ARB_make_current_read ----------------------- */
00259 
00260 #ifndef WGL_ARB_make_current_read
00261 #define WGL_ARB_make_current_read 1
00262 
00263 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
00264 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
00265 
00266 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID);
00267 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00268 
00269 #define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB)
00270 #define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB)
00271 
00272 #define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read)
00273 
00274 #endif /* WGL_ARB_make_current_read */
00275 
00276 /* -------------------------- WGL_ARB_multisample -------------------------- */
00277 
00278 #ifndef WGL_ARB_multisample
00279 #define WGL_ARB_multisample 1
00280 
00281 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
00282 #define WGL_SAMPLES_ARB 0x2042
00283 
00284 #define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample)
00285 
00286 #endif /* WGL_ARB_multisample */
00287 
00288 /* ---------------------------- WGL_ARB_pbuffer ---------------------------- */
00289 
00290 #ifndef WGL_ARB_pbuffer
00291 #define WGL_ARB_pbuffer 1
00292 
00293 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
00294 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
00295 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
00296 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
00297 #define WGL_PBUFFER_LARGEST_ARB 0x2033
00298 #define WGL_PBUFFER_WIDTH_ARB 0x2034
00299 #define WGL_PBUFFER_HEIGHT_ARB 0x2035
00300 #define WGL_PBUFFER_LOST_ARB 0x2036
00301 
00302 DECLARE_HANDLE(HPBUFFERARB);
00303 
00304 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
00305 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
00306 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
00307 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue);
00308 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
00309 
00310 #define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB)
00311 #define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB)
00312 #define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB)
00313 #define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB)
00314 #define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB)
00315 
00316 #define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer)
00317 
00318 #endif /* WGL_ARB_pbuffer */
00319 
00320 /* -------------------------- WGL_ARB_pixel_format ------------------------- */
00321 
00322 #ifndef WGL_ARB_pixel_format
00323 #define WGL_ARB_pixel_format 1
00324 
00325 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
00326 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
00327 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
00328 #define WGL_ACCELERATION_ARB 0x2003
00329 #define WGL_NEED_PALETTE_ARB 0x2004
00330 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
00331 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
00332 #define WGL_SWAP_METHOD_ARB 0x2007
00333 #define WGL_NUMBER_OVERLAYS_ARB 0x2008
00334 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
00335 #define WGL_TRANSPARENT_ARB 0x200A
00336 #define WGL_SHARE_DEPTH_ARB 0x200C
00337 #define WGL_SHARE_STENCIL_ARB 0x200D
00338 #define WGL_SHARE_ACCUM_ARB 0x200E
00339 #define WGL_SUPPORT_GDI_ARB 0x200F
00340 #define WGL_SUPPORT_OPENGL_ARB 0x2010
00341 #define WGL_DOUBLE_BUFFER_ARB 0x2011
00342 #define WGL_STEREO_ARB 0x2012
00343 #define WGL_PIXEL_TYPE_ARB 0x2013
00344 #define WGL_COLOR_BITS_ARB 0x2014
00345 #define WGL_RED_BITS_ARB 0x2015
00346 #define WGL_RED_SHIFT_ARB 0x2016
00347 #define WGL_GREEN_BITS_ARB 0x2017
00348 #define WGL_GREEN_SHIFT_ARB 0x2018
00349 #define WGL_BLUE_BITS_ARB 0x2019
00350 #define WGL_BLUE_SHIFT_ARB 0x201A
00351 #define WGL_ALPHA_BITS_ARB 0x201B
00352 #define WGL_ALPHA_SHIFT_ARB 0x201C
00353 #define WGL_ACCUM_BITS_ARB 0x201D
00354 #define WGL_ACCUM_RED_BITS_ARB 0x201E
00355 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
00356 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
00357 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
00358 #define WGL_DEPTH_BITS_ARB 0x2022
00359 #define WGL_STENCIL_BITS_ARB 0x2023
00360 #define WGL_AUX_BUFFERS_ARB 0x2024
00361 #define WGL_NO_ACCELERATION_ARB 0x2025
00362 #define WGL_GENERIC_ACCELERATION_ARB 0x2026
00363 #define WGL_FULL_ACCELERATION_ARB 0x2027
00364 #define WGL_SWAP_EXCHANGE_ARB 0x2028
00365 #define WGL_SWAP_COPY_ARB 0x2029
00366 #define WGL_SWAP_UNDEFINED_ARB 0x202A
00367 #define WGL_TYPE_RGBA_ARB 0x202B
00368 #define WGL_TYPE_COLORINDEX_ARB 0x202C
00369 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
00370 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
00371 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
00372 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
00373 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
00374 
00375 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00376 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues);
00377 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues);
00378 
00379 #define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB)
00380 #define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB)
00381 #define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB)
00382 
00383 #define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format)
00384 
00385 #endif /* WGL_ARB_pixel_format */
00386 
00387 /* ----------------------- WGL_ARB_pixel_format_float ---------------------- */
00388 
00389 #ifndef WGL_ARB_pixel_format_float
00390 #define WGL_ARB_pixel_format_float 1
00391 
00392 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
00393 
00394 #define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float)
00395 
00396 #endif /* WGL_ARB_pixel_format_float */
00397 
00398 /* ------------------------- WGL_ARB_render_texture ------------------------ */
00399 
00400 #ifndef WGL_ARB_render_texture
00401 #define WGL_ARB_render_texture 1
00402 
00403 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
00404 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
00405 #define WGL_TEXTURE_FORMAT_ARB 0x2072
00406 #define WGL_TEXTURE_TARGET_ARB 0x2073
00407 #define WGL_MIPMAP_TEXTURE_ARB 0x2074
00408 #define WGL_TEXTURE_RGB_ARB 0x2075
00409 #define WGL_TEXTURE_RGBA_ARB 0x2076
00410 #define WGL_NO_TEXTURE_ARB 0x2077
00411 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
00412 #define WGL_TEXTURE_1D_ARB 0x2079
00413 #define WGL_TEXTURE_2D_ARB 0x207A
00414 #define WGL_MIPMAP_LEVEL_ARB 0x207B
00415 #define WGL_CUBE_MAP_FACE_ARB 0x207C
00416 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
00417 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
00418 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
00419 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
00420 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
00421 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
00422 #define WGL_FRONT_LEFT_ARB 0x2083
00423 #define WGL_FRONT_RIGHT_ARB 0x2084
00424 #define WGL_BACK_LEFT_ARB 0x2085
00425 #define WGL_BACK_RIGHT_ARB 0x2086
00426 #define WGL_AUX0_ARB 0x2087
00427 #define WGL_AUX1_ARB 0x2088
00428 #define WGL_AUX2_ARB 0x2089
00429 #define WGL_AUX3_ARB 0x208A
00430 #define WGL_AUX4_ARB 0x208B
00431 #define WGL_AUX5_ARB 0x208C
00432 #define WGL_AUX6_ARB 0x208D
00433 #define WGL_AUX7_ARB 0x208E
00434 #define WGL_AUX8_ARB 0x208F
00435 #define WGL_AUX9_ARB 0x2090
00436 
00437 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00438 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
00439 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList);
00440 
00441 #define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB)
00442 #define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB)
00443 #define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB)
00444 
00445 #define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture)
00446 
00447 #endif /* WGL_ARB_render_texture */
00448 
00449 /* ----------------------- WGL_ATI_pixel_format_float ---------------------- */
00450 
00451 #ifndef WGL_ATI_pixel_format_float
00452 #define WGL_ATI_pixel_format_float 1
00453 
00454 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
00455 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
00456 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
00457 
00458 #define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float)
00459 
00460 #endif /* WGL_ATI_pixel_format_float */
00461 
00462 /* -------------------- WGL_ATI_render_texture_rectangle ------------------- */
00463 
00464 #ifndef WGL_ATI_render_texture_rectangle
00465 #define WGL_ATI_render_texture_rectangle 1
00466 
00467 #define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
00468 
00469 #define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle)
00470 
00471 #endif /* WGL_ATI_render_texture_rectangle */
00472 
00473 /* ------------------- WGL_EXT_create_context_es2_profile ------------------ */
00474 
00475 #ifndef WGL_EXT_create_context_es2_profile
00476 #define WGL_EXT_create_context_es2_profile 1
00477 
00478 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
00479 
00480 #define WGLEW_EXT_create_context_es2_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es2_profile)
00481 
00482 #endif /* WGL_EXT_create_context_es2_profile */
00483 
00484 /* -------------------------- WGL_EXT_depth_float -------------------------- */
00485 
00486 #ifndef WGL_EXT_depth_float
00487 #define WGL_EXT_depth_float 1
00488 
00489 #define WGL_DEPTH_FLOAT_EXT 0x2040
00490 
00491 #define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float)
00492 
00493 #endif /* WGL_EXT_depth_float */
00494 
00495 /* ---------------------- WGL_EXT_display_color_table ---------------------- */
00496 
00497 #ifndef WGL_EXT_display_color_table
00498 #define WGL_EXT_display_color_table 1
00499 
00500 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00501 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00502 typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
00503 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length);
00504 
00505 #define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT)
00506 #define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT)
00507 #define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT)
00508 #define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT)
00509 
00510 #define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table)
00511 
00512 #endif /* WGL_EXT_display_color_table */
00513 
00514 /* ----------------------- WGL_EXT_extensions_string ----------------------- */
00515 
00516 #ifndef WGL_EXT_extensions_string
00517 #define WGL_EXT_extensions_string 1
00518 
00519 typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
00520 
00521 #define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT)
00522 
00523 #define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string)
00524 
00525 #endif /* WGL_EXT_extensions_string */
00526 
00527 /* ------------------------ WGL_EXT_framebuffer_sRGB ----------------------- */
00528 
00529 #ifndef WGL_EXT_framebuffer_sRGB
00530 #define WGL_EXT_framebuffer_sRGB 1
00531 
00532 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
00533 
00534 #define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB)
00535 
00536 #endif /* WGL_EXT_framebuffer_sRGB */
00537 
00538 /* ----------------------- WGL_EXT_make_current_read ----------------------- */
00539 
00540 #ifndef WGL_EXT_make_current_read
00541 #define WGL_EXT_make_current_read 1
00542 
00543 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
00544 
00545 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID);
00546 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
00547 
00548 #define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT)
00549 #define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT)
00550 
00551 #define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read)
00552 
00553 #endif /* WGL_EXT_make_current_read */
00554 
00555 /* -------------------------- WGL_EXT_multisample -------------------------- */
00556 
00557 #ifndef WGL_EXT_multisample
00558 #define WGL_EXT_multisample 1
00559 
00560 #define WGL_SAMPLE_BUFFERS_EXT 0x2041
00561 #define WGL_SAMPLES_EXT 0x2042
00562 
00563 #define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample)
00564 
00565 #endif /* WGL_EXT_multisample */
00566 
00567 /* ---------------------------- WGL_EXT_pbuffer ---------------------------- */
00568 
00569 #ifndef WGL_EXT_pbuffer
00570 #define WGL_EXT_pbuffer 1
00571 
00572 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D
00573 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
00574 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
00575 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
00576 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
00577 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
00578 #define WGL_PBUFFER_LARGEST_EXT 0x2033
00579 #define WGL_PBUFFER_WIDTH_EXT 0x2034
00580 #define WGL_PBUFFER_HEIGHT_EXT 0x2035
00581 
00582 DECLARE_HANDLE(HPBUFFEREXT);
00583 
00584 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
00585 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
00586 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
00587 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue);
00588 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
00589 
00590 #define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT)
00591 #define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT)
00592 #define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT)
00593 #define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT)
00594 #define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT)
00595 
00596 #define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer)
00597 
00598 #endif /* WGL_EXT_pbuffer */
00599 
00600 /* -------------------------- WGL_EXT_pixel_format ------------------------- */
00601 
00602 #ifndef WGL_EXT_pixel_format
00603 #define WGL_EXT_pixel_format 1
00604 
00605 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
00606 #define WGL_DRAW_TO_WINDOW_EXT 0x2001
00607 #define WGL_DRAW_TO_BITMAP_EXT 0x2002
00608 #define WGL_ACCELERATION_EXT 0x2003
00609 #define WGL_NEED_PALETTE_EXT 0x2004
00610 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
00611 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
00612 #define WGL_SWAP_METHOD_EXT 0x2007
00613 #define WGL_NUMBER_OVERLAYS_EXT 0x2008
00614 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009
00615 #define WGL_TRANSPARENT_EXT 0x200A
00616 #define WGL_TRANSPARENT_VALUE_EXT 0x200B
00617 #define WGL_SHARE_DEPTH_EXT 0x200C
00618 #define WGL_SHARE_STENCIL_EXT 0x200D
00619 #define WGL_SHARE_ACCUM_EXT 0x200E
00620 #define WGL_SUPPORT_GDI_EXT 0x200F
00621 #define WGL_SUPPORT_OPENGL_EXT 0x2010
00622 #define WGL_DOUBLE_BUFFER_EXT 0x2011
00623 #define WGL_STEREO_EXT 0x2012
00624 #define WGL_PIXEL_TYPE_EXT 0x2013
00625 #define WGL_COLOR_BITS_EXT 0x2014
00626 #define WGL_RED_BITS_EXT 0x2015
00627 #define WGL_RED_SHIFT_EXT 0x2016
00628 #define WGL_GREEN_BITS_EXT 0x2017
00629 #define WGL_GREEN_SHIFT_EXT 0x2018
00630 #define WGL_BLUE_BITS_EXT 0x2019
00631 #define WGL_BLUE_SHIFT_EXT 0x201A
00632 #define WGL_ALPHA_BITS_EXT 0x201B
00633 #define WGL_ALPHA_SHIFT_EXT 0x201C
00634 #define WGL_ACCUM_BITS_EXT 0x201D
00635 #define WGL_ACCUM_RED_BITS_EXT 0x201E
00636 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F
00637 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020
00638 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
00639 #define WGL_DEPTH_BITS_EXT 0x2022
00640 #define WGL_STENCIL_BITS_EXT 0x2023
00641 #define WGL_AUX_BUFFERS_EXT 0x2024
00642 #define WGL_NO_ACCELERATION_EXT 0x2025
00643 #define WGL_GENERIC_ACCELERATION_EXT 0x2026
00644 #define WGL_FULL_ACCELERATION_EXT 0x2027
00645 #define WGL_SWAP_EXCHANGE_EXT 0x2028
00646 #define WGL_SWAP_COPY_EXT 0x2029
00647 #define WGL_SWAP_UNDEFINED_EXT 0x202A
00648 #define WGL_TYPE_RGBA_EXT 0x202B
00649 #define WGL_TYPE_COLORINDEX_EXT 0x202C
00650 
00651 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
00652 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues);
00653 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues);
00654 
00655 #define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT)
00656 #define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT)
00657 #define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT)
00658 
00659 #define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format)
00660 
00661 #endif /* WGL_EXT_pixel_format */
00662 
00663 /* ------------------- WGL_EXT_pixel_format_packed_float ------------------- */
00664 
00665 #ifndef WGL_EXT_pixel_format_packed_float
00666 #define WGL_EXT_pixel_format_packed_float 1
00667 
00668 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
00669 
00670 #define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float)
00671 
00672 #endif /* WGL_EXT_pixel_format_packed_float */
00673 
00674 /* -------------------------- WGL_EXT_swap_control ------------------------- */
00675 
00676 #ifndef WGL_EXT_swap_control
00677 #define WGL_EXT_swap_control 1
00678 
00679 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
00680 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
00681 
00682 #define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT)
00683 #define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT)
00684 
00685 #define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control)
00686 
00687 #endif /* WGL_EXT_swap_control */
00688 
00689 /* --------------------- WGL_I3D_digital_video_control --------------------- */
00690 
00691 #ifndef WGL_I3D_digital_video_control
00692 #define WGL_I3D_digital_video_control 1
00693 
00694 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
00695 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
00696 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
00697 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
00698 
00699 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
00700 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
00701 
00702 #define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D)
00703 #define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D)
00704 
00705 #define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control)
00706 
00707 #endif /* WGL_I3D_digital_video_control */
00708 
00709 /* ----------------------------- WGL_I3D_gamma ----------------------------- */
00710 
00711 #ifndef WGL_I3D_gamma
00712 #define WGL_I3D_gamma 1
00713 
00714 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
00715 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
00716 
00717 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue);
00718 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
00719 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue);
00720 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
00721 
00722 #define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D)
00723 #define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D)
00724 #define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D)
00725 #define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D)
00726 
00727 #define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma)
00728 
00729 #endif /* WGL_I3D_gamma */
00730 
00731 /* ---------------------------- WGL_I3D_genlock ---------------------------- */
00732 
00733 #ifndef WGL_I3D_genlock
00734 #define WGL_I3D_genlock 1
00735 
00736 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
00737 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
00738 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
00739 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
00740 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
00741 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
00742 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
00743 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
00744 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
00745 
00746 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
00747 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
00748 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
00749 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
00750 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
00751 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
00752 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate);
00753 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay);
00754 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge);
00755 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource);
00756 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag);
00757 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay);
00758 
00759 #define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D)
00760 #define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D)
00761 #define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D)
00762 #define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D)
00763 #define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D)
00764 #define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D)
00765 #define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D)
00766 #define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D)
00767 #define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D)
00768 #define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D)
00769 #define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D)
00770 #define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D)
00771 
00772 #define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock)
00773 
00774 #endif /* WGL_I3D_genlock */
00775 
00776 /* -------------------------- WGL_I3D_image_buffer ------------------------- */
00777 
00778 #ifndef WGL_I3D_image_buffer
00779 #define WGL_I3D_image_buffer 1
00780 
00781 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
00782 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
00783 
00784 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count);
00785 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
00786 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
00787 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count);
00788 
00789 #define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D)
00790 #define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D)
00791 #define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D)
00792 #define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D)
00793 
00794 #define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer)
00795 
00796 #endif /* WGL_I3D_image_buffer */
00797 
00798 /* ------------------------ WGL_I3D_swap_frame_lock ------------------------ */
00799 
00800 #ifndef WGL_I3D_swap_frame_lock
00801 #define WGL_I3D_swap_frame_lock 1
00802 
00803 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID);
00804 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID);
00805 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag);
00806 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag);
00807 
00808 #define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D)
00809 #define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D)
00810 #define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D)
00811 #define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D)
00812 
00813 #define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock)
00814 
00815 #endif /* WGL_I3D_swap_frame_lock */
00816 
00817 /* ------------------------ WGL_I3D_swap_frame_usage ----------------------- */
00818 
00819 #ifndef WGL_I3D_swap_frame_usage
00820 #define WGL_I3D_swap_frame_usage 1
00821 
00822 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
00823 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
00824 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage);
00825 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
00826 
00827 #define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D)
00828 #define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D)
00829 #define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D)
00830 #define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D)
00831 
00832 #define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage)
00833 
00834 #endif /* WGL_I3D_swap_frame_usage */
00835 
00836 /* --------------------------- WGL_NV_DX_interop --------------------------- */
00837 
00838 #ifndef WGL_NV_DX_interop
00839 #define WGL_NV_DX_interop 1
00840 
00841 #define WGL_ACCESS_READ_ONLY_NV 0x0000
00842 #define WGL_ACCESS_READ_WRITE_NV 0x0001
00843 #define WGL_ACCESS_WRITE_DISCARD_NV 0x0002
00844 
00845 typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
00846 typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
00847 typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access);
00848 typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void* dxDevice);
00849 typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void* dxObject, GLuint name, GLenum type, GLenum access);
00850 typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void* dxObject, HANDLE shareHandle);
00851 typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
00852 typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject);
00853 
00854 #define wglDXCloseDeviceNV WGLEW_GET_FUN(__wglewDXCloseDeviceNV)
00855 #define wglDXLockObjectsNV WGLEW_GET_FUN(__wglewDXLockObjectsNV)
00856 #define wglDXObjectAccessNV WGLEW_GET_FUN(__wglewDXObjectAccessNV)
00857 #define wglDXOpenDeviceNV WGLEW_GET_FUN(__wglewDXOpenDeviceNV)
00858 #define wglDXRegisterObjectNV WGLEW_GET_FUN(__wglewDXRegisterObjectNV)
00859 #define wglDXSetResourceShareHandleNV WGLEW_GET_FUN(__wglewDXSetResourceShareHandleNV)
00860 #define wglDXUnlockObjectsNV WGLEW_GET_FUN(__wglewDXUnlockObjectsNV)
00861 #define wglDXUnregisterObjectNV WGLEW_GET_FUN(__wglewDXUnregisterObjectNV)
00862 
00863 #define WGLEW_NV_DX_interop WGLEW_GET_VAR(__WGLEW_NV_DX_interop)
00864 
00865 #endif /* WGL_NV_DX_interop */
00866 
00867 /* --------------------------- WGL_NV_copy_image --------------------------- */
00868 
00869 #ifndef WGL_NV_copy_image
00870 #define WGL_NV_copy_image 1
00871 
00872 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);
00873 
00874 #define wglCopyImageSubDataNV WGLEW_GET_FUN(__wglewCopyImageSubDataNV)
00875 
00876 #define WGLEW_NV_copy_image WGLEW_GET_VAR(__WGLEW_NV_copy_image)
00877 
00878 #endif /* WGL_NV_copy_image */
00879 
00880 /* -------------------------- WGL_NV_float_buffer -------------------------- */
00881 
00882 #ifndef WGL_NV_float_buffer
00883 #define WGL_NV_float_buffer 1
00884 
00885 #define WGL_FLOAT_COMPONENTS_NV 0x20B0
00886 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
00887 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
00888 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
00889 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
00890 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
00891 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
00892 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
00893 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
00894 
00895 #define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer)
00896 
00897 #endif /* WGL_NV_float_buffer */
00898 
00899 /* -------------------------- WGL_NV_gpu_affinity -------------------------- */
00900 
00901 #ifndef WGL_NV_gpu_affinity
00902 #define WGL_NV_gpu_affinity 1
00903 
00904 #define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
00905 #define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
00906 
00907 DECLARE_HANDLE(HGPUNV);
00908 typedef struct _GPU_DEVICE {
00909   DWORD cb; 
00910   CHAR DeviceName[32]; 
00911   CHAR DeviceString[128]; 
00912   DWORD Flags; 
00913   RECT rcVirtualScreen; 
00914 } GPU_DEVICE, *PGPU_DEVICE;
00915 
00916 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
00917 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc);
00918 typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
00919 typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
00920 typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
00921 
00922 #define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV)
00923 #define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV)
00924 #define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV)
00925 #define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV)
00926 #define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV)
00927 
00928 #define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity)
00929 
00930 #endif /* WGL_NV_gpu_affinity */
00931 
00932 /* ---------------------- WGL_NV_multisample_coverage ---------------------- */
00933 
00934 #ifndef WGL_NV_multisample_coverage
00935 #define WGL_NV_multisample_coverage 1
00936 
00937 #define WGL_COVERAGE_SAMPLES_NV 0x2042
00938 #define WGL_COLOR_SAMPLES_NV 0x20B9
00939 
00940 #define WGLEW_NV_multisample_coverage WGLEW_GET_VAR(__WGLEW_NV_multisample_coverage)
00941 
00942 #endif /* WGL_NV_multisample_coverage */
00943 
00944 /* -------------------------- WGL_NV_present_video ------------------------- */
00945 
00946 #ifndef WGL_NV_present_video
00947 #define WGL_NV_present_video 1
00948 
00949 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
00950 
00951 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
00952 
00953 typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList);
00954 typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList);
00955 typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int* piValue);
00956 
00957 #define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV)
00958 #define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV)
00959 #define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV)
00960 
00961 #define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video)
00962 
00963 #endif /* WGL_NV_present_video */
00964 
00965 /* ---------------------- WGL_NV_render_depth_texture ---------------------- */
00966 
00967 #ifndef WGL_NV_render_depth_texture
00968 #define WGL_NV_render_depth_texture 1
00969 
00970 #define WGL_NO_TEXTURE_ARB 0x2077
00971 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
00972 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
00973 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
00974 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
00975 #define WGL_DEPTH_COMPONENT_NV 0x20A7
00976 
00977 #define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture)
00978 
00979 #endif /* WGL_NV_render_depth_texture */
00980 
00981 /* -------------------- WGL_NV_render_texture_rectangle -------------------- */
00982 
00983 #ifndef WGL_NV_render_texture_rectangle
00984 #define WGL_NV_render_texture_rectangle 1
00985 
00986 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
00987 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
00988 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
00989 
00990 #define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle)
00991 
00992 #endif /* WGL_NV_render_texture_rectangle */
00993 
00994 /* --------------------------- WGL_NV_swap_group --------------------------- */
00995 
00996 #ifndef WGL_NV_swap_group
00997 #define WGL_NV_swap_group 1
00998 
00999 typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier);
01000 typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group);
01001 typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint* count);
01002 typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers);
01003 typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint* group, GLuint *barrier);
01004 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC);
01005 
01006 #define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV)
01007 #define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV)
01008 #define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV)
01009 #define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV)
01010 #define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV)
01011 #define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV)
01012 
01013 #define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group)
01014 
01015 #endif /* WGL_NV_swap_group */
01016 
01017 /* ----------------------- WGL_NV_vertex_array_range ----------------------- */
01018 
01019 #ifndef WGL_NV_vertex_array_range
01020 #define WGL_NV_vertex_array_range 1
01021 
01022 typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
01023 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
01024 
01025 #define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV)
01026 #define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV)
01027 
01028 #define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range)
01029 
01030 #endif /* WGL_NV_vertex_array_range */
01031 
01032 /* -------------------------- WGL_NV_video_capture ------------------------- */
01033 
01034 #ifndef WGL_NV_video_capture
01035 #define WGL_NV_video_capture 1
01036 
01037 #define WGL_UNIQUE_ID_NV 0x20CE
01038 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
01039 
01040 DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
01041 
01042 typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
01043 typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV* phDeviceList);
01044 typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
01045 typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int* piValue);
01046 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
01047 
01048 #define wglBindVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewBindVideoCaptureDeviceNV)
01049 #define wglEnumerateVideoCaptureDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoCaptureDevicesNV)
01050 #define wglLockVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewLockVideoCaptureDeviceNV)
01051 #define wglQueryVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewQueryVideoCaptureDeviceNV)
01052 #define wglReleaseVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoCaptureDeviceNV)
01053 
01054 #define WGLEW_NV_video_capture WGLEW_GET_VAR(__WGLEW_NV_video_capture)
01055 
01056 #endif /* WGL_NV_video_capture */
01057 
01058 /* -------------------------- WGL_NV_video_output -------------------------- */
01059 
01060 #ifndef WGL_NV_video_output
01061 #define WGL_NV_video_output 1
01062 
01063 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
01064 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
01065 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
01066 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3
01067 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
01068 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
01069 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
01070 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
01071 #define WGL_VIDEO_OUT_FRAME 0x20C8
01072 #define WGL_VIDEO_OUT_FIELD_1 0x20C9
01073 #define WGL_VIDEO_OUT_FIELD_2 0x20CA
01074 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
01075 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
01076 
01077 DECLARE_HANDLE(HPVIDEODEV);
01078 
01079 typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
01080 typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice);
01081 typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
01082 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
01083 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
01084 typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock);
01085 
01086 #define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV)
01087 #define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV)
01088 #define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV)
01089 #define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV)
01090 #define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV)
01091 #define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV)
01092 
01093 #define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output)
01094 
01095 #endif /* WGL_NV_video_output */
01096 
01097 /* -------------------------- WGL_OML_sync_control ------------------------- */
01098 
01099 #ifndef WGL_OML_sync_control
01100 #define WGL_OML_sync_control 1
01101 
01102 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator);
01103 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc);
01104 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
01105 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
01106 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc);
01107 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc);
01108 
01109 #define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML)
01110 #define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML)
01111 #define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML)
01112 #define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML)
01113 #define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML)
01114 #define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML)
01115 
01116 #define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control)
01117 
01118 #endif /* WGL_OML_sync_control */
01119 
01120 /* ------------------------------------------------------------------------- */
01121 
01122 #ifdef GLEW_MX
01123 #define WGLEW_EXPORT
01124 #else
01125 #define WGLEW_EXPORT GLEWAPI
01126 #endif /* GLEW_MX */
01127 
01128 #ifdef GLEW_MX
01129 struct WGLEWContextStruct
01130 {
01131 #endif /* GLEW_MX */
01132 
01133 WGLEW_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL;
01134 
01135 WGLEW_EXPORT PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD;
01136 WGLEW_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD;
01137 WGLEW_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD;
01138 WGLEW_EXPORT PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD;
01139 WGLEW_EXPORT PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD;
01140 WGLEW_EXPORT PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD;
01141 WGLEW_EXPORT PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD;
01142 WGLEW_EXPORT PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD;
01143 WGLEW_EXPORT PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD;
01144 
01145 WGLEW_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB;
01146 WGLEW_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB;
01147 WGLEW_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB;
01148 WGLEW_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB;
01149 
01150 WGLEW_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB;
01151 
01152 WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB;
01153 
01154 WGLEW_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB;
01155 WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB;
01156 
01157 WGLEW_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB;
01158 WGLEW_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB;
01159 WGLEW_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB;
01160 WGLEW_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB;
01161 WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB;
01162 
01163 WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB;
01164 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB;
01165 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB;
01166 
01167 WGLEW_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB;
01168 WGLEW_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB;
01169 WGLEW_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB;
01170 
01171 WGLEW_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT;
01172 WGLEW_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT;
01173 WGLEW_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT;
01174 WGLEW_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT;
01175 
01176 WGLEW_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT;
01177 
01178 WGLEW_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT;
01179 WGLEW_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT;
01180 
01181 WGLEW_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT;
01182 WGLEW_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT;
01183 WGLEW_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT;
01184 WGLEW_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT;
01185 WGLEW_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT;
01186 
01187 WGLEW_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT;
01188 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT;
01189 WGLEW_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT;
01190 
01191 WGLEW_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT;
01192 WGLEW_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT;
01193 
01194 WGLEW_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D;
01195 WGLEW_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D;
01196 
01197 WGLEW_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D;
01198 WGLEW_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D;
01199 WGLEW_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D;
01200 WGLEW_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D;
01201 
01202 WGLEW_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D;
01203 WGLEW_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D;
01204 WGLEW_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D;
01205 WGLEW_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D;
01206 WGLEW_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D;
01207 WGLEW_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D;
01208 WGLEW_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D;
01209 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D;
01210 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D;
01211 WGLEW_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D;
01212 WGLEW_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D;
01213 WGLEW_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D;
01214 
01215 WGLEW_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D;
01216 WGLEW_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D;
01217 WGLEW_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D;
01218 WGLEW_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D;
01219 
01220 WGLEW_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D;
01221 WGLEW_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D;
01222 WGLEW_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D;
01223 WGLEW_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D;
01224 
01225 WGLEW_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D;
01226 WGLEW_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D;
01227 WGLEW_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D;
01228 WGLEW_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D;
01229 
01230 WGLEW_EXPORT PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV;
01231 WGLEW_EXPORT PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV;
01232 WGLEW_EXPORT PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV;
01233 WGLEW_EXPORT PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV;
01234 WGLEW_EXPORT PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV;
01235 WGLEW_EXPORT PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV;
01236 WGLEW_EXPORT PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV;
01237 WGLEW_EXPORT PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV;
01238 
01239 WGLEW_EXPORT PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV;
01240 
01241 WGLEW_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV;
01242 WGLEW_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV;
01243 WGLEW_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV;
01244 WGLEW_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV;
01245 WGLEW_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV;
01246 
01247 WGLEW_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV;
01248 WGLEW_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV;
01249 WGLEW_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV;
01250 
01251 WGLEW_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV;
01252 WGLEW_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV;
01253 WGLEW_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV;
01254 WGLEW_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV;
01255 WGLEW_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV;
01256 WGLEW_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV;
01257 
01258 WGLEW_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV;
01259 WGLEW_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV;
01260 
01261 WGLEW_EXPORT PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV;
01262 WGLEW_EXPORT PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV;
01263 WGLEW_EXPORT PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV;
01264 WGLEW_EXPORT PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV;
01265 WGLEW_EXPORT PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV;
01266 
01267 WGLEW_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV;
01268 WGLEW_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV;
01269 WGLEW_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV;
01270 WGLEW_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV;
01271 WGLEW_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV;
01272 WGLEW_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV;
01273 
01274 WGLEW_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML;
01275 WGLEW_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML;
01276 WGLEW_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML;
01277 WGLEW_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML;
01278 WGLEW_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML;
01279 WGLEW_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML;
01280 WGLEW_EXPORT GLboolean __WGLEW_3DFX_multisample;
01281 WGLEW_EXPORT GLboolean __WGLEW_3DL_stereo_control;
01282 WGLEW_EXPORT GLboolean __WGLEW_AMD_gpu_association;
01283 WGLEW_EXPORT GLboolean __WGLEW_ARB_buffer_region;
01284 WGLEW_EXPORT GLboolean __WGLEW_ARB_create_context;
01285 WGLEW_EXPORT GLboolean __WGLEW_ARB_create_context_profile;
01286 WGLEW_EXPORT GLboolean __WGLEW_ARB_create_context_robustness;
01287 WGLEW_EXPORT GLboolean __WGLEW_ARB_extensions_string;
01288 WGLEW_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB;
01289 WGLEW_EXPORT GLboolean __WGLEW_ARB_make_current_read;
01290 WGLEW_EXPORT GLboolean __WGLEW_ARB_multisample;
01291 WGLEW_EXPORT GLboolean __WGLEW_ARB_pbuffer;
01292 WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format;
01293 WGLEW_EXPORT GLboolean __WGLEW_ARB_pixel_format_float;
01294 WGLEW_EXPORT GLboolean __WGLEW_ARB_render_texture;
01295 WGLEW_EXPORT GLboolean __WGLEW_ATI_pixel_format_float;
01296 WGLEW_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle;
01297 WGLEW_EXPORT GLboolean __WGLEW_EXT_create_context_es2_profile;
01298 WGLEW_EXPORT GLboolean __WGLEW_EXT_depth_float;
01299 WGLEW_EXPORT GLboolean __WGLEW_EXT_display_color_table;
01300 WGLEW_EXPORT GLboolean __WGLEW_EXT_extensions_string;
01301 WGLEW_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB;
01302 WGLEW_EXPORT GLboolean __WGLEW_EXT_make_current_read;
01303 WGLEW_EXPORT GLboolean __WGLEW_EXT_multisample;
01304 WGLEW_EXPORT GLboolean __WGLEW_EXT_pbuffer;
01305 WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format;
01306 WGLEW_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float;
01307 WGLEW_EXPORT GLboolean __WGLEW_EXT_swap_control;
01308 WGLEW_EXPORT GLboolean __WGLEW_I3D_digital_video_control;
01309 WGLEW_EXPORT GLboolean __WGLEW_I3D_gamma;
01310 WGLEW_EXPORT GLboolean __WGLEW_I3D_genlock;
01311 WGLEW_EXPORT GLboolean __WGLEW_I3D_image_buffer;
01312 WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock;
01313 WGLEW_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage;
01314 WGLEW_EXPORT GLboolean __WGLEW_NV_DX_interop;
01315 WGLEW_EXPORT GLboolean __WGLEW_NV_copy_image;
01316 WGLEW_EXPORT GLboolean __WGLEW_NV_float_buffer;
01317 WGLEW_EXPORT GLboolean __WGLEW_NV_gpu_affinity;
01318 WGLEW_EXPORT GLboolean __WGLEW_NV_multisample_coverage;
01319 WGLEW_EXPORT GLboolean __WGLEW_NV_present_video;
01320 WGLEW_EXPORT GLboolean __WGLEW_NV_render_depth_texture;
01321 WGLEW_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle;
01322 WGLEW_EXPORT GLboolean __WGLEW_NV_swap_group;
01323 WGLEW_EXPORT GLboolean __WGLEW_NV_vertex_array_range;
01324 WGLEW_EXPORT GLboolean __WGLEW_NV_video_capture;
01325 WGLEW_EXPORT GLboolean __WGLEW_NV_video_output;
01326 WGLEW_EXPORT GLboolean __WGLEW_OML_sync_control;
01327 
01328 #ifdef GLEW_MX
01329 }; /* WGLEWContextStruct */
01330 #endif /* GLEW_MX */
01331 
01332 /* ------------------------------------------------------------------------- */
01333 
01334 #ifdef GLEW_MX
01335 
01336 typedef struct WGLEWContextStruct WGLEWContext;
01337 GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx);
01338 GLEWAPI GLboolean wglewContextIsSupported (const WGLEWContext* ctx, const char* name);
01339 
01340 #define wglewInit() wglewContextInit(wglewGetContext())
01341 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
01342 
01343 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
01344 #define WGLEW_GET_FUN(x) wglewGetContext()->x
01345 
01346 #else /* GLEW_MX */
01347 
01348 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
01349 #define WGLEW_GET_FUN(x) x
01350 
01351 GLEWAPI GLboolean wglewIsSupported (const char* name);
01352 
01353 #endif /* GLEW_MX */
01354 
01355 GLEWAPI GLboolean wglewGetExtension (const char* name);
01356 
01357 #ifdef __cplusplus
01358 }
01359 #endif
01360 
01361 #undef GLEWAPI
01362 
01363 #endif /* __wglew_h__ */
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1