OLD | NEW |
(Empty) | |
| 1 #ifndef __wglext_h_ |
| 2 #define __wglext_h_ 1 |
| 3 |
| 4 #ifdef __cplusplus |
| 5 extern "C" { |
| 6 #endif |
| 7 |
| 8 /* |
| 9 ** Copyright (c) 2013-2014 The Khronos Group Inc. |
| 10 ** |
| 11 ** Permission is hereby granted, free of charge, to any person obtaining a |
| 12 ** copy of this software and/or associated documentation files (the |
| 13 ** "Materials"), to deal in the Materials without restriction, including |
| 14 ** without limitation the rights to use, copy, modify, merge, publish, |
| 15 ** distribute, sublicense, and/or sell copies of the Materials, and to |
| 16 ** permit persons to whom the Materials are furnished to do so, subject to |
| 17 ** the following conditions: |
| 18 ** |
| 19 ** The above copyright notice and this permission notice shall be included |
| 20 ** in all copies or substantial portions of the Materials. |
| 21 ** |
| 22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. |
| 29 */ |
| 30 /* |
| 31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML |
| 32 ** API Registry. The current version of the Registry, generator scripts |
| 33 ** used to make the header, and the header can be found at |
| 34 ** http://www.opengl.org/registry/ |
| 35 ** |
| 36 ** Khronos $Revision: 27684 $ on $Date: 2014-08-11 01:21:35 -0700 (Mon, 11 Aug 2
014) $ |
| 37 */ |
| 38 |
| 39 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__
SCITECH_SNAP__) |
| 40 #define WIN32_LEAN_AND_MEAN 1 |
| 41 #include <windows.h> |
| 42 #endif |
| 43 |
| 44 #define WGL_WGLEXT_VERSION 20140810 |
| 45 |
| 46 /* Generated C header for: |
| 47 * API: wgl |
| 48 * Versions considered: .* |
| 49 * Versions emitted: _nomatch_^ |
| 50 * Default extensions included: wgl |
| 51 * Additional extensions included: _nomatch_^ |
| 52 * Extensions removed: _nomatch_^ |
| 53 */ |
| 54 |
| 55 #ifndef WGL_ARB_buffer_region |
| 56 #define WGL_ARB_buffer_region 1 |
| 57 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 |
| 58 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 |
| 59 #define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 |
| 60 #define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 |
| 61 typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPl
ane, UINT uType); |
| 62 typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); |
| 63 typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, in
t y, int width, int height); |
| 64 typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x,
int y, int width, int height, int xSrc, int ySrc); |
| 65 #ifdef WGL_WGLEXT_PROTOTYPES |
| 66 HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType); |
| 67 VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion); |
| 68 BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int
height); |
| 69 BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width,
int height, int xSrc, int ySrc); |
| 70 #endif |
| 71 #endif /* WGL_ARB_buffer_region */ |
| 72 |
| 73 #ifndef WGL_ARB_context_flush_control |
| 74 #define WGL_ARB_context_flush_control 1 |
| 75 #define WGL_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 |
| 76 #define WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0 |
| 77 #define WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 |
| 78 #endif /* WGL_ARB_context_flush_control */ |
| 79 |
| 80 #ifndef WGL_ARB_create_context |
| 81 #define WGL_ARB_create_context 1 |
| 82 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 |
| 83 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 |
| 84 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 |
| 85 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 |
| 86 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 |
| 87 #define WGL_CONTEXT_FLAGS_ARB 0x2094 |
| 88 #define ERROR_INVALID_VERSION_ARB 0x2095 |
| 89 typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShar
eContext, const int *attribList); |
| 90 #ifdef WGL_WGLEXT_PROTOTYPES |
| 91 HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int
*attribList); |
| 92 #endif |
| 93 #endif /* WGL_ARB_create_context */ |
| 94 |
| 95 #ifndef WGL_ARB_create_context_profile |
| 96 #define WGL_ARB_create_context_profile 1 |
| 97 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 |
| 98 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 |
| 99 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 |
| 100 #define ERROR_INVALID_PROFILE_ARB 0x2096 |
| 101 #endif /* WGL_ARB_create_context_profile */ |
| 102 |
| 103 #ifndef WGL_ARB_create_context_robustness |
| 104 #define WGL_ARB_create_context_robustness 1 |
| 105 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 |
| 106 #define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
| 107 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
| 108 #define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 |
| 109 #endif /* WGL_ARB_create_context_robustness */ |
| 110 |
| 111 #ifndef WGL_ARB_extensions_string |
| 112 #define WGL_ARB_extensions_string 1 |
| 113 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); |
| 114 #ifdef WGL_WGLEXT_PROTOTYPES |
| 115 const char *WINAPI wglGetExtensionsStringARB (HDC hdc); |
| 116 #endif |
| 117 #endif /* WGL_ARB_extensions_string */ |
| 118 |
| 119 #ifndef WGL_ARB_framebuffer_sRGB |
| 120 #define WGL_ARB_framebuffer_sRGB 1 |
| 121 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 |
| 122 #endif /* WGL_ARB_framebuffer_sRGB */ |
| 123 |
| 124 #ifndef WGL_ARB_make_current_read |
| 125 #define WGL_ARB_make_current_read 1 |
| 126 #define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 |
| 127 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 |
| 128 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadD
C, HGLRC hglrc); |
| 129 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void); |
| 130 #ifdef WGL_WGLEXT_PROTOTYPES |
| 131 BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); |
| 132 HDC WINAPI wglGetCurrentReadDCARB (void); |
| 133 #endif |
| 134 #endif /* WGL_ARB_make_current_read */ |
| 135 |
| 136 #ifndef WGL_ARB_multisample |
| 137 #define WGL_ARB_multisample 1 |
| 138 #define WGL_SAMPLE_BUFFERS_ARB 0x2041 |
| 139 #define WGL_SAMPLES_ARB 0x2042 |
| 140 #endif /* WGL_ARB_multisample */ |
| 141 |
| 142 #ifndef WGL_ARB_pbuffer |
| 143 #define WGL_ARB_pbuffer 1 |
| 144 DECLARE_HANDLE(HPBUFFERARB); |
| 145 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D |
| 146 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E |
| 147 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F |
| 148 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 |
| 149 #define WGL_PBUFFER_LARGEST_ARB 0x2033 |
| 150 #define WGL_PBUFFER_WIDTH_ARB 0x2034 |
| 151 #define WGL_PBUFFER_HEIGHT_ARB 0x2035 |
| 152 #define WGL_PBUFFER_LOST_ARB 0x2036 |
| 153 typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFo
rmat, int iWidth, int iHeight, const int *piAttribList); |
| 154 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); |
| 155 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC
hDC); |
| 156 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); |
| 157 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAt
tribute, int *piValue); |
| 158 #ifdef WGL_WGLEXT_PROTOTYPES |
| 159 HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, i
nt iHeight, const int *piAttribList); |
| 160 HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer); |
| 161 int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC); |
| 162 BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer); |
| 163 BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piVal
ue); |
| 164 #endif |
| 165 #endif /* WGL_ARB_pbuffer */ |
| 166 |
| 167 #ifndef WGL_ARB_pixel_format |
| 168 #define WGL_ARB_pixel_format 1 |
| 169 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 |
| 170 #define WGL_DRAW_TO_WINDOW_ARB 0x2001 |
| 171 #define WGL_DRAW_TO_BITMAP_ARB 0x2002 |
| 172 #define WGL_ACCELERATION_ARB 0x2003 |
| 173 #define WGL_NEED_PALETTE_ARB 0x2004 |
| 174 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 |
| 175 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 |
| 176 #define WGL_SWAP_METHOD_ARB 0x2007 |
| 177 #define WGL_NUMBER_OVERLAYS_ARB 0x2008 |
| 178 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009 |
| 179 #define WGL_TRANSPARENT_ARB 0x200A |
| 180 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 |
| 181 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 |
| 182 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 |
| 183 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A |
| 184 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B |
| 185 #define WGL_SHARE_DEPTH_ARB 0x200C |
| 186 #define WGL_SHARE_STENCIL_ARB 0x200D |
| 187 #define WGL_SHARE_ACCUM_ARB 0x200E |
| 188 #define WGL_SUPPORT_GDI_ARB 0x200F |
| 189 #define WGL_SUPPORT_OPENGL_ARB 0x2010 |
| 190 #define WGL_DOUBLE_BUFFER_ARB 0x2011 |
| 191 #define WGL_STEREO_ARB 0x2012 |
| 192 #define WGL_PIXEL_TYPE_ARB 0x2013 |
| 193 #define WGL_COLOR_BITS_ARB 0x2014 |
| 194 #define WGL_RED_BITS_ARB 0x2015 |
| 195 #define WGL_RED_SHIFT_ARB 0x2016 |
| 196 #define WGL_GREEN_BITS_ARB 0x2017 |
| 197 #define WGL_GREEN_SHIFT_ARB 0x2018 |
| 198 #define WGL_BLUE_BITS_ARB 0x2019 |
| 199 #define WGL_BLUE_SHIFT_ARB 0x201A |
| 200 #define WGL_ALPHA_BITS_ARB 0x201B |
| 201 #define WGL_ALPHA_SHIFT_ARB 0x201C |
| 202 #define WGL_ACCUM_BITS_ARB 0x201D |
| 203 #define WGL_ACCUM_RED_BITS_ARB 0x201E |
| 204 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F |
| 205 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020 |
| 206 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 |
| 207 #define WGL_DEPTH_BITS_ARB 0x2022 |
| 208 #define WGL_STENCIL_BITS_ARB 0x2023 |
| 209 #define WGL_AUX_BUFFERS_ARB 0x2024 |
| 210 #define WGL_NO_ACCELERATION_ARB 0x2025 |
| 211 #define WGL_GENERIC_ACCELERATION_ARB 0x2026 |
| 212 #define WGL_FULL_ACCELERATION_ARB 0x2027 |
| 213 #define WGL_SWAP_EXCHANGE_ARB 0x2028 |
| 214 #define WGL_SWAP_COPY_ARB 0x2029 |
| 215 #define WGL_SWAP_UNDEFINED_ARB 0x202A |
| 216 #define WGL_TYPE_RGBA_ARB 0x202B |
| 217 #define WGL_TYPE_COLORINDEX_ARB 0x202C |
| 218 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValue
s); |
| 219 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfVal
ues); |
| 220 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAt
tribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *n
NumFormats); |
| 221 #ifdef WGL_WGLEXT_PROTOTYPES |
| 222 BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerP
lane, UINT nAttributes, const int *piAttributes, int *piValues); |
| 223 BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerP
lane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); |
| 224 BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FL
OAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); |
| 225 #endif |
| 226 #endif /* WGL_ARB_pixel_format */ |
| 227 |
| 228 #ifndef WGL_ARB_pixel_format_float |
| 229 #define WGL_ARB_pixel_format_float 1 |
| 230 #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 |
| 231 #endif /* WGL_ARB_pixel_format_float */ |
| 232 |
| 233 #ifndef WGL_ARB_render_texture |
| 234 #define WGL_ARB_render_texture 1 |
| 235 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 |
| 236 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 |
| 237 #define WGL_TEXTURE_FORMAT_ARB 0x2072 |
| 238 #define WGL_TEXTURE_TARGET_ARB 0x2073 |
| 239 #define WGL_MIPMAP_TEXTURE_ARB 0x2074 |
| 240 #define WGL_TEXTURE_RGB_ARB 0x2075 |
| 241 #define WGL_TEXTURE_RGBA_ARB 0x2076 |
| 242 #define WGL_NO_TEXTURE_ARB 0x2077 |
| 243 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 |
| 244 #define WGL_TEXTURE_1D_ARB 0x2079 |
| 245 #define WGL_TEXTURE_2D_ARB 0x207A |
| 246 #define WGL_MIPMAP_LEVEL_ARB 0x207B |
| 247 #define WGL_CUBE_MAP_FACE_ARB 0x207C |
| 248 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D |
| 249 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E |
| 250 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F |
| 251 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 |
| 252 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 |
| 253 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 |
| 254 #define WGL_FRONT_LEFT_ARB 0x2083 |
| 255 #define WGL_FRONT_RIGHT_ARB 0x2084 |
| 256 #define WGL_BACK_LEFT_ARB 0x2085 |
| 257 #define WGL_BACK_RIGHT_ARB 0x2086 |
| 258 #define WGL_AUX0_ARB 0x2087 |
| 259 #define WGL_AUX1_ARB 0x2088 |
| 260 #define WGL_AUX2_ARB 0x2089 |
| 261 #define WGL_AUX3_ARB 0x208A |
| 262 #define WGL_AUX4_ARB 0x208B |
| 263 #define WGL_AUX5_ARB 0x208C |
| 264 #define WGL_AUX6_ARB 0x208D |
| 265 #define WGL_AUX7_ARB 0x208E |
| 266 #define WGL_AUX8_ARB 0x208F |
| 267 #define WGL_AUX9_ARB 0x2090 |
| 268 typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBu
ffer); |
| 269 typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int
iBuffer); |
| 270 typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, con
st int *piAttribList); |
| 271 #ifdef WGL_WGLEXT_PROTOTYPES |
| 272 BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); |
| 273 BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); |
| 274 BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribLis
t); |
| 275 #endif |
| 276 #endif /* WGL_ARB_render_texture */ |
| 277 |
| 278 #ifndef WGL_ARB_robustness_application_isolation |
| 279 #define WGL_ARB_robustness_application_isolation 1 |
| 280 #define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 |
| 281 #endif /* WGL_ARB_robustness_application_isolation */ |
| 282 |
| 283 #ifndef WGL_ARB_robustness_share_group_isolation |
| 284 #define WGL_ARB_robustness_share_group_isolation 1 |
| 285 #endif /* WGL_ARB_robustness_share_group_isolation */ |
| 286 |
| 287 #ifndef WGL_3DFX_multisample |
| 288 #define WGL_3DFX_multisample 1 |
| 289 #define WGL_SAMPLE_BUFFERS_3DFX 0x2060 |
| 290 #define WGL_SAMPLES_3DFX 0x2061 |
| 291 #endif /* WGL_3DFX_multisample */ |
| 292 |
| 293 #ifndef WGL_3DL_stereo_control |
| 294 #define WGL_3DL_stereo_control 1 |
| 295 #define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 |
| 296 #define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 |
| 297 #define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 |
| 298 #define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 |
| 299 typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState
); |
| 300 #ifdef WGL_WGLEXT_PROTOTYPES |
| 301 BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState); |
| 302 #endif |
| 303 #endif /* WGL_3DL_stereo_control */ |
| 304 |
| 305 #ifndef WGL_AMD_gpu_association |
| 306 #define WGL_AMD_gpu_association 1 |
| 307 #define WGL_GPU_VENDOR_AMD 0x1F00 |
| 308 #define WGL_GPU_RENDERER_STRING_AMD 0x1F01 |
| 309 #define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 |
| 310 #define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 |
| 311 #define WGL_GPU_RAM_AMD 0x21A3 |
| 312 #define WGL_GPU_CLOCK_AMD 0x21A4 |
| 313 #define WGL_GPU_NUM_PIPES_AMD 0x21A5 |
| 314 #define WGL_GPU_NUM_SIMD_AMD 0x21A6 |
| 315 #define WGL_GPU_NUM_RB_AMD 0x21A7 |
| 316 #define WGL_GPU_NUM_SPI_AMD 0x21A8 |
| 317 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); |
| 318 typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum da
taType, UINT size, void *data); |
| 319 typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); |
| 320 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); |
| 321 typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, H
GLRC hShareContext, const int *attribList); |
| 322 typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); |
| 323 typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); |
| 324 typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); |
| 325 typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint
srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint d
stX1, GLint dstY1, GLbitfield mask, GLenum filter); |
| 326 #ifdef WGL_WGLEXT_PROTOTYPES |
| 327 UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids); |
| 328 INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size,
void *data); |
| 329 UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc); |
| 330 HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id); |
| 331 HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext,
const int *attribList); |
| 332 BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc); |
| 333 BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc); |
| 334 HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void); |
| 335 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); |
| 336 #endif |
| 337 #endif /* WGL_AMD_gpu_association */ |
| 338 |
| 339 #ifndef WGL_ATI_pixel_format_float |
| 340 #define WGL_ATI_pixel_format_float 1 |
| 341 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 |
| 342 #endif /* WGL_ATI_pixel_format_float */ |
| 343 |
| 344 #ifndef WGL_EXT_create_context_es2_profile |
| 345 #define WGL_EXT_create_context_es2_profile 1 |
| 346 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
| 347 #endif /* WGL_EXT_create_context_es2_profile */ |
| 348 |
| 349 #ifndef WGL_EXT_create_context_es_profile |
| 350 #define WGL_EXT_create_context_es_profile 1 |
| 351 #define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 |
| 352 #endif /* WGL_EXT_create_context_es_profile */ |
| 353 |
| 354 #ifndef WGL_EXT_depth_float |
| 355 #define WGL_EXT_depth_float 1 |
| 356 #define WGL_DEPTH_FLOAT_EXT 0x2040 |
| 357 #endif /* WGL_EXT_depth_float */ |
| 358 |
| 359 #ifndef WGL_EXT_display_color_table |
| 360 #define WGL_EXT_display_color_table 1 |
| 361 typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); |
| 362 typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort
*table, GLuint length); |
| 363 typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); |
| 364 typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); |
| 365 #ifdef WGL_WGLEXT_PROTOTYPES |
| 366 GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id); |
| 367 GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint leng
th); |
| 368 GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id); |
| 369 VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id); |
| 370 #endif |
| 371 #endif /* WGL_EXT_display_color_table */ |
| 372 |
| 373 #ifndef WGL_EXT_extensions_string |
| 374 #define WGL_EXT_extensions_string 1 |
| 375 typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); |
| 376 #ifdef WGL_WGLEXT_PROTOTYPES |
| 377 const char *WINAPI wglGetExtensionsStringEXT (void); |
| 378 #endif |
| 379 #endif /* WGL_EXT_extensions_string */ |
| 380 |
| 381 #ifndef WGL_EXT_framebuffer_sRGB |
| 382 #define WGL_EXT_framebuffer_sRGB 1 |
| 383 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 |
| 384 #endif /* WGL_EXT_framebuffer_sRGB */ |
| 385 |
| 386 #ifndef WGL_EXT_make_current_read |
| 387 #define WGL_EXT_make_current_read 1 |
| 388 #define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 |
| 389 typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadD
C, HGLRC hglrc); |
| 390 typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void); |
| 391 #ifdef WGL_WGLEXT_PROTOTYPES |
| 392 BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); |
| 393 HDC WINAPI wglGetCurrentReadDCEXT (void); |
| 394 #endif |
| 395 #endif /* WGL_EXT_make_current_read */ |
| 396 |
| 397 #ifndef WGL_EXT_multisample |
| 398 #define WGL_EXT_multisample 1 |
| 399 #define WGL_SAMPLE_BUFFERS_EXT 0x2041 |
| 400 #define WGL_SAMPLES_EXT 0x2042 |
| 401 #endif /* WGL_EXT_multisample */ |
| 402 |
| 403 #ifndef WGL_EXT_pbuffer |
| 404 #define WGL_EXT_pbuffer 1 |
| 405 DECLARE_HANDLE(HPBUFFEREXT); |
| 406 #define WGL_DRAW_TO_PBUFFER_EXT 0x202D |
| 407 #define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E |
| 408 #define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F |
| 409 #define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 |
| 410 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 |
| 411 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 |
| 412 #define WGL_PBUFFER_LARGEST_EXT 0x2033 |
| 413 #define WGL_PBUFFER_WIDTH_EXT 0x2034 |
| 414 #define WGL_PBUFFER_HEIGHT_EXT 0x2035 |
| 415 typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFo
rmat, int iWidth, int iHeight, const int *piAttribList); |
| 416 typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); |
| 417 typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC
hDC); |
| 418 typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); |
| 419 typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAt
tribute, int *piValue); |
| 420 #ifdef WGL_WGLEXT_PROTOTYPES |
| 421 HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, i
nt iHeight, const int *piAttribList); |
| 422 HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer); |
| 423 int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC); |
| 424 BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer); |
| 425 BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piVal
ue); |
| 426 #endif |
| 427 #endif /* WGL_EXT_pbuffer */ |
| 428 |
| 429 #ifndef WGL_EXT_pixel_format |
| 430 #define WGL_EXT_pixel_format 1 |
| 431 #define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 |
| 432 #define WGL_DRAW_TO_WINDOW_EXT 0x2001 |
| 433 #define WGL_DRAW_TO_BITMAP_EXT 0x2002 |
| 434 #define WGL_ACCELERATION_EXT 0x2003 |
| 435 #define WGL_NEED_PALETTE_EXT 0x2004 |
| 436 #define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 |
| 437 #define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 |
| 438 #define WGL_SWAP_METHOD_EXT 0x2007 |
| 439 #define WGL_NUMBER_OVERLAYS_EXT 0x2008 |
| 440 #define WGL_NUMBER_UNDERLAYS_EXT 0x2009 |
| 441 #define WGL_TRANSPARENT_EXT 0x200A |
| 442 #define WGL_TRANSPARENT_VALUE_EXT 0x200B |
| 443 #define WGL_SHARE_DEPTH_EXT 0x200C |
| 444 #define WGL_SHARE_STENCIL_EXT 0x200D |
| 445 #define WGL_SHARE_ACCUM_EXT 0x200E |
| 446 #define WGL_SUPPORT_GDI_EXT 0x200F |
| 447 #define WGL_SUPPORT_OPENGL_EXT 0x2010 |
| 448 #define WGL_DOUBLE_BUFFER_EXT 0x2011 |
| 449 #define WGL_STEREO_EXT 0x2012 |
| 450 #define WGL_PIXEL_TYPE_EXT 0x2013 |
| 451 #define WGL_COLOR_BITS_EXT 0x2014 |
| 452 #define WGL_RED_BITS_EXT 0x2015 |
| 453 #define WGL_RED_SHIFT_EXT 0x2016 |
| 454 #define WGL_GREEN_BITS_EXT 0x2017 |
| 455 #define WGL_GREEN_SHIFT_EXT 0x2018 |
| 456 #define WGL_BLUE_BITS_EXT 0x2019 |
| 457 #define WGL_BLUE_SHIFT_EXT 0x201A |
| 458 #define WGL_ALPHA_BITS_EXT 0x201B |
| 459 #define WGL_ALPHA_SHIFT_EXT 0x201C |
| 460 #define WGL_ACCUM_BITS_EXT 0x201D |
| 461 #define WGL_ACCUM_RED_BITS_EXT 0x201E |
| 462 #define WGL_ACCUM_GREEN_BITS_EXT 0x201F |
| 463 #define WGL_ACCUM_BLUE_BITS_EXT 0x2020 |
| 464 #define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 |
| 465 #define WGL_DEPTH_BITS_EXT 0x2022 |
| 466 #define WGL_STENCIL_BITS_EXT 0x2023 |
| 467 #define WGL_AUX_BUFFERS_EXT 0x2024 |
| 468 #define WGL_NO_ACCELERATION_EXT 0x2025 |
| 469 #define WGL_GENERIC_ACCELERATION_EXT 0x2026 |
| 470 #define WGL_FULL_ACCELERATION_EXT 0x2027 |
| 471 #define WGL_SWAP_EXCHANGE_EXT 0x2028 |
| 472 #define WGL_SWAP_COPY_EXT 0x2029 |
| 473 #define WGL_SWAP_UNDEFINED_EXT 0x202A |
| 474 #define WGL_TYPE_RGBA_EXT 0x202B |
| 475 #define WGL_TYPE_COLORINDEX_EXT 0x202C |
| 476 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); |
| 477 typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixel
Format, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); |
| 478 typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAt
tribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *n
NumFormats); |
| 479 #ifdef WGL_WGLEXT_PROTOTYPES |
| 480 BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerP
lane, UINT nAttributes, int *piAttributes, int *piValues); |
| 481 BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerP
lane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); |
| 482 BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FL
OAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); |
| 483 #endif |
| 484 #endif /* WGL_EXT_pixel_format */ |
| 485 |
| 486 #ifndef WGL_EXT_pixel_format_packed_float |
| 487 #define WGL_EXT_pixel_format_packed_float 1 |
| 488 #define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 |
| 489 #endif /* WGL_EXT_pixel_format_packed_float */ |
| 490 |
| 491 #ifndef WGL_EXT_swap_control |
| 492 #define WGL_EXT_swap_control 1 |
| 493 typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); |
| 494 typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); |
| 495 #ifdef WGL_WGLEXT_PROTOTYPES |
| 496 BOOL WINAPI wglSwapIntervalEXT (int interval); |
| 497 int WINAPI wglGetSwapIntervalEXT (void); |
| 498 #endif |
| 499 #endif /* WGL_EXT_swap_control */ |
| 500 |
| 501 #ifndef WGL_EXT_swap_control_tear |
| 502 #define WGL_EXT_swap_control_tear 1 |
| 503 #endif /* WGL_EXT_swap_control_tear */ |
| 504 |
| 505 #ifndef WGL_I3D_digital_video_control |
| 506 #define WGL_I3D_digital_video_control 1 |
| 507 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 |
| 508 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 |
| 509 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 |
| 510 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 |
| 511 typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAt
tribute, int *piValue); |
| 512 typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAt
tribute, const int *piValue); |
| 513 #ifdef WGL_WGLEXT_PROTOTYPES |
| 514 BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piVal
ue); |
| 515 BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int
*piValue); |
| 516 #endif |
| 517 #endif /* WGL_I3D_digital_video_control */ |
| 518 |
| 519 #ifndef WGL_I3D_gamma |
| 520 #define WGL_I3D_gamma 1 |
| 521 #define WGL_GAMMA_TABLE_SIZE_I3D 0x204E |
| 522 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F |
| 523 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttr
ibute, int *piValue); |
| 524 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttr
ibute, const int *piValue); |
| 525 typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHOR
T *puRed, USHORT *puGreen, USHORT *puBlue); |
| 526 typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const
USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); |
| 527 #ifdef WGL_WGLEXT_PROTOTYPES |
| 528 BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue
); |
| 529 BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *p
iValue); |
| 530 BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *p
uGreen, USHORT *puBlue); |
| 531 BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, con
st USHORT *puGreen, const USHORT *puBlue); |
| 532 #endif |
| 533 #endif /* WGL_I3D_gamma */ |
| 534 |
| 535 #ifndef WGL_I3D_genlock |
| 536 #define WGL_I3D_genlock 1 |
| 537 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 |
| 538 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 |
| 539 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 |
| 540 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 |
| 541 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 |
| 542 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 |
| 543 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A |
| 544 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B |
| 545 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C |
| 546 typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); |
| 547 typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); |
| 548 typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag); |
| 549 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); |
| 550 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource); |
| 551 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); |
| 552 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge)
; |
| 553 typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); |
| 554 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate)
; |
| 555 typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); |
| 556 typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDela
y); |
| 557 typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *
uMaxLineDelay, UINT *uMaxPixelDelay); |
| 558 #ifdef WGL_WGLEXT_PROTOTYPES |
| 559 BOOL WINAPI wglEnableGenlockI3D (HDC hDC); |
| 560 BOOL WINAPI wglDisableGenlockI3D (HDC hDC); |
| 561 BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag); |
| 562 BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource); |
| 563 BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource); |
| 564 BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge); |
| 565 BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge); |
| 566 BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate); |
| 567 BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate); |
| 568 BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay); |
| 569 BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay); |
| 570 BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT
*uMaxPixelDelay); |
| 571 #endif |
| 572 #endif /* WGL_I3D_genlock */ |
| 573 |
| 574 #ifndef WGL_I3D_image_buffer |
| 575 #define WGL_I3D_image_buffer 1 |
| 576 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 |
| 577 #define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 |
| 578 typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize,
UINT uFlags); |
| 579 typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddres
s); |
| 580 typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const
HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); |
| 581 typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LP
VOID *pAddress, UINT count); |
| 582 #ifdef WGL_WGLEXT_PROTOTYPES |
| 583 LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags); |
| 584 BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress); |
| 585 BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, con
st LPVOID *pAddress, const DWORD *pSize, UINT count); |
| 586 BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UIN
T count); |
| 587 #endif |
| 588 #endif /* WGL_I3D_image_buffer */ |
| 589 |
| 590 #ifndef WGL_I3D_swap_frame_lock |
| 591 #define WGL_I3D_swap_frame_lock 1 |
| 592 typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void); |
| 593 typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void); |
| 594 typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag); |
| 595 typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag); |
| 596 #ifdef WGL_WGLEXT_PROTOTYPES |
| 597 BOOL WINAPI wglEnableFrameLockI3D (void); |
| 598 BOOL WINAPI wglDisableFrameLockI3D (void); |
| 599 BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag); |
| 600 BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag); |
| 601 #endif |
| 602 #endif /* WGL_I3D_swap_frame_lock */ |
| 603 |
| 604 #ifndef WGL_I3D_swap_frame_usage |
| 605 #define WGL_I3D_swap_frame_usage 1 |
| 606 typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage); |
| 607 typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); |
| 608 typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); |
| 609 typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWO
RD *pMissedFrames, float *pLastMissedUsage); |
| 610 #ifdef WGL_WGLEXT_PROTOTYPES |
| 611 BOOL WINAPI wglGetFrameUsageI3D (float *pUsage); |
| 612 BOOL WINAPI wglBeginFrameTrackingI3D (void); |
| 613 BOOL WINAPI wglEndFrameTrackingI3D (void); |
| 614 BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames,
float *pLastMissedUsage); |
| 615 #endif |
| 616 #endif /* WGL_I3D_swap_frame_usage */ |
| 617 |
| 618 #ifndef WGL_NV_DX_interop |
| 619 #define WGL_NV_DX_interop 1 |
| 620 #define WGL_ACCESS_READ_ONLY_NV 0x00000000 |
| 621 #define WGL_ACCESS_READ_WRITE_NV 0x00000001 |
| 622 #define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002 |
| 623 typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void *dxObject, HA
NDLE shareHandle); |
| 624 typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void *dxDevice); |
| 625 typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice); |
| 626 typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void *dx
Object, GLuint name, GLenum type, GLenum access); |
| 627 typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE h
Object); |
| 628 typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum acces
s); |
| 629 typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count,
HANDLE *hObjects); |
| 630 typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count
, HANDLE *hObjects); |
| 631 #ifdef WGL_WGLEXT_PROTOTYPES |
| 632 BOOL WINAPI wglDXSetResourceShareHandleNV (void *dxObject, HANDLE shareHandle); |
| 633 HANDLE WINAPI wglDXOpenDeviceNV (void *dxDevice); |
| 634 BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice); |
| 635 HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name
, GLenum type, GLenum access); |
| 636 BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject); |
| 637 BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access); |
| 638 BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects); |
| 639 BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects)
; |
| 640 #endif |
| 641 #endif /* WGL_NV_DX_interop */ |
| 642 |
| 643 #ifndef WGL_NV_DX_interop2 |
| 644 #define WGL_NV_DX_interop2 1 |
| 645 #endif /* WGL_NV_DX_interop2 */ |
| 646 |
| 647 #ifndef WGL_NV_copy_image |
| 648 #define WGL_NV_copy_image 1 |
| 649 typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcNa
me, 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); |
| 650 #ifdef WGL_WGLEXT_PROTOTYPES |
| 651 BOOL WINAPI wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarge
t, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstN
ame, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsiz
ei width, GLsizei height, GLsizei depth); |
| 652 #endif |
| 653 #endif /* WGL_NV_copy_image */ |
| 654 |
| 655 #ifndef WGL_NV_delay_before_swap |
| 656 #define WGL_NV_delay_before_swap 1 |
| 657 typedef BOOL (WINAPI * PFNWGLDELAYBEFORESWAPNVPROC) (HDC hDC, GLfloat seconds); |
| 658 #ifdef WGL_WGLEXT_PROTOTYPES |
| 659 BOOL WINAPI wglDelayBeforeSwapNV (HDC hDC, GLfloat seconds); |
| 660 #endif |
| 661 #endif /* WGL_NV_delay_before_swap */ |
| 662 |
| 663 #ifndef WGL_NV_float_buffer |
| 664 #define WGL_NV_float_buffer 1 |
| 665 #define WGL_FLOAT_COMPONENTS_NV 0x20B0 |
| 666 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 |
| 667 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 |
| 668 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 |
| 669 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 |
| 670 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5 |
| 671 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 |
| 672 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 |
| 673 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 |
| 674 #endif /* WGL_NV_float_buffer */ |
| 675 |
| 676 #ifndef WGL_NV_gpu_affinity |
| 677 #define WGL_NV_gpu_affinity 1 |
| 678 DECLARE_HANDLE(HGPUNV); |
| 679 struct _GPU_DEVICE { |
| 680 DWORD cb; |
| 681 CHAR DeviceName[32]; |
| 682 CHAR DeviceString[128]; |
| 683 DWORD Flags; |
| 684 RECT rcVirtualScreen; |
| 685 }; |
| 686 typedef struct _GPU_DEVICE *PGPU_DEVICE; |
| 687 #define ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 |
| 688 #define ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 |
| 689 typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); |
| 690 typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceInd
ex, PGPU_DEVICE lpGpuDevice); |
| 691 typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); |
| 692 typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UIN
T iGpuIndex, HGPUNV *hGpu); |
| 693 typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); |
| 694 #ifdef WGL_WGLEXT_PROTOTYPES |
| 695 BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu); |
| 696 BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpG
puDevice); |
| 697 HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList); |
| 698 BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV
*hGpu); |
| 699 BOOL WINAPI wglDeleteDCNV (HDC hdc); |
| 700 #endif |
| 701 #endif /* WGL_NV_gpu_affinity */ |
| 702 |
| 703 #ifndef WGL_NV_multisample_coverage |
| 704 #define WGL_NV_multisample_coverage 1 |
| 705 #define WGL_COVERAGE_SAMPLES_NV 0x2042 |
| 706 #define WGL_COLOR_SAMPLES_NV 0x20B9 |
| 707 #endif /* WGL_NV_multisample_coverage */ |
| 708 |
| 709 #ifndef WGL_NV_present_video |
| 710 #define WGL_NV_present_video 1 |
| 711 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); |
| 712 #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 |
| 713 typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTD
EVICENV *phDeviceList); |
| 714 typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVide
oSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); |
| 715 typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *pi
Value); |
| 716 #ifdef WGL_WGLEXT_PROTOTYPES |
| 717 int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceLi
st); |
| 718 BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUT
DEVICENV hVideoDevice, const int *piAttribList); |
| 719 BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue); |
| 720 #endif |
| 721 #endif /* WGL_NV_present_video */ |
| 722 |
| 723 #ifndef WGL_NV_render_depth_texture |
| 724 #define WGL_NV_render_depth_texture 1 |
| 725 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 |
| 726 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 |
| 727 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 |
| 728 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 |
| 729 #define WGL_DEPTH_COMPONENT_NV 0x20A7 |
| 730 #endif /* WGL_NV_render_depth_texture */ |
| 731 |
| 732 #ifndef WGL_NV_render_texture_rectangle |
| 733 #define WGL_NV_render_texture_rectangle 1 |
| 734 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 |
| 735 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 |
| 736 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2 |
| 737 #endif /* WGL_NV_render_texture_rectangle */ |
| 738 |
| 739 #ifndef WGL_NV_swap_group |
| 740 #define WGL_NV_swap_group 1 |
| 741 typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); |
| 742 typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrie
r); |
| 743 typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLui
nt *barrier); |
| 744 typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGrou
ps, GLuint *maxBarriers); |
| 745 typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count); |
| 746 typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); |
| 747 #ifdef WGL_WGLEXT_PROTOTYPES |
| 748 BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group); |
| 749 BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier); |
| 750 BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier); |
| 751 BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *maxBarr
iers); |
| 752 BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count); |
| 753 BOOL WINAPI wglResetFrameCountNV (HDC hDC); |
| 754 #endif |
| 755 #endif /* WGL_NV_swap_group */ |
| 756 |
| 757 #ifndef WGL_NV_vertex_array_range |
| 758 #define WGL_NV_vertex_array_range 1 |
| 759 typedef void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readf
req, GLfloat writefreq, GLfloat priority); |
| 760 typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); |
| 761 #ifdef WGL_WGLEXT_PROTOTYPES |
| 762 void *WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writef
req, GLfloat priority); |
| 763 void WINAPI wglFreeMemoryNV (void *pointer); |
| 764 #endif |
| 765 #endif /* WGL_NV_vertex_array_range */ |
| 766 |
| 767 #ifndef WGL_NV_video_capture |
| 768 #define WGL_NV_video_capture 1 |
| 769 DECLARE_HANDLE(HVIDEOINPUTDEVICENV); |
| 770 #define WGL_UNIQUE_ID_NV 0x20CE |
| 771 #define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF |
| 772 typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVI
DEOINPUTDEVICENV hDevice); |
| 773 typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDE
OINPUTDEVICENV *phDeviceList); |
| 774 typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUT
DEVICENV hDevice); |
| 775 typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPU
TDEVICENV hDevice, int iAttribute, int *piValue); |
| 776 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOIN
PUTDEVICENV hDevice); |
| 777 #ifdef WGL_WGLEXT_PROTOTYPES |
| 778 BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hD
evice); |
| 779 UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phD
eviceList); |
| 780 BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice); |
| 781 BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice,
int iAttribute, int *piValue); |
| 782 BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice
); |
| 783 #endif |
| 784 #endif /* WGL_NV_video_capture */ |
| 785 |
| 786 #ifndef WGL_NV_video_output |
| 787 #define WGL_NV_video_output 1 |
| 788 DECLARE_HANDLE(HPVIDEODEV); |
| 789 #define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 |
| 790 #define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 |
| 791 #define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 |
| 792 #define WGL_VIDEO_OUT_COLOR_NV 0x20C3 |
| 793 #define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 |
| 794 #define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 |
| 795 #define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 |
| 796 #define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 |
| 797 #define WGL_VIDEO_OUT_FRAME 0x20C8 |
| 798 #define WGL_VIDEO_OUT_FIELD_1 0x20C9 |
| 799 #define WGL_VIDEO_OUT_FIELD_2 0x20CA |
| 800 #define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB |
| 801 #define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC |
| 802 typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPV
IDEODEV *hVideoDevice); |
| 803 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice)
; |
| 804 typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPB
UFFERARB hPbuffer, int iVideoBuffer); |
| 805 typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int
iVideoBuffer); |
| 806 typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, in
t iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); |
| 807 typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsi
gned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); |
| 808 #ifdef WGL_WGLEXT_PROTOTYPES |
| 809 BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevi
ce); |
| 810 BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice); |
| 811 BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer,
int iVideoBuffer); |
| 812 BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer); |
| 813 BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsi
gned long *pulCounterPbuffer, BOOL bBlock); |
| 814 BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCount
erOutputPbuffer, unsigned long *pulCounterOutputVideo); |
| 815 #endif |
| 816 #endif /* WGL_NV_video_output */ |
| 817 |
| 818 #ifndef WGL_OML_sync_control |
| 819 #define WGL_OML_sync_control 1 |
| 820 typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *
msc, INT64 *sbc); |
| 821 typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT3
2 *denominator); |
| 822 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc,
INT64 divisor, INT64 remainder); |
| 823 typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes
, INT64 target_msc, INT64 divisor, INT64 remainder); |
| 824 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT6
4 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); |
| 825 typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT6
4 *ust, INT64 *msc, INT64 *sbc); |
| 826 #ifdef WGL_WGLEXT_PROTOTYPES |
| 827 BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); |
| 828 BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator); |
| 829 INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT
64 remainder); |
| 830 INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc,
INT64 divisor, INT64 remainder); |
| 831 BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 re
mainder, INT64 *ust, INT64 *msc, INT64 *sbc); |
| 832 BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc,
INT64 *sbc); |
| 833 #endif |
| 834 #endif /* WGL_OML_sync_control */ |
| 835 |
| 836 #ifdef __cplusplus |
| 837 } |
| 838 #endif |
| 839 |
| 840 #endif |
OLD | NEW |