Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
** The OpenGL Extension Wrangler Library
|
2 |
** The OpenGL Extension Wrangler Library
|
3 |
** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
3 |
** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
4 |
** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
4 |
** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
5 |
** Copyright (C) 2002, Lev Povalahev
|
5 |
** Copyright (C) 2002, Lev Povalahev
|
6 |
** All rights reserved.
|
6 |
** All rights reserved.
|
7 |
**
|
7 |
**
|
8 |
** Redistribution and use in source and binary forms, with or without
|
8 |
** Redistribution and use in source and binary forms, with or without
|
9 |
** modification, are permitted provided that the following conditions are met:
|
9 |
** modification, are permitted provided that the following conditions are met:
|
10 |
**
|
10 |
**
|
11 |
** * Redistributions of source code must retain the above copyright notice,
|
11 |
** * Redistributions of source code must retain the above copyright notice,
|
12 |
** this list of conditions and the following disclaimer.
|
12 |
** this list of conditions and the following disclaimer.
|
13 |
** * Redistributions in binary form must reproduce the above copyright notice,
|
13 |
** * Redistributions in binary form must reproduce the above copyright notice,
|
14 |
** this list of conditions and the following disclaimer in the documentation
|
14 |
** this list of conditions and the following disclaimer in the documentation
|
15 |
** and/or other materials provided with the distribution.
|
15 |
** and/or other materials provided with the distribution.
|
16 |
** * The name of the author may be used to endorse or promote products
|
16 |
** * The name of the author may be used to endorse or promote products
|
17 |
** derived from this software without specific prior written permission.
|
17 |
** derived from this software without specific prior written permission.
|
18 |
**
|
18 |
**
|
19 |
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
19 |
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
20 |
** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
20 |
** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
21 |
** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
21 |
** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
22 |
** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
22 |
** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
23 |
** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
23 |
** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
24 |
** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
24 |
** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
25 |
** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
25 |
** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
26 |
** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
26 |
** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
27 |
** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
27 |
** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
28 |
** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
28 |
** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
29 |
** THE POSSIBILITY OF SUCH DAMAGE.
|
29 |
** THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*/
|
30 |
*/
|
31 |
|
31 |
|
32 |
/*
|
32 |
/*
|
33 |
** Copyright (c) 2007 The Khronos Group Inc.
|
33 |
** Copyright (c) 2007 The Khronos Group Inc.
|
34 |
**
|
34 |
**
|
35 |
** Permission is hereby granted, free of charge, to any person obtaining a
|
35 |
** Permission is hereby granted, free of charge, to any person obtaining a
|
36 |
** copy of this software and/or associated documentation files (the
|
36 |
** copy of this software and/or associated documentation files (the
|
37 |
** "Materials"), to deal in the Materials without restriction, including
|
37 |
** "Materials"), to deal in the Materials without restriction, including
|
38 |
** without limitation the rights to use, copy, modify, merge, publish,
|
38 |
** without limitation the rights to use, copy, modify, merge, publish,
|
39 |
** distribute, sublicense, and/or sell copies of the Materials, and to
|
39 |
** distribute, sublicense, and/or sell copies of the Materials, and to
|
40 |
** permit persons to whom the Materials are furnished to do so, subject to
|
40 |
** permit persons to whom the Materials are furnished to do so, subject to
|
41 |
** the following conditions:
|
41 |
** the following conditions:
|
42 |
**
|
42 |
**
|
43 |
** The above copyright notice and this permission notice shall be included
|
43 |
** The above copyright notice and this permission notice shall be included
|
44 |
** in all copies or substantial portions of the Materials.
|
44 |
** in all copies or substantial portions of the Materials.
|
45 |
**
|
45 |
**
|
46 |
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
46 |
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
47 |
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
47 |
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
48 |
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
48 |
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
49 |
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
49 |
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
50 |
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
50 |
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
51 |
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
51 |
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
52 |
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
52 |
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
53 |
*/
|
53 |
*/
|
54 |
|
54 |
|
55 |
#ifndef __wglew_h__
|
55 |
#ifndef __wglew_h__
|
56 |
#define __wglew_h__
|
56 |
#define __wglew_h__
|
57 |
#define __WGLEW_H__
|
57 |
#define __WGLEW_H__
|
58 |
|
58 |
|
59 |
#ifdef __wglext_h_
|
59 |
#ifdef __wglext_h_
|
60 |
#error wglext.h included before wglew.h
|
60 |
#error wglext.h included before wglew.h
|
61 |
#endif
|
61 |
#endif
|
62 |
|
62 |
|
63 |
#define __wglext_h_
|
63 |
#define __wglext_h_
|
64 |
|
64 |
|
65 |
#if !defined(WINAPI)
|
65 |
#if !defined(WINAPI)
|
66 |
# ifndef WIN32_LEAN_AND_MEAN
|
66 |
# ifndef WIN32_LEAN_AND_MEAN
|
67 |
# define WIN32_LEAN_AND_MEAN 1
|
67 |
# define WIN32_LEAN_AND_MEAN 1
|
68 |
# endif
|
68 |
# endif
|
69 |
#include <windows.h>
|
69 |
#include <windows.h>
|
70 |
# undef WIN32_LEAN_AND_MEAN
|
70 |
# undef WIN32_LEAN_AND_MEAN
|
71 |
#endif
|
71 |
#endif
|
72 |
|
72 |
|
73 |
/*
|
73 |
/*
|
74 |
* GLEW_STATIC needs to be set when using the static version.
|
74 |
* GLEW_STATIC needs to be set when using the static version.
|
75 |
* GLEW_BUILD is set when building the DLL version.
|
75 |
* GLEW_BUILD is set when building the DLL version.
|
76 |
*/
|
76 |
*/
|
77 |
#ifdef GLEW_STATIC
|
77 |
#ifdef GLEW_STATIC
|
78 |
# define GLEWAPI extern
|
78 |
# define GLEWAPI extern
|
79 |
#else
|
79 |
#else
|
80 |
# ifdef GLEW_BUILD
|
80 |
# ifdef GLEW_BUILD
|
81 |
# define GLEWAPI extern __declspec(dllexport)
|
81 |
# define GLEWAPI extern __declspec(dllexport)
|
82 |
# else
|
82 |
# else
|
83 |
# define GLEWAPI extern __declspec(dllimport)
|
83 |
# define GLEWAPI extern __declspec(dllimport)
|
84 |
# endif
|
84 |
# endif
|
85 |
#endif
|
85 |
#endif
|
86 |
|
86 |
|
87 |
#ifdef __cplusplus
|
87 |
#ifdef __cplusplus
|
88 |
extern "C" {
|
88 |
extern "C" {
|
89 |
#endif
|
89 |
#endif
|
90 |
|
90 |
|
91 |
/* -------------------------- WGL_3DFX_multisample ------------------------- */
|
91 |
/* -------------------------- WGL_3DFX_multisample ------------------------- */
|
92 |
|
92 |
|
93 |
#ifndef WGL_3DFX_multisample
|
93 |
#ifndef WGL_3DFX_multisample
|
94 |
#define WGL_3DFX_multisample 1
|
94 |
#define WGL_3DFX_multisample 1
|
95 |
|
95 |
|
96 |
#define WGL_SAMPLE_BUFFERS_3DFX 0x2060
|
96 |
#define WGL_SAMPLE_BUFFERS_3DFX 0x2060
|
97 |
#define WGL_SAMPLES_3DFX 0x2061
|
97 |
#define WGL_SAMPLES_3DFX 0x2061
|
98 |
|
98 |
|
99 |
#define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample)
|
99 |
#define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample)
|
100 |
|
100 |
|
101 |
#endif /* WGL_3DFX_multisample */
|
101 |
#endif /* WGL_3DFX_multisample */
|
102 |
|
102 |
|
103 |
/* ------------------------- WGL_3DL_stereo_control ------------------------ */
|
103 |
/* ------------------------- WGL_3DL_stereo_control ------------------------ */
|
104 |
|
104 |
|
105 |
#ifndef WGL_3DL_stereo_control
|
105 |
#ifndef WGL_3DL_stereo_control
|
106 |
#define WGL_3DL_stereo_control 1
|
106 |
#define WGL_3DL_stereo_control 1
|
107 |
|
107 |
|
108 |
#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
|
108 |
#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055
|
109 |
#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
|
109 |
#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056
|
110 |
#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
|
110 |
#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057
|
111 |
#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
|
111 |
#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058
|
112 |
|
112 |
|
113 |
typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
|
113 |
typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState);
|
114 |
|
114 |
|
115 |
#define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL)
|
115 |
#define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL)
|
116 |
|
116 |
|
117 |
#define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control)
|
117 |
#define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control)
|
118 |
|
118 |
|
119 |
#endif /* WGL_3DL_stereo_control */
|
119 |
#endif /* WGL_3DL_stereo_control */
|
120 |
|
120 |
|
121 |
/* ------------------------ WGL_AMD_gpu_association ------------------------ */
|
121 |
/* ------------------------ WGL_AMD_gpu_association ------------------------ */
|
122 |
|
122 |
|
123 |
#ifndef WGL_AMD_gpu_association
|
123 |
#ifndef WGL_AMD_gpu_association
|
124 |
#define WGL_AMD_gpu_association 1
|
124 |
#define WGL_AMD_gpu_association 1
|
125 |
|
125 |
|
126 |
#define WGL_GPU_VENDOR_AMD 0x1F00
|
126 |
#define WGL_GPU_VENDOR_AMD 0x1F00
|
127 |
#define WGL_GPU_RENDERER_STRING_AMD 0x1F01
|
127 |
#define WGL_GPU_RENDERER_STRING_AMD 0x1F01
|
128 |
#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
|
128 |
#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
|
129 |
#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
|
129 |
#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
|
130 |
#define WGL_GPU_RAM_AMD 0x21A3
|
130 |
#define WGL_GPU_RAM_AMD 0x21A3
|
131 |
#define WGL_GPU_CLOCK_AMD 0x21A4
|
131 |
#define WGL_GPU_CLOCK_AMD 0x21A4
|
132 |
#define WGL_GPU_NUM_PIPES_AMD 0x21A5
|
132 |
#define WGL_GPU_NUM_PIPES_AMD 0x21A5
|
133 |
#define WGL_GPU_NUM_SIMD_AMD 0x21A6
|
133 |
#define WGL_GPU_NUM_SIMD_AMD 0x21A6
|
134 |
#define WGL_GPU_NUM_RB_AMD 0x21A7
|
134 |
#define WGL_GPU_NUM_RB_AMD 0x21A7
|
135 |
#define WGL_GPU_NUM_SPI_AMD 0x21A8
|
135 |
#define WGL_GPU_NUM_SPI_AMD 0x21A8
|
136 |
|
136 |
|
137 |
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);
|
137 |
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);
|
138 |
typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id);
|
138 |
typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id);
|
139 |
typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int* attribList);
|
139 |
typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int* attribList);
|
140 |
typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc);
|
140 |
typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc);
|
141 |
typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc);
|
141 |
typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc);
|
142 |
typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
|
142 |
typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
|
143 |
typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT* ids);
|
143 |
typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT* ids);
|
144 |
typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void* data);
|
144 |
typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void* data);
|
145 |
typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc);
|
145 |
typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc);
|
146 |
|
146 |
|
147 |
#define wglBlitContextFramebufferAMD WGLEW_GET_FUN(__wglewBlitContextFramebufferAMD)
|
147 |
#define wglBlitContextFramebufferAMD WGLEW_GET_FUN(__wglewBlitContextFramebufferAMD)
|
148 |
#define wglCreateAssociatedContextAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAMD)
|
148 |
#define wglCreateAssociatedContextAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAMD)
|
149 |
#define wglCreateAssociatedContextAttribsAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAttribsAMD)
|
149 |
#define wglCreateAssociatedContextAttribsAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAttribsAMD)
|
150 |
#define wglDeleteAssociatedContextAMD WGLEW_GET_FUN(__wglewDeleteAssociatedContextAMD)
|
150 |
#define wglDeleteAssociatedContextAMD WGLEW_GET_FUN(__wglewDeleteAssociatedContextAMD)
|
151 |
#define wglGetContextGPUIDAMD WGLEW_GET_FUN(__wglewGetContextGPUIDAMD)
|
151 |
#define wglGetContextGPUIDAMD WGLEW_GET_FUN(__wglewGetContextGPUIDAMD)
|
152 |
#define wglGetCurrentAssociatedContextAMD WGLEW_GET_FUN(__wglewGetCurrentAssociatedContextAMD)
|
152 |
#define wglGetCurrentAssociatedContextAMD WGLEW_GET_FUN(__wglewGetCurrentAssociatedContextAMD)
|
153 |
#define wglGetGPUIDsAMD WGLEW_GET_FUN(__wglewGetGPUIDsAMD)
|
153 |
#define wglGetGPUIDsAMD WGLEW_GET_FUN(__wglewGetGPUIDsAMD)
|
154 |
#define wglGetGPUInfoAMD WGLEW_GET_FUN(__wglewGetGPUInfoAMD)
|
154 |
#define wglGetGPUInfoAMD WGLEW_GET_FUN(__wglewGetGPUInfoAMD)
|
155 |
#define wglMakeAssociatedContextCurrentAMD WGLEW_GET_FUN(__wglewMakeAssociatedContextCurrentAMD)
|
155 |
#define wglMakeAssociatedContextCurrentAMD WGLEW_GET_FUN(__wglewMakeAssociatedContextCurrentAMD)
|
156 |
|
156 |
|
157 |
#define WGLEW_AMD_gpu_association WGLEW_GET_VAR(__WGLEW_AMD_gpu_association)
|
157 |
#define WGLEW_AMD_gpu_association WGLEW_GET_VAR(__WGLEW_AMD_gpu_association)
|
158 |
|
158 |
|
159 |
#endif /* WGL_AMD_gpu_association */
|
159 |
#endif /* WGL_AMD_gpu_association */
|
160 |
|
160 |
|
161 |
/* ------------------------- WGL_ARB_buffer_region ------------------------- */
|
161 |
/* ------------------------- WGL_ARB_buffer_region ------------------------- */
|
162 |
|
162 |
|
163 |
#ifndef WGL_ARB_buffer_region
|
163 |
#ifndef WGL_ARB_buffer_region
|
164 |
#define WGL_ARB_buffer_region 1
|
164 |
#define WGL_ARB_buffer_region 1
|
165 |
|
165 |
|
166 |
#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
|
166 |
#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001
|
167 |
#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
|
167 |
#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002
|
168 |
#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
|
168 |
#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004
|
169 |
#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
|
169 |
#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008
|
170 |
|
170 |
|
171 |
typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
|
171 |
typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType);
|
172 |
typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
|
172 |
typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion);
|
173 |
typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
|
173 |
typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
|
174 |
typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
|
174 |
typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height);
|
175 |
|
175 |
|
176 |
#define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB)
|
176 |
#define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB)
|
177 |
#define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB)
|
177 |
#define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB)
|
178 |
#define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB)
|
178 |
#define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB)
|
179 |
#define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB)
|
179 |
#define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB)
|
180 |
|
180 |
|
181 |
#define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region)
|
181 |
#define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region)
|
182 |
|
182 |
|
183 |
#endif /* WGL_ARB_buffer_region */
|
183 |
#endif /* WGL_ARB_buffer_region */
|
184 |
|
184 |
|
185 |
/* ------------------------- WGL_ARB_create_context ------------------------ */
|
185 |
/* ------------------------- WGL_ARB_create_context ------------------------ */
|
186 |
|
186 |
|
187 |
#ifndef WGL_ARB_create_context
|
187 |
#ifndef WGL_ARB_create_context
|
188 |
#define WGL_ARB_create_context 1
|
188 |
#define WGL_ARB_create_context 1
|
189 |
|
189 |
|
190 |
#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
|
190 |
#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
|
191 |
#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
|
191 |
#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
|
192 |
#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
|
192 |
#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
|
193 |
#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
|
193 |
#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
|
194 |
#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
|
194 |
#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
|
195 |
#define WGL_CONTEXT_FLAGS_ARB 0x2094
|
195 |
#define WGL_CONTEXT_FLAGS_ARB 0x2094
|
196 |
#define ERROR_INVALID_VERSION_ARB 0x2095
|
196 |
#define ERROR_INVALID_VERSION_ARB 0x2095
|
197 |
#define ERROR_INVALID_PROFILE_ARB 0x2096
|
197 |
#define ERROR_INVALID_PROFILE_ARB 0x2096
|
198 |
|
198 |
|
199 |
typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList);
|
199 |
typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList);
|
200 |
|
200 |
|
201 |
#define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB)
|
201 |
#define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB)
|
202 |
|
202 |
|
203 |
#define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context)
|
203 |
#define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context)
|
204 |
|
204 |
|
205 |
#endif /* WGL_ARB_create_context */
|
205 |
#endif /* WGL_ARB_create_context */
|
206 |
|
206 |
|
207 |
/* --------------------- WGL_ARB_create_context_profile -------------------- */
|
207 |
/* --------------------- WGL_ARB_create_context_profile -------------------- */
|
208 |
|
208 |
|
209 |
#ifndef WGL_ARB_create_context_profile
|
209 |
#ifndef WGL_ARB_create_context_profile
|
210 |
#define WGL_ARB_create_context_profile 1
|
210 |
#define WGL_ARB_create_context_profile 1
|
211 |
|
211 |
|
212 |
#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
|
212 |
#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
|
213 |
#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
|
213 |
#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
|
214 |
#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
|
214 |
#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
|
215 |
|
215 |
|
216 |
#define WGLEW_ARB_create_context_profile WGLEW_GET_VAR(__WGLEW_ARB_create_context_profile)
|
216 |
#define WGLEW_ARB_create_context_profile WGLEW_GET_VAR(__WGLEW_ARB_create_context_profile)
|
217 |
|
217 |
|
218 |
#endif /* WGL_ARB_create_context_profile */
|
218 |
#endif /* WGL_ARB_create_context_profile */
|
219 |
|
219 |
|
220 |
/* ------------------- WGL_ARB_create_context_robustness ------------------- */
|
220 |
/* ------------------- WGL_ARB_create_context_robustness ------------------- */
|
221 |
|
221 |
|
222 |
#ifndef WGL_ARB_create_context_robustness
|
222 |
#ifndef WGL_ARB_create_context_robustness
|
223 |
#define WGL_ARB_create_context_robustness 1
|
223 |
#define WGL_ARB_create_context_robustness 1
|
224 |
|
224 |
|
225 |
#define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
|
225 |
#define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
|
226 |
#define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
|
226 |
#define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
|
227 |
#define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
|
227 |
#define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
|
228 |
#define WGL_NO_RESET_NOTIFICATION_ARB 0x8261
|
228 |
#define WGL_NO_RESET_NOTIFICATION_ARB 0x8261
|
229 |
|
229 |
|
230 |
#define WGLEW_ARB_create_context_robustness WGLEW_GET_VAR(__WGLEW_ARB_create_context_robustness)
|
230 |
#define WGLEW_ARB_create_context_robustness WGLEW_GET_VAR(__WGLEW_ARB_create_context_robustness)
|
231 |
|
231 |
|
232 |
#endif /* WGL_ARB_create_context_robustness */
|
232 |
#endif /* WGL_ARB_create_context_robustness */
|
233 |
|
233 |
|
234 |
/* ----------------------- WGL_ARB_extensions_string ----------------------- */
|
234 |
/* ----------------------- WGL_ARB_extensions_string ----------------------- */
|
235 |
|
235 |
|
236 |
#ifndef WGL_ARB_extensions_string
|
236 |
#ifndef WGL_ARB_extensions_string
|
237 |
#define WGL_ARB_extensions_string 1
|
237 |
#define WGL_ARB_extensions_string 1
|
238 |
|
238 |
|
239 |
typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
|
239 |
typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
|
240 |
|
240 |
|
241 |
#define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB)
|
241 |
#define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB)
|
242 |
|
242 |
|
243 |
#define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string)
|
243 |
#define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string)
|
244 |
|
244 |
|
245 |
#endif /* WGL_ARB_extensions_string */
|
245 |
#endif /* WGL_ARB_extensions_string */
|
246 |
|
246 |
|
247 |
/* ------------------------ WGL_ARB_framebuffer_sRGB ----------------------- */
|
247 |
/* ------------------------ WGL_ARB_framebuffer_sRGB ----------------------- */
|
248 |
|
248 |
|
249 |
#ifndef WGL_ARB_framebuffer_sRGB
|
249 |
#ifndef WGL_ARB_framebuffer_sRGB
|
250 |
#define WGL_ARB_framebuffer_sRGB 1
|
250 |
#define WGL_ARB_framebuffer_sRGB 1
|
251 |
|
251 |
|
252 |
#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
|
252 |
#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9
|
253 |
|
253 |
|
254 |
#define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB)
|
254 |
#define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB)
|
255 |
|
255 |
|
256 |
#endif /* WGL_ARB_framebuffer_sRGB */
|
256 |
#endif /* WGL_ARB_framebuffer_sRGB */
|
257 |
|
257 |
|
258 |
/* ----------------------- WGL_ARB_make_current_read ----------------------- */
|
258 |
/* ----------------------- WGL_ARB_make_current_read ----------------------- */
|
259 |
|
259 |
|
260 |
#ifndef WGL_ARB_make_current_read
|
260 |
#ifndef WGL_ARB_make_current_read
|
261 |
#define WGL_ARB_make_current_read 1
|
261 |
#define WGL_ARB_make_current_read 1
|
262 |
|
262 |
|
263 |
#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
|
263 |
#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
|
264 |
#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
|
264 |
#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
|
265 |
|
265 |
|
266 |
typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID);
|
266 |
typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID);
|
267 |
typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
267 |
typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
268 |
|
268 |
|
269 |
#define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB)
|
269 |
#define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB)
|
270 |
#define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB)
|
270 |
#define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB)
|
271 |
|
271 |
|
272 |
#define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read)
|
272 |
#define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read)
|
273 |
|
273 |
|
274 |
#endif /* WGL_ARB_make_current_read */
|
274 |
#endif /* WGL_ARB_make_current_read */
|
275 |
|
275 |
|
276 |
/* -------------------------- WGL_ARB_multisample -------------------------- */
|
276 |
/* -------------------------- WGL_ARB_multisample -------------------------- */
|
277 |
|
277 |
|
278 |
#ifndef WGL_ARB_multisample
|
278 |
#ifndef WGL_ARB_multisample
|
279 |
#define WGL_ARB_multisample 1
|
279 |
#define WGL_ARB_multisample 1
|
280 |
|
280 |
|
281 |
#define WGL_SAMPLE_BUFFERS_ARB 0x2041
|
281 |
#define WGL_SAMPLE_BUFFERS_ARB 0x2041
|
282 |
#define WGL_SAMPLES_ARB 0x2042
|
282 |
#define WGL_SAMPLES_ARB 0x2042
|
283 |
|
283 |
|
284 |
#define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample)
|
284 |
#define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample)
|
285 |
|
285 |
|
286 |
#endif /* WGL_ARB_multisample */
|
286 |
#endif /* WGL_ARB_multisample */
|
287 |
|
287 |
|
288 |
/* ---------------------------- WGL_ARB_pbuffer ---------------------------- */
|
288 |
/* ---------------------------- WGL_ARB_pbuffer ---------------------------- */
|
289 |
|
289 |
|
290 |
#ifndef WGL_ARB_pbuffer
|
290 |
#ifndef WGL_ARB_pbuffer
|
291 |
#define WGL_ARB_pbuffer 1
|
291 |
#define WGL_ARB_pbuffer 1
|
292 |
|
292 |
|
293 |
#define WGL_DRAW_TO_PBUFFER_ARB 0x202D
|
293 |
#define WGL_DRAW_TO_PBUFFER_ARB 0x202D
|
294 |
#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
|
294 |
#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
|
295 |
#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
|
295 |
#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
|
296 |
#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
|
296 |
#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
|
297 |
#define WGL_PBUFFER_LARGEST_ARB 0x2033
|
297 |
#define WGL_PBUFFER_LARGEST_ARB 0x2033
|
298 |
#define WGL_PBUFFER_WIDTH_ARB 0x2034
|
298 |
#define WGL_PBUFFER_WIDTH_ARB 0x2034
|
299 |
#define WGL_PBUFFER_HEIGHT_ARB 0x2035
|
299 |
#define WGL_PBUFFER_HEIGHT_ARB 0x2035
|
300 |
#define WGL_PBUFFER_LOST_ARB 0x2036
|
300 |
#define WGL_PBUFFER_LOST_ARB 0x2036
|
301 |
|
301 |
|
302 |
DECLARE_HANDLE(HPBUFFERARB);
|
302 |
DECLARE_HANDLE(HPBUFFERARB);
|
303 |
|
303 |
|
304 |
typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
|
304 |
typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
|
305 |
typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
|
305 |
typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
|
306 |
typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
|
306 |
typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
|
307 |
typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue);
|
307 |
typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue);
|
308 |
typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
|
308 |
typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
|
309 |
|
309 |
|
310 |
#define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB)
|
310 |
#define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB)
|
311 |
#define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB)
|
311 |
#define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB)
|
312 |
#define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB)
|
312 |
#define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB)
|
313 |
#define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB)
|
313 |
#define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB)
|
314 |
#define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB)
|
314 |
#define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB)
|
315 |
|
315 |
|
316 |
#define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer)
|
316 |
#define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer)
|
317 |
|
317 |
|
318 |
#endif /* WGL_ARB_pbuffer */
|
318 |
#endif /* WGL_ARB_pbuffer */
|
319 |
|
319 |
|
320 |
/* -------------------------- WGL_ARB_pixel_format ------------------------- */
|
320 |
/* -------------------------- WGL_ARB_pixel_format ------------------------- */
|
321 |
|
321 |
|
322 |
#ifndef WGL_ARB_pixel_format
|
322 |
#ifndef WGL_ARB_pixel_format
|
323 |
#define WGL_ARB_pixel_format 1
|
323 |
#define WGL_ARB_pixel_format 1
|
324 |
|
324 |
|
325 |
#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
|
325 |
#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
|
326 |
#define WGL_DRAW_TO_WINDOW_ARB 0x2001
|
326 |
#define WGL_DRAW_TO_WINDOW_ARB 0x2001
|
327 |
#define WGL_DRAW_TO_BITMAP_ARB 0x2002
|
327 |
#define WGL_DRAW_TO_BITMAP_ARB 0x2002
|
328 |
#define WGL_ACCELERATION_ARB 0x2003
|
328 |
#define WGL_ACCELERATION_ARB 0x2003
|
329 |
#define WGL_NEED_PALETTE_ARB 0x2004
|
329 |
#define WGL_NEED_PALETTE_ARB 0x2004
|
330 |
#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
|
330 |
#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
|
331 |
#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
|
331 |
#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
|
332 |
#define WGL_SWAP_METHOD_ARB 0x2007
|
332 |
#define WGL_SWAP_METHOD_ARB 0x2007
|
333 |
#define WGL_NUMBER_OVERLAYS_ARB 0x2008
|
333 |
#define WGL_NUMBER_OVERLAYS_ARB 0x2008
|
334 |
#define WGL_NUMBER_UNDERLAYS_ARB 0x2009
|
334 |
#define WGL_NUMBER_UNDERLAYS_ARB 0x2009
|
335 |
#define WGL_TRANSPARENT_ARB 0x200A
|
335 |
#define WGL_TRANSPARENT_ARB 0x200A
|
336 |
#define WGL_SHARE_DEPTH_ARB 0x200C
|
336 |
#define WGL_SHARE_DEPTH_ARB 0x200C
|
337 |
#define WGL_SHARE_STENCIL_ARB 0x200D
|
337 |
#define WGL_SHARE_STENCIL_ARB 0x200D
|
338 |
#define WGL_SHARE_ACCUM_ARB 0x200E
|
338 |
#define WGL_SHARE_ACCUM_ARB 0x200E
|
339 |
#define WGL_SUPPORT_GDI_ARB 0x200F
|
339 |
#define WGL_SUPPORT_GDI_ARB 0x200F
|
340 |
#define WGL_SUPPORT_OPENGL_ARB 0x2010
|
340 |
#define WGL_SUPPORT_OPENGL_ARB 0x2010
|
341 |
#define WGL_DOUBLE_BUFFER_ARB 0x2011
|
341 |
#define WGL_DOUBLE_BUFFER_ARB 0x2011
|
342 |
#define WGL_STEREO_ARB 0x2012
|
342 |
#define WGL_STEREO_ARB 0x2012
|
343 |
#define WGL_PIXEL_TYPE_ARB 0x2013
|
343 |
#define WGL_PIXEL_TYPE_ARB 0x2013
|
344 |
#define WGL_COLOR_BITS_ARB 0x2014
|
344 |
#define WGL_COLOR_BITS_ARB 0x2014
|
345 |
#define WGL_RED_BITS_ARB 0x2015
|
345 |
#define WGL_RED_BITS_ARB 0x2015
|
346 |
#define WGL_RED_SHIFT_ARB 0x2016
|
346 |
#define WGL_RED_SHIFT_ARB 0x2016
|
347 |
#define WGL_GREEN_BITS_ARB 0x2017
|
347 |
#define WGL_GREEN_BITS_ARB 0x2017
|
348 |
#define WGL_GREEN_SHIFT_ARB 0x2018
|
348 |
#define WGL_GREEN_SHIFT_ARB 0x2018
|
349 |
#define WGL_BLUE_BITS_ARB 0x2019
|
349 |
#define WGL_BLUE_BITS_ARB 0x2019
|
350 |
#define WGL_BLUE_SHIFT_ARB 0x201A
|
350 |
#define WGL_BLUE_SHIFT_ARB 0x201A
|
351 |
#define WGL_ALPHA_BITS_ARB 0x201B
|
351 |
#define WGL_ALPHA_BITS_ARB 0x201B
|
352 |
#define WGL_ALPHA_SHIFT_ARB 0x201C
|
352 |
#define WGL_ALPHA_SHIFT_ARB 0x201C
|
353 |
#define WGL_ACCUM_BITS_ARB 0x201D
|
353 |
#define WGL_ACCUM_BITS_ARB 0x201D
|
354 |
#define WGL_ACCUM_RED_BITS_ARB 0x201E
|
354 |
#define WGL_ACCUM_RED_BITS_ARB 0x201E
|
355 |
#define WGL_ACCUM_GREEN_BITS_ARB 0x201F
|
355 |
#define WGL_ACCUM_GREEN_BITS_ARB 0x201F
|
356 |
#define WGL_ACCUM_BLUE_BITS_ARB 0x2020
|
356 |
#define WGL_ACCUM_BLUE_BITS_ARB 0x2020
|
357 |
#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
|
357 |
#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
|
358 |
#define WGL_DEPTH_BITS_ARB 0x2022
|
358 |
#define WGL_DEPTH_BITS_ARB 0x2022
|
359 |
#define WGL_STENCIL_BITS_ARB 0x2023
|
359 |
#define WGL_STENCIL_BITS_ARB 0x2023
|
360 |
#define WGL_AUX_BUFFERS_ARB 0x2024
|
360 |
#define WGL_AUX_BUFFERS_ARB 0x2024
|
361 |
#define WGL_NO_ACCELERATION_ARB 0x2025
|
361 |
#define WGL_NO_ACCELERATION_ARB 0x2025
|
362 |
#define WGL_GENERIC_ACCELERATION_ARB 0x2026
|
362 |
#define WGL_GENERIC_ACCELERATION_ARB 0x2026
|
363 |
#define WGL_FULL_ACCELERATION_ARB 0x2027
|
363 |
#define WGL_FULL_ACCELERATION_ARB 0x2027
|
364 |
#define WGL_SWAP_EXCHANGE_ARB 0x2028
|
364 |
#define WGL_SWAP_EXCHANGE_ARB 0x2028
|
365 |
#define WGL_SWAP_COPY_ARB 0x2029
|
365 |
#define WGL_SWAP_COPY_ARB 0x2029
|
366 |
#define WGL_SWAP_UNDEFINED_ARB 0x202A
|
366 |
#define WGL_SWAP_UNDEFINED_ARB 0x202A
|
367 |
#define WGL_TYPE_RGBA_ARB 0x202B
|
367 |
#define WGL_TYPE_RGBA_ARB 0x202B
|
368 |
#define WGL_TYPE_COLORINDEX_ARB 0x202C
|
368 |
#define WGL_TYPE_COLORINDEX_ARB 0x202C
|
369 |
#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
|
369 |
#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
|
370 |
#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
|
370 |
#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
|
371 |
#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
|
371 |
#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
|
372 |
#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
|
372 |
#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
|
373 |
#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
|
373 |
#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
|
374 |
|
374 |
|
375 |
typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
|
375 |
typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
|
376 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues);
|
376 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues);
|
377 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues);
|
377 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues);
|
378 |
|
378 |
|
379 |
#define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB)
|
379 |
#define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB)
|
380 |
#define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB)
|
380 |
#define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB)
|
381 |
#define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB)
|
381 |
#define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB)
|
382 |
|
382 |
|
383 |
#define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format)
|
383 |
#define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format)
|
384 |
|
384 |
|
385 |
#endif /* WGL_ARB_pixel_format */
|
385 |
#endif /* WGL_ARB_pixel_format */
|
386 |
|
386 |
|
387 |
/* ----------------------- WGL_ARB_pixel_format_float ---------------------- */
|
387 |
/* ----------------------- WGL_ARB_pixel_format_float ---------------------- */
|
388 |
|
388 |
|
389 |
#ifndef WGL_ARB_pixel_format_float
|
389 |
#ifndef WGL_ARB_pixel_format_float
|
390 |
#define WGL_ARB_pixel_format_float 1
|
390 |
#define WGL_ARB_pixel_format_float 1
|
391 |
|
391 |
|
392 |
#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
|
392 |
#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
|
393 |
|
393 |
|
394 |
#define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float)
|
394 |
#define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float)
|
395 |
|
395 |
|
396 |
#endif /* WGL_ARB_pixel_format_float */
|
396 |
#endif /* WGL_ARB_pixel_format_float */
|
397 |
|
397 |
|
398 |
/* ------------------------- WGL_ARB_render_texture ------------------------ */
|
398 |
/* ------------------------- WGL_ARB_render_texture ------------------------ */
|
399 |
|
399 |
|
400 |
#ifndef WGL_ARB_render_texture
|
400 |
#ifndef WGL_ARB_render_texture
|
401 |
#define WGL_ARB_render_texture 1
|
401 |
#define WGL_ARB_render_texture 1
|
402 |
|
402 |
|
403 |
#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
|
403 |
#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
|
404 |
#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
|
404 |
#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
|
405 |
#define WGL_TEXTURE_FORMAT_ARB 0x2072
|
405 |
#define WGL_TEXTURE_FORMAT_ARB 0x2072
|
406 |
#define WGL_TEXTURE_TARGET_ARB 0x2073
|
406 |
#define WGL_TEXTURE_TARGET_ARB 0x2073
|
407 |
#define WGL_MIPMAP_TEXTURE_ARB 0x2074
|
407 |
#define WGL_MIPMAP_TEXTURE_ARB 0x2074
|
408 |
#define WGL_TEXTURE_RGB_ARB 0x2075
|
408 |
#define WGL_TEXTURE_RGB_ARB 0x2075
|
409 |
#define WGL_TEXTURE_RGBA_ARB 0x2076
|
409 |
#define WGL_TEXTURE_RGBA_ARB 0x2076
|
410 |
#define WGL_NO_TEXTURE_ARB 0x2077
|
410 |
#define WGL_NO_TEXTURE_ARB 0x2077
|
411 |
#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
|
411 |
#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
|
412 |
#define WGL_TEXTURE_1D_ARB 0x2079
|
412 |
#define WGL_TEXTURE_1D_ARB 0x2079
|
413 |
#define WGL_TEXTURE_2D_ARB 0x207A
|
413 |
#define WGL_TEXTURE_2D_ARB 0x207A
|
414 |
#define WGL_MIPMAP_LEVEL_ARB 0x207B
|
414 |
#define WGL_MIPMAP_LEVEL_ARB 0x207B
|
415 |
#define WGL_CUBE_MAP_FACE_ARB 0x207C
|
415 |
#define WGL_CUBE_MAP_FACE_ARB 0x207C
|
416 |
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
|
416 |
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
|
417 |
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
|
417 |
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
|
418 |
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
|
418 |
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
|
419 |
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
|
419 |
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
|
420 |
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
|
420 |
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
|
421 |
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
|
421 |
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
|
422 |
#define WGL_FRONT_LEFT_ARB 0x2083
|
422 |
#define WGL_FRONT_LEFT_ARB 0x2083
|
423 |
#define WGL_FRONT_RIGHT_ARB 0x2084
|
423 |
#define WGL_FRONT_RIGHT_ARB 0x2084
|
424 |
#define WGL_BACK_LEFT_ARB 0x2085
|
424 |
#define WGL_BACK_LEFT_ARB 0x2085
|
425 |
#define WGL_BACK_RIGHT_ARB 0x2086
|
425 |
#define WGL_BACK_RIGHT_ARB 0x2086
|
426 |
#define WGL_AUX0_ARB 0x2087
|
426 |
#define WGL_AUX0_ARB 0x2087
|
427 |
#define WGL_AUX1_ARB 0x2088
|
427 |
#define WGL_AUX1_ARB 0x2088
|
428 |
#define WGL_AUX2_ARB 0x2089
|
428 |
#define WGL_AUX2_ARB 0x2089
|
429 |
#define WGL_AUX3_ARB 0x208A
|
429 |
#define WGL_AUX3_ARB 0x208A
|
430 |
#define WGL_AUX4_ARB 0x208B
|
430 |
#define WGL_AUX4_ARB 0x208B
|
431 |
#define WGL_AUX5_ARB 0x208C
|
431 |
#define WGL_AUX5_ARB 0x208C
|
432 |
#define WGL_AUX6_ARB 0x208D
|
432 |
#define WGL_AUX6_ARB 0x208D
|
433 |
#define WGL_AUX7_ARB 0x208E
|
433 |
#define WGL_AUX7_ARB 0x208E
|
434 |
#define WGL_AUX8_ARB 0x208F
|
434 |
#define WGL_AUX8_ARB 0x208F
|
435 |
#define WGL_AUX9_ARB 0x2090
|
435 |
#define WGL_AUX9_ARB 0x2090
|
436 |
|
436 |
|
437 |
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
|
437 |
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
|
438 |
typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
|
438 |
typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
|
439 |
typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList);
|
439 |
typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList);
|
440 |
|
440 |
|
441 |
#define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB)
|
441 |
#define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB)
|
442 |
#define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB)
|
442 |
#define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB)
|
443 |
#define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB)
|
443 |
#define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB)
|
444 |
|
444 |
|
445 |
#define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture)
|
445 |
#define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture)
|
446 |
|
446 |
|
447 |
#endif /* WGL_ARB_render_texture */
|
447 |
#endif /* WGL_ARB_render_texture */
|
448 |
|
448 |
|
449 |
/* ----------------------- WGL_ATI_pixel_format_float ---------------------- */
|
449 |
/* ---------------- WGL_ARB_robustness_application_isolation --------------- */
|
450 |
|
450 |
|
451 |
#ifndef WGL_ATI_pixel_format_float
|
451 |
#ifndef WGL_ARB_robustness_application_isolation
|
452 |
#define WGL_ATI_pixel_format_float 1
|
452 |
#define WGL_ARB_robustness_application_isolation 1
|
453 |
|
453 |
|
454 |
#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
|
454 |
#define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
|
455 |
#define GL_RGBA_FLOAT_MODE_ATI 0x8820
|
455 |
|
456 |
#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
|
456 |
#define WGLEW_ARB_robustness_application_isolation WGLEW_GET_VAR(__WGLEW_ARB_robustness_application_isolation)
|
457 |
|
457 |
|
458 |
#define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float)
|
458 |
#endif /* WGL_ARB_robustness_application_isolation */
|
459 |
|
459 |
|
460 |
#endif /* WGL_ATI_pixel_format_float */
|
460 |
/* ---------------- WGL_ARB_robustness_share_group_isolation --------------- */
|
461 |
|
461 |
|
462 |
/* -------------------- WGL_ATI_render_texture_rectangle ------------------- */
|
462 |
#ifndef WGL_ARB_robustness_share_group_isolation
|
463 |
|
463 |
#define WGL_ARB_robustness_share_group_isolation 1
|
464 |
#ifndef WGL_ATI_render_texture_rectangle
|
464 |
|
465 |
#define WGL_ATI_render_texture_rectangle 1
|
465 |
#define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
|
466 |
|
466 |
|
467 |
#define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
|
467 |
#define WGLEW_ARB_robustness_share_group_isolation WGLEW_GET_VAR(__WGLEW_ARB_robustness_share_group_isolation)
|
468 |
|
468 |
|
469 |
#define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle)
|
469 |
#endif /* WGL_ARB_robustness_share_group_isolation */
|
470 |
|
470 |
|
471 |
#endif /* WGL_ATI_render_texture_rectangle */
|
471 |
/* ----------------------- WGL_ATI_pixel_format_float ---------------------- */
|
472 |
|
472 |
|
473 |
/* ------------------- WGL_EXT_create_context_es2_profile ------------------ */
|
473 |
#ifndef WGL_ATI_pixel_format_float
|
474 |
|
474 |
#define WGL_ATI_pixel_format_float 1
|
475 |
#ifndef WGL_EXT_create_context_es2_profile
|
475 |
|
476 |
#define WGL_EXT_create_context_es2_profile 1
|
476 |
#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
|
477 |
|
477 |
#define GL_RGBA_FLOAT_MODE_ATI 0x8820
|
478 |
#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
478 |
#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
|
479 |
|
479 |
|
480 |
#define WGLEW_EXT_create_context_es2_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es2_profile)
|
480 |
#define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float)
|
481 |
|
481 |
|
482 |
#endif /* WGL_EXT_create_context_es2_profile */
|
482 |
#endif /* WGL_ATI_pixel_format_float */
|
483 |
|
483 |
|
484 |
/* ------------------- WGL_EXT_create_context_es_profile ------------------- */
|
484 |
/* -------------------- WGL_ATI_render_texture_rectangle ------------------- */
|
485 |
|
485 |
|
486 |
#ifndef WGL_EXT_create_context_es_profile
|
486 |
#ifndef WGL_ATI_render_texture_rectangle
|
487 |
#define WGL_EXT_create_context_es_profile 1
|
487 |
#define WGL_ATI_render_texture_rectangle 1
|
488 |
|
488 |
|
489 |
#define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
|
489 |
#define WGL_TEXTURE_RECTANGLE_ATI 0x21A5
|
490 |
|
490 |
|
491 |
#define WGLEW_EXT_create_context_es_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es_profile)
|
491 |
#define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle)
|
492 |
|
492 |
|
493 |
#endif /* WGL_EXT_create_context_es_profile */
|
493 |
#endif /* WGL_ATI_render_texture_rectangle */
|
494 |
|
494 |
|
495 |
/* -------------------------- WGL_EXT_depth_float -------------------------- */
|
495 |
/* ------------------- WGL_EXT_create_context_es2_profile ------------------ */
|
496 |
|
496 |
|
497 |
#ifndef WGL_EXT_depth_float
|
497 |
#ifndef WGL_EXT_create_context_es2_profile
|
498 |
#define WGL_EXT_depth_float 1
|
498 |
#define WGL_EXT_create_context_es2_profile 1
|
499 |
|
499 |
|
500 |
#define WGL_DEPTH_FLOAT_EXT 0x2040
|
500 |
#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
|
501 |
|
501 |
|
502 |
#define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float)
|
502 |
#define WGLEW_EXT_create_context_es2_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es2_profile)
|
503 |
|
503 |
|
504 |
#endif /* WGL_EXT_depth_float */
|
504 |
#endif /* WGL_EXT_create_context_es2_profile */
|
505 |
|
505 |
|
506 |
/* ---------------------- WGL_EXT_display_color_table ---------------------- */
|
506 |
/* ------------------- WGL_EXT_create_context_es_profile ------------------- */
|
507 |
|
507 |
|
508 |
#ifndef WGL_EXT_display_color_table
|
508 |
#ifndef WGL_EXT_create_context_es_profile
|
509 |
#define WGL_EXT_display_color_table 1
|
509 |
#define WGL_EXT_create_context_es_profile 1
|
510 |
|
510 |
|
511 |
typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
511 |
#define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
|
512 |
typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
512 |
|
513 |
typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
513 |
#define WGLEW_EXT_create_context_es_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es_profile)
|
514 |
typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length);
|
514 |
|
515 |
|
515 |
#endif /* WGL_EXT_create_context_es_profile */
|
516 |
#define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT)
|
516 |
|
517 |
#define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT)
|
517 |
/* -------------------------- WGL_EXT_depth_float -------------------------- */
|
518 |
#define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT)
|
518 |
|
519 |
#define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT)
|
519 |
#ifndef WGL_EXT_depth_float
|
520 |
|
520 |
#define WGL_EXT_depth_float 1
|
521 |
#define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table)
|
521 |
|
522 |
|
522 |
#define WGL_DEPTH_FLOAT_EXT 0x2040
|
523 |
#endif /* WGL_EXT_display_color_table */
|
523 |
|
524 |
|
524 |
#define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float)
|
525 |
/* ----------------------- WGL_EXT_extensions_string ----------------------- */
|
525 |
|
526 |
|
526 |
#endif /* WGL_EXT_depth_float */
|
527 |
#ifndef WGL_EXT_extensions_string
|
527 |
|
528 |
#define WGL_EXT_extensions_string 1
|
528 |
/* ---------------------- WGL_EXT_display_color_table ---------------------- */
|
529 |
|
529 |
|
530 |
typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
|
530 |
#ifndef WGL_EXT_display_color_table
|
531 |
|
531 |
#define WGL_EXT_display_color_table 1
|
532 |
#define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT)
|
532 |
|
533 |
|
533 |
typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
534 |
#define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string)
|
534 |
typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
535 |
|
535 |
typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id);
|
536 |
#endif /* WGL_EXT_extensions_string */
|
536 |
typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length);
|
537 |
|
537 |
|
538 |
/* ------------------------ WGL_EXT_framebuffer_sRGB ----------------------- */
|
538 |
#define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT)
|
539 |
|
539 |
#define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT)
|
540 |
#ifndef WGL_EXT_framebuffer_sRGB
|
540 |
#define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT)
|
541 |
#define WGL_EXT_framebuffer_sRGB 1
|
541 |
#define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT)
|
542 |
|
542 |
|
543 |
#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
|
543 |
#define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table)
|
544 |
|
544 |
|
545 |
#define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB)
|
545 |
#endif /* WGL_EXT_display_color_table */
|
546 |
|
546 |
|
547 |
#endif /* WGL_EXT_framebuffer_sRGB */
|
547 |
/* ----------------------- WGL_EXT_extensions_string ----------------------- */
|
548 |
|
548 |
|
549 |
/* ----------------------- WGL_EXT_make_current_read ----------------------- */
|
549 |
#ifndef WGL_EXT_extensions_string
|
550 |
|
550 |
#define WGL_EXT_extensions_string 1
|
551 |
#ifndef WGL_EXT_make_current_read
|
551 |
|
552 |
#define WGL_EXT_make_current_read 1
|
552 |
typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
|
553 |
|
553 |
|
554 |
#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
|
554 |
#define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT)
|
555 |
|
555 |
|
556 |
typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID);
|
556 |
#define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string)
|
557 |
typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
557 |
|
558 |
|
558 |
#endif /* WGL_EXT_extensions_string */
|
559 |
#define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT)
|
559 |
|
560 |
#define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT)
|
560 |
/* ------------------------ WGL_EXT_framebuffer_sRGB ----------------------- */
|
561 |
|
561 |
|
562 |
#define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read)
|
562 |
#ifndef WGL_EXT_framebuffer_sRGB
|
563 |
|
563 |
#define WGL_EXT_framebuffer_sRGB 1
|
564 |
#endif /* WGL_EXT_make_current_read */
|
564 |
|
565 |
|
565 |
#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
|
566 |
/* -------------------------- WGL_EXT_multisample -------------------------- */
|
566 |
|
567 |
|
567 |
#define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB)
|
568 |
#ifndef WGL_EXT_multisample
|
568 |
|
569 |
#define WGL_EXT_multisample 1
|
569 |
#endif /* WGL_EXT_framebuffer_sRGB */
|
570 |
|
570 |
|
571 |
#define WGL_SAMPLE_BUFFERS_EXT 0x2041
|
571 |
/* ----------------------- WGL_EXT_make_current_read ----------------------- */
|
572 |
#define WGL_SAMPLES_EXT 0x2042
|
572 |
|
573 |
|
573 |
#ifndef WGL_EXT_make_current_read
|
574 |
#define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample)
|
574 |
#define WGL_EXT_make_current_read 1
|
575 |
|
575 |
|
576 |
#endif /* WGL_EXT_multisample */
|
576 |
#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
|
577 |
|
577 |
|
578 |
/* ---------------------------- WGL_EXT_pbuffer ---------------------------- */
|
578 |
typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID);
|
579 |
|
579 |
typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
580 |
#ifndef WGL_EXT_pbuffer
|
580 |
|
581 |
#define WGL_EXT_pbuffer 1
|
581 |
#define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT)
|
582 |
|
582 |
#define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT)
|
583 |
#define WGL_DRAW_TO_PBUFFER_EXT 0x202D
|
583 |
|
584 |
#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
|
584 |
#define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read)
|
585 |
#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
|
585 |
|
586 |
#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
|
586 |
#endif /* WGL_EXT_make_current_read */
|
587 |
#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
|
587 |
|
588 |
#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
|
588 |
/* -------------------------- WGL_EXT_multisample -------------------------- */
|
589 |
#define WGL_PBUFFER_LARGEST_EXT 0x2033
|
589 |
|
590 |
#define WGL_PBUFFER_WIDTH_EXT 0x2034
|
590 |
#ifndef WGL_EXT_multisample
|
591 |
#define WGL_PBUFFER_HEIGHT_EXT 0x2035
|
591 |
#define WGL_EXT_multisample 1
|
592 |
|
592 |
|
593 |
DECLARE_HANDLE(HPBUFFEREXT);
|
593 |
#define WGL_SAMPLE_BUFFERS_EXT 0x2041
|
594 |
|
594 |
#define WGL_SAMPLES_EXT 0x2042
|
595 |
typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
|
595 |
|
596 |
typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
|
596 |
#define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample)
|
597 |
typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
|
597 |
|
598 |
typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue);
|
598 |
#endif /* WGL_EXT_multisample */
|
599 |
typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
|
599 |
|
600 |
|
600 |
/* ---------------------------- WGL_EXT_pbuffer ---------------------------- */
|
601 |
#define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT)
|
601 |
|
602 |
#define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT)
|
602 |
#ifndef WGL_EXT_pbuffer
|
603 |
#define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT)
|
603 |
#define WGL_EXT_pbuffer 1
|
604 |
#define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT)
|
604 |
|
605 |
#define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT)
|
605 |
#define WGL_DRAW_TO_PBUFFER_EXT 0x202D
|
606 |
|
606 |
#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E
|
607 |
#define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer)
|
607 |
#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F
|
608 |
|
608 |
#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030
|
609 |
#endif /* WGL_EXT_pbuffer */
|
609 |
#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031
|
610 |
|
610 |
#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032
|
611 |
/* -------------------------- WGL_EXT_pixel_format ------------------------- */
|
611 |
#define WGL_PBUFFER_LARGEST_EXT 0x2033
|
612 |
|
612 |
#define WGL_PBUFFER_WIDTH_EXT 0x2034
|
613 |
#ifndef WGL_EXT_pixel_format
|
613 |
#define WGL_PBUFFER_HEIGHT_EXT 0x2035
|
614 |
#define WGL_EXT_pixel_format 1
|
614 |
|
615 |
|
615 |
DECLARE_HANDLE(HPBUFFEREXT);
|
616 |
#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
|
616 |
|
617 |
#define WGL_DRAW_TO_WINDOW_EXT 0x2001
|
617 |
typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList);
|
618 |
#define WGL_DRAW_TO_BITMAP_EXT 0x2002
|
618 |
typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer);
|
619 |
#define WGL_ACCELERATION_EXT 0x2003
|
619 |
typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer);
|
620 |
#define WGL_NEED_PALETTE_EXT 0x2004
|
620 |
typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue);
|
621 |
#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
|
621 |
typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC);
|
622 |
#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
|
622 |
|
623 |
#define WGL_SWAP_METHOD_EXT 0x2007
|
623 |
#define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT)
|
624 |
#define WGL_NUMBER_OVERLAYS_EXT 0x2008
|
624 |
#define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT)
|
625 |
#define WGL_NUMBER_UNDERLAYS_EXT 0x2009
|
625 |
#define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT)
|
626 |
#define WGL_TRANSPARENT_EXT 0x200A
|
626 |
#define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT)
|
627 |
#define WGL_TRANSPARENT_VALUE_EXT 0x200B
|
627 |
#define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT)
|
628 |
#define WGL_SHARE_DEPTH_EXT 0x200C
|
628 |
|
629 |
#define WGL_SHARE_STENCIL_EXT 0x200D
|
629 |
#define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer)
|
630 |
#define WGL_SHARE_ACCUM_EXT 0x200E
|
630 |
|
631 |
#define WGL_SUPPORT_GDI_EXT 0x200F
|
631 |
#endif /* WGL_EXT_pbuffer */
|
632 |
#define WGL_SUPPORT_OPENGL_EXT 0x2010
|
632 |
|
633 |
#define WGL_DOUBLE_BUFFER_EXT 0x2011
|
633 |
/* -------------------------- WGL_EXT_pixel_format ------------------------- */
|
634 |
#define WGL_STEREO_EXT 0x2012
|
634 |
|
635 |
#define WGL_PIXEL_TYPE_EXT 0x2013
|
635 |
#ifndef WGL_EXT_pixel_format
|
636 |
#define WGL_COLOR_BITS_EXT 0x2014
|
636 |
#define WGL_EXT_pixel_format 1
|
637 |
#define WGL_RED_BITS_EXT 0x2015
|
637 |
|
638 |
#define WGL_RED_SHIFT_EXT 0x2016
|
638 |
#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000
|
639 |
#define WGL_GREEN_BITS_EXT 0x2017
|
639 |
#define WGL_DRAW_TO_WINDOW_EXT 0x2001
|
640 |
#define WGL_GREEN_SHIFT_EXT 0x2018
|
640 |
#define WGL_DRAW_TO_BITMAP_EXT 0x2002
|
641 |
#define WGL_BLUE_BITS_EXT 0x2019
|
641 |
#define WGL_ACCELERATION_EXT 0x2003
|
642 |
#define WGL_BLUE_SHIFT_EXT 0x201A
|
642 |
#define WGL_NEED_PALETTE_EXT 0x2004
|
643 |
#define WGL_ALPHA_BITS_EXT 0x201B
|
643 |
#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005
|
644 |
#define WGL_ALPHA_SHIFT_EXT 0x201C
|
644 |
#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006
|
645 |
#define WGL_ACCUM_BITS_EXT 0x201D
|
645 |
#define WGL_SWAP_METHOD_EXT 0x2007
|
646 |
#define WGL_ACCUM_RED_BITS_EXT 0x201E
|
646 |
#define WGL_NUMBER_OVERLAYS_EXT 0x2008
|
647 |
#define WGL_ACCUM_GREEN_BITS_EXT 0x201F
|
647 |
#define WGL_NUMBER_UNDERLAYS_EXT 0x2009
|
648 |
#define WGL_ACCUM_BLUE_BITS_EXT 0x2020
|
648 |
#define WGL_TRANSPARENT_EXT 0x200A
|
649 |
#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
|
649 |
#define WGL_TRANSPARENT_VALUE_EXT 0x200B
|
650 |
#define WGL_DEPTH_BITS_EXT 0x2022
|
650 |
#define WGL_SHARE_DEPTH_EXT 0x200C
|
651 |
#define WGL_STENCIL_BITS_EXT 0x2023
|
651 |
#define WGL_SHARE_STENCIL_EXT 0x200D
|
652 |
#define WGL_AUX_BUFFERS_EXT 0x2024
|
652 |
#define WGL_SHARE_ACCUM_EXT 0x200E
|
653 |
#define WGL_NO_ACCELERATION_EXT 0x2025
|
653 |
#define WGL_SUPPORT_GDI_EXT 0x200F
|
654 |
#define WGL_GENERIC_ACCELERATION_EXT 0x2026
|
654 |
#define WGL_SUPPORT_OPENGL_EXT 0x2010
|
655 |
#define WGL_FULL_ACCELERATION_EXT 0x2027
|
655 |
#define WGL_DOUBLE_BUFFER_EXT 0x2011
|
656 |
#define WGL_SWAP_EXCHANGE_EXT 0x2028
|
656 |
#define WGL_STEREO_EXT 0x2012
|
657 |
#define WGL_SWAP_COPY_EXT 0x2029
|
657 |
#define WGL_PIXEL_TYPE_EXT 0x2013
|
658 |
#define WGL_SWAP_UNDEFINED_EXT 0x202A
|
658 |
#define WGL_COLOR_BITS_EXT 0x2014
|
659 |
#define WGL_TYPE_RGBA_EXT 0x202B
|
659 |
#define WGL_RED_BITS_EXT 0x2015
|
660 |
#define WGL_TYPE_COLORINDEX_EXT 0x202C
|
660 |
#define WGL_RED_SHIFT_EXT 0x2016
|
661 |
|
661 |
#define WGL_GREEN_BITS_EXT 0x2017
|
662 |
typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
|
662 |
#define WGL_GREEN_SHIFT_EXT 0x2018
|
663 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues);
|
663 |
#define WGL_BLUE_BITS_EXT 0x2019
|
664 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues);
|
664 |
#define WGL_BLUE_SHIFT_EXT 0x201A
|
665 |
|
665 |
#define WGL_ALPHA_BITS_EXT 0x201B
|
666 |
#define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT)
|
666 |
#define WGL_ALPHA_SHIFT_EXT 0x201C
|
667 |
#define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT)
|
667 |
#define WGL_ACCUM_BITS_EXT 0x201D
|
668 |
#define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT)
|
668 |
#define WGL_ACCUM_RED_BITS_EXT 0x201E
|
669 |
|
669 |
#define WGL_ACCUM_GREEN_BITS_EXT 0x201F
|
670 |
#define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format)
|
670 |
#define WGL_ACCUM_BLUE_BITS_EXT 0x2020
|
671 |
|
671 |
#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021
|
672 |
#endif /* WGL_EXT_pixel_format */
|
672 |
#define WGL_DEPTH_BITS_EXT 0x2022
|
673 |
|
673 |
#define WGL_STENCIL_BITS_EXT 0x2023
|
674 |
/* ------------------- WGL_EXT_pixel_format_packed_float ------------------- */
|
674 |
#define WGL_AUX_BUFFERS_EXT 0x2024
|
675 |
|
675 |
#define WGL_NO_ACCELERATION_EXT 0x2025
|
676 |
#ifndef WGL_EXT_pixel_format_packed_float
|
676 |
#define WGL_GENERIC_ACCELERATION_EXT 0x2026
|
677 |
#define WGL_EXT_pixel_format_packed_float 1
|
677 |
#define WGL_FULL_ACCELERATION_EXT 0x2027
|
678 |
|
678 |
#define WGL_SWAP_EXCHANGE_EXT 0x2028
|
679 |
#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
|
679 |
#define WGL_SWAP_COPY_EXT 0x2029
|
680 |
|
680 |
#define WGL_SWAP_UNDEFINED_EXT 0x202A
|
681 |
#define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float)
|
681 |
#define WGL_TYPE_RGBA_EXT 0x202B
|
682 |
|
682 |
#define WGL_TYPE_COLORINDEX_EXT 0x202C
|
683 |
#endif /* WGL_EXT_pixel_format_packed_float */
|
683 |
|
684 |
|
684 |
typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
|
685 |
/* -------------------------- WGL_EXT_swap_control ------------------------- */
|
685 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues);
|
686 |
|
686 |
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues);
|
687 |
#ifndef WGL_EXT_swap_control
|
687 |
|
688 |
#define WGL_EXT_swap_control 1
|
688 |
#define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT)
|
689 |
|
689 |
#define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT)
|
690 |
typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
|
690 |
#define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT)
|
691 |
typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
691 |
|
692 |
|
692 |
#define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format)
|
693 |
#define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT)
|
693 |
|
694 |
#define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT)
|
694 |
#endif /* WGL_EXT_pixel_format */
|
695 |
|
695 |
|
696 |
#define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control)
|
696 |
/* ------------------- WGL_EXT_pixel_format_packed_float ------------------- */
|
697 |
|
697 |
|
698 |
#endif /* WGL_EXT_swap_control */
|
698 |
#ifndef WGL_EXT_pixel_format_packed_float
|
699 |
|
699 |
#define WGL_EXT_pixel_format_packed_float 1
|
700 |
/* ----------------------- WGL_EXT_swap_control_tear ----------------------- */
|
700 |
|
701 |
|
701 |
#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
|
702 |
#ifndef WGL_EXT_swap_control_tear
|
702 |
|
703 |
#define WGL_EXT_swap_control_tear 1
|
703 |
#define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float)
|
704 |
|
704 |
|
705 |
#define WGLEW_EXT_swap_control_tear WGLEW_GET_VAR(__WGLEW_EXT_swap_control_tear)
|
705 |
#endif /* WGL_EXT_pixel_format_packed_float */
|
706 |
|
706 |
|
707 |
#endif /* WGL_EXT_swap_control_tear */
|
707 |
/* -------------------------- WGL_EXT_swap_control ------------------------- */
|
708 |
|
708 |
|
709 |
/* --------------------- WGL_I3D_digital_video_control --------------------- */
|
709 |
#ifndef WGL_EXT_swap_control
|
710 |
|
710 |
#define WGL_EXT_swap_control 1
|
711 |
#ifndef WGL_I3D_digital_video_control
|
711 |
|
712 |
#define WGL_I3D_digital_video_control 1
|
712 |
typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
|
713 |
|
713 |
typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
714 |
#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
|
714 |
|
715 |
#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
|
715 |
#define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT)
|
716 |
#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
|
716 |
#define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT)
|
717 |
#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
|
717 |
|
718 |
|
718 |
#define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control)
|
719 |
typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
|
719 |
|
720 |
typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
|
720 |
#endif /* WGL_EXT_swap_control */
|
721 |
|
721 |
|
722 |
#define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D)
|
722 |
/* ----------------------- WGL_EXT_swap_control_tear ----------------------- */
|
723 |
#define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D)
|
723 |
|
724 |
|
724 |
#ifndef WGL_EXT_swap_control_tear
|
725 |
#define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control)
|
725 |
#define WGL_EXT_swap_control_tear 1
|
726 |
|
726 |
|
727 |
#endif /* WGL_I3D_digital_video_control */
|
727 |
#define WGLEW_EXT_swap_control_tear WGLEW_GET_VAR(__WGLEW_EXT_swap_control_tear)
|
728 |
|
728 |
|
729 |
/* ----------------------------- WGL_I3D_gamma ----------------------------- */
|
729 |
#endif /* WGL_EXT_swap_control_tear */
|
730 |
|
730 |
|
731 |
#ifndef WGL_I3D_gamma
|
731 |
/* --------------------- WGL_I3D_digital_video_control --------------------- */
|
732 |
#define WGL_I3D_gamma 1
|
732 |
|
733 |
|
733 |
#ifndef WGL_I3D_digital_video_control
|
734 |
#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
|
734 |
#define WGL_I3D_digital_video_control 1
|
735 |
#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
|
735 |
|
736 |
|
736 |
#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
|
737 |
typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue);
|
737 |
#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051
|
738 |
typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
|
738 |
#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052
|
739 |
typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue);
|
739 |
#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053
|
740 |
typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
|
740 |
|
741 |
|
741 |
typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
|
742 |
#define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D)
|
742 |
typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
|
743 |
#define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D)
|
743 |
|
744 |
#define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D)
|
744 |
#define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D)
|
745 |
#define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D)
|
745 |
#define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D)
|
746 |
|
746 |
|
747 |
#define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma)
|
747 |
#define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control)
|
748 |
|
748 |
|
749 |
#endif /* WGL_I3D_gamma */
|
749 |
#endif /* WGL_I3D_digital_video_control */
|
750 |
|
750 |
|
751 |
/* ---------------------------- WGL_I3D_genlock ---------------------------- */
|
751 |
/* ----------------------------- WGL_I3D_gamma ----------------------------- */
|
752 |
|
752 |
|
753 |
#ifndef WGL_I3D_genlock
|
753 |
#ifndef WGL_I3D_gamma
|
754 |
#define WGL_I3D_genlock 1
|
754 |
#define WGL_I3D_gamma 1
|
755 |
|
755 |
|
756 |
#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
|
756 |
#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E
|
757 |
#define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
|
757 |
#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F
|
758 |
#define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
|
758 |
|
759 |
#define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
|
759 |
typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue);
|
760 |
#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
|
760 |
typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue);
|
761 |
#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
|
761 |
typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue);
|
762 |
#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
|
762 |
typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue);
|
763 |
#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
|
763 |
|
764 |
#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
|
764 |
#define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D)
|
765 |
|
765 |
#define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D)
|
766 |
typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
|
766 |
#define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D)
|
767 |
typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
|
767 |
#define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D)
|
768 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
|
768 |
|
769 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
|
769 |
#define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma)
|
770 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
|
770 |
|
771 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
|
771 |
#endif /* WGL_I3D_gamma */
|
772 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate);
|
772 |
|
773 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay);
|
773 |
/* ---------------------------- WGL_I3D_genlock ---------------------------- */
|
774 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge);
|
774 |
|
775 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource);
|
775 |
#ifndef WGL_I3D_genlock
|
776 |
typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag);
|
776 |
#define WGL_I3D_genlock 1
|
777 |
typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay);
|
777 |
|
778 |
|
778 |
#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044
|
779 |
#define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D)
|
779 |
#define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045
|
780 |
#define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D)
|
780 |
#define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046
|
781 |
#define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D)
|
781 |
#define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047
|
782 |
#define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D)
|
782 |
#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048
|
783 |
#define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D)
|
783 |
#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
|
784 |
#define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D)
|
784 |
#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A
|
785 |
#define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D)
|
785 |
#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B
|
786 |
#define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D)
|
786 |
#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C
|
787 |
#define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D)
|
787 |
|
788 |
#define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D)
|
788 |
typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC);
|
789 |
#define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D)
|
789 |
typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC);
|
790 |
#define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D)
|
790 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate);
|
791 |
|
791 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay);
|
792 |
#define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock)
|
792 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge);
|
793 |
|
793 |
typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource);
|
794 |
#endif /* WGL_I3D_genlock */
|
794 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate);
|
795 |
|
795 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay);
|
796 |
/* -------------------------- WGL_I3D_image_buffer ------------------------- */
|
796 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge);
|
797 |
|
797 |
typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource);
|
798 |
#ifndef WGL_I3D_image_buffer
|
798 |
typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag);
|
799 |
#define WGL_I3D_image_buffer 1
|
799 |
typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay);
|
800 |
|
800 |
|
801 |
#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
|
801 |
#define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D)
|
802 |
#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
|
802 |
#define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D)
|
803 |
|
803 |
#define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D)
|
804 |
typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count);
|
804 |
#define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D)
|
805 |
typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
|
805 |
#define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D)
|
806 |
typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
|
806 |
#define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D)
|
807 |
typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count);
|
807 |
#define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D)
|
808 |
|
808 |
#define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D)
|
809 |
#define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D)
|
809 |
#define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D)
|
810 |
#define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D)
|
810 |
#define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D)
|
811 |
#define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D)
|
811 |
#define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D)
|
812 |
#define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D)
|
812 |
#define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D)
|
813 |
|
813 |
|
814 |
#define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer)
|
814 |
#define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock)
|
815 |
|
815 |
|
816 |
#endif /* WGL_I3D_image_buffer */
|
816 |
#endif /* WGL_I3D_genlock */
|
817 |
|
817 |
|
818 |
/* ------------------------ WGL_I3D_swap_frame_lock ------------------------ */
|
818 |
/* -------------------------- WGL_I3D_image_buffer ------------------------- */
|
819 |
|
819 |
|
820 |
#ifndef WGL_I3D_swap_frame_lock
|
820 |
#ifndef WGL_I3D_image_buffer
|
821 |
#define WGL_I3D_swap_frame_lock 1
|
821 |
#define WGL_I3D_image_buffer 1
|
822 |
|
822 |
|
823 |
typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID);
|
823 |
#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001
|
824 |
typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID);
|
824 |
#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002
|
825 |
typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag);
|
825 |
|
826 |
typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag);
|
826 |
typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count);
|
827 |
|
827 |
typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags);
|
828 |
#define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D)
|
828 |
typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress);
|
829 |
#define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D)
|
829 |
typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count);
|
830 |
#define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D)
|
830 |
|
831 |
#define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D)
|
831 |
#define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D)
|
832 |
|
832 |
#define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D)
|
833 |
#define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock)
|
833 |
#define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D)
|
834 |
|
834 |
#define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D)
|
835 |
#endif /* WGL_I3D_swap_frame_lock */
|
835 |
|
836 |
|
836 |
#define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer)
|
837 |
/* ------------------------ WGL_I3D_swap_frame_usage ----------------------- */
|
837 |
|
838 |
|
838 |
#endif /* WGL_I3D_image_buffer */
|
839 |
#ifndef WGL_I3D_swap_frame_usage
|
839 |
|
840 |
#define WGL_I3D_swap_frame_usage 1
|
840 |
/* ------------------------ WGL_I3D_swap_frame_lock ------------------------ */
|
841 |
|
841 |
|
842 |
typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
|
842 |
#ifndef WGL_I3D_swap_frame_lock
|
843 |
typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
|
843 |
#define WGL_I3D_swap_frame_lock 1
|
844 |
typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage);
|
844 |
|
845 |
typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
|
845 |
typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID);
|
846 |
|
846 |
typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID);
|
847 |
#define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D)
|
847 |
typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag);
|
848 |
#define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D)
|
848 |
typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag);
|
849 |
#define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D)
|
849 |
|
850 |
#define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D)
|
850 |
#define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D)
|
851 |
|
851 |
#define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D)
|
852 |
#define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage)
|
852 |
#define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D)
|
853 |
|
853 |
#define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D)
|
854 |
#endif /* WGL_I3D_swap_frame_usage */
|
854 |
|
855 |
|
855 |
#define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock)
|
856 |
/* --------------------------- WGL_NV_DX_interop --------------------------- */
|
856 |
|
857 |
|
857 |
#endif /* WGL_I3D_swap_frame_lock */
|
858 |
#ifndef WGL_NV_DX_interop
|
858 |
|
859 |
#define WGL_NV_DX_interop 1
|
859 |
/* ------------------------ WGL_I3D_swap_frame_usage ----------------------- */
|
860 |
|
860 |
|
861 |
#define WGL_ACCESS_READ_ONLY_NV 0x0000
|
861 |
#ifndef WGL_I3D_swap_frame_usage
|
862 |
#define WGL_ACCESS_READ_WRITE_NV 0x0001
|
862 |
#define WGL_I3D_swap_frame_usage 1
|
863 |
#define WGL_ACCESS_WRITE_DISCARD_NV 0x0002
|
863 |
|
864 |
|
864 |
typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void);
|
865 |
typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
|
865 |
typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void);
|
866 |
typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
|
866 |
typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage);
|
867 |
typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access);
|
867 |
typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage);
|
868 |
typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void* dxDevice);
|
868 |
|
869 |
typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void* dxObject, GLuint name, GLenum type, GLenum access);
|
869 |
#define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D)
|
870 |
typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void* dxObject, HANDLE shareHandle);
|
870 |
#define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D)
|
871 |
typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
|
871 |
#define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D)
|
872 |
typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject);
|
872 |
#define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D)
|
873 |
|
873 |
|
874 |
#define wglDXCloseDeviceNV WGLEW_GET_FUN(__wglewDXCloseDeviceNV)
|
874 |
#define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage)
|
875 |
#define wglDXLockObjectsNV WGLEW_GET_FUN(__wglewDXLockObjectsNV)
|
875 |
|
876 |
#define wglDXObjectAccessNV WGLEW_GET_FUN(__wglewDXObjectAccessNV)
|
876 |
#endif /* WGL_I3D_swap_frame_usage */
|
877 |
#define wglDXOpenDeviceNV WGLEW_GET_FUN(__wglewDXOpenDeviceNV)
|
877 |
|
878 |
#define wglDXRegisterObjectNV WGLEW_GET_FUN(__wglewDXRegisterObjectNV)
|
878 |
/* --------------------------- WGL_NV_DX_interop --------------------------- */
|
879 |
#define wglDXSetResourceShareHandleNV WGLEW_GET_FUN(__wglewDXSetResourceShareHandleNV)
|
879 |
|
880 |
#define wglDXUnlockObjectsNV WGLEW_GET_FUN(__wglewDXUnlockObjectsNV)
|
880 |
#ifndef WGL_NV_DX_interop
|
881 |
#define wglDXUnregisterObjectNV WGLEW_GET_FUN(__wglewDXUnregisterObjectNV)
|
881 |
#define WGL_NV_DX_interop 1
|
882 |
|
882 |
|
883 |
#define WGLEW_NV_DX_interop WGLEW_GET_VAR(__WGLEW_NV_DX_interop)
|
883 |
#define WGL_ACCESS_READ_ONLY_NV 0x0000
|
884 |
|
884 |
#define WGL_ACCESS_READ_WRITE_NV 0x0001
|
885 |
#endif /* WGL_NV_DX_interop */
|
885 |
#define WGL_ACCESS_WRITE_DISCARD_NV 0x0002
|
886 |
|
886 |
|
887 |
/* --------------------------- WGL_NV_DX_interop2 -------------------------- */
|
887 |
typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
|
888 |
|
888 |
typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
|
889 |
#ifndef WGL_NV_DX_interop2
|
889 |
typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access);
|
890 |
#define WGL_NV_DX_interop2 1
|
890 |
typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void* dxDevice);
|
891 |
|
891 |
typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void* dxObject, GLuint name, GLenum type, GLenum access);
|
892 |
#define WGLEW_NV_DX_interop2 WGLEW_GET_VAR(__WGLEW_NV_DX_interop2)
|
892 |
typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void* dxObject, HANDLE shareHandle);
|
893 |
|
893 |
typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects);
|
894 |
#endif /* WGL_NV_DX_interop2 */
|
894 |
typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject);
|
895 |
|
895 |
|
896 |
/* --------------------------- WGL_NV_copy_image --------------------------- */
|
896 |
#define wglDXCloseDeviceNV WGLEW_GET_FUN(__wglewDXCloseDeviceNV)
|
897 |
|
897 |
#define wglDXLockObjectsNV WGLEW_GET_FUN(__wglewDXLockObjectsNV)
|
898 |
#ifndef WGL_NV_copy_image
|
898 |
#define wglDXObjectAccessNV WGLEW_GET_FUN(__wglewDXObjectAccessNV)
|
899 |
#define WGL_NV_copy_image 1
|
899 |
#define wglDXOpenDeviceNV WGLEW_GET_FUN(__wglewDXOpenDeviceNV)
|
900 |
|
900 |
#define wglDXRegisterObjectNV WGLEW_GET_FUN(__wglewDXRegisterObjectNV)
|
901 |
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);
|
901 |
#define wglDXSetResourceShareHandleNV WGLEW_GET_FUN(__wglewDXSetResourceShareHandleNV)
|
902 |
|
902 |
#define wglDXUnlockObjectsNV WGLEW_GET_FUN(__wglewDXUnlockObjectsNV)
|
903 |
#define wglCopyImageSubDataNV WGLEW_GET_FUN(__wglewCopyImageSubDataNV)
|
903 |
#define wglDXUnregisterObjectNV WGLEW_GET_FUN(__wglewDXUnregisterObjectNV)
|
904 |
|
904 |
|
905 |
#define WGLEW_NV_copy_image WGLEW_GET_VAR(__WGLEW_NV_copy_image)
|
905 |
#define WGLEW_NV_DX_interop WGLEW_GET_VAR(__WGLEW_NV_DX_interop)
|
906 |
|
906 |
|
907 |
#endif /* WGL_NV_copy_image */
|
907 |
#endif /* WGL_NV_DX_interop */
|
908 |
|
908 |
|
909 |
/* -------------------------- WGL_NV_float_buffer -------------------------- */
|
909 |
/* --------------------------- WGL_NV_DX_interop2 -------------------------- */
|
910 |
|
910 |
|
911 |
#ifndef WGL_NV_float_buffer
|
911 |
#ifndef WGL_NV_DX_interop2
|
912 |
#define WGL_NV_float_buffer 1
|
912 |
#define WGL_NV_DX_interop2 1
|
913 |
|
913 |
|
914 |
#define WGL_FLOAT_COMPONENTS_NV 0x20B0
|
914 |
#define WGLEW_NV_DX_interop2 WGLEW_GET_VAR(__WGLEW_NV_DX_interop2)
|
915 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
|
915 |
|
916 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
|
916 |
#endif /* WGL_NV_DX_interop2 */
|
917 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
|
917 |
|
918 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
|
918 |
/* --------------------------- WGL_NV_copy_image --------------------------- */
|
919 |
#define WGL_TEXTURE_FLOAT_R_NV 0x20B5
|
919 |
|
920 |
#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
|
920 |
#ifndef WGL_NV_copy_image
|
921 |
#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
|
921 |
#define WGL_NV_copy_image 1
|
922 |
#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
|
922 |
|
923 |
|
923 |
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);
|
924 |
#define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer)
|
924 |
|
925 |
|
925 |
#define wglCopyImageSubDataNV WGLEW_GET_FUN(__wglewCopyImageSubDataNV)
|
926 |
#endif /* WGL_NV_float_buffer */
|
926 |
|
927 |
|
927 |
#define WGLEW_NV_copy_image WGLEW_GET_VAR(__WGLEW_NV_copy_image)
|
928 |
/* -------------------------- WGL_NV_gpu_affinity -------------------------- */
|
928 |
|
929 |
|
929 |
#endif /* WGL_NV_copy_image */
|
930 |
#ifndef WGL_NV_gpu_affinity
|
930 |
|
931 |
#define WGL_NV_gpu_affinity 1
|
931 |
/* -------------------------- WGL_NV_float_buffer -------------------------- */
|
932 |
|
932 |
|
933 |
#define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
|
933 |
#ifndef WGL_NV_float_buffer
|
934 |
#define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
|
934 |
#define WGL_NV_float_buffer 1
|
935 |
|
935 |
|
936 |
DECLARE_HANDLE(HGPUNV);
|
936 |
#define WGL_FLOAT_COMPONENTS_NV 0x20B0
|
937 |
typedef struct _GPU_DEVICE {
|
937 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
|
938 |
DWORD cb;
|
938 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
|
939 |
CHAR DeviceName[32];
|
939 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
|
940 |
CHAR DeviceString[128];
|
940 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
|
941 |
DWORD Flags;
|
941 |
#define WGL_TEXTURE_FLOAT_R_NV 0x20B5
|
942 |
RECT rcVirtualScreen;
|
942 |
#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
|
943 |
} GPU_DEVICE, *PGPU_DEVICE;
|
943 |
#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
|
944 |
|
944 |
#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
|
945 |
typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
|
945 |
|
946 |
typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc);
|
946 |
#define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer)
|
947 |
typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
|
947 |
|
948 |
typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
|
948 |
#endif /* WGL_NV_float_buffer */
|
949 |
typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
|
949 |
|
950 |
|
950 |
/* -------------------------- WGL_NV_gpu_affinity -------------------------- */
|
951 |
#define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV)
|
951 |
|
952 |
#define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV)
|
952 |
#ifndef WGL_NV_gpu_affinity
|
953 |
#define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV)
|
953 |
#define WGL_NV_gpu_affinity 1
|
954 |
#define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV)
|
954 |
|
955 |
#define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV)
|
955 |
#define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
|
956 |
|
956 |
#define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
|
957 |
#define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity)
|
957 |
|
958 |
|
958 |
DECLARE_HANDLE(HGPUNV);
|
959 |
#endif /* WGL_NV_gpu_affinity */
|
959 |
typedef struct _GPU_DEVICE {
|
960 |
|
960 |
DWORD cb;
|
961 |
/* ---------------------- WGL_NV_multisample_coverage ---------------------- */
|
961 |
CHAR DeviceName[32];
|
962 |
|
962 |
CHAR DeviceString[128];
|
963 |
#ifndef WGL_NV_multisample_coverage
|
963 |
DWORD Flags;
|
964 |
#define WGL_NV_multisample_coverage 1
|
964 |
RECT rcVirtualScreen;
|
965 |
|
965 |
} GPU_DEVICE, *PGPU_DEVICE;
|
966 |
#define WGL_COVERAGE_SAMPLES_NV 0x2042
|
966 |
|
967 |
#define WGL_COLOR_SAMPLES_NV 0x20B9
|
967 |
typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList);
|
968 |
|
968 |
typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc);
|
969 |
#define WGLEW_NV_multisample_coverage WGLEW_GET_VAR(__WGLEW_NV_multisample_coverage)
|
969 |
typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice);
|
970 |
|
970 |
typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu);
|
971 |
#endif /* WGL_NV_multisample_coverage */
|
971 |
typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu);
|
972 |
|
972 |
|
973 |
/* -------------------------- WGL_NV_present_video ------------------------- */
|
973 |
#define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV)
|
974 |
|
974 |
#define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV)
|
975 |
#ifndef WGL_NV_present_video
|
975 |
#define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV)
|
976 |
#define WGL_NV_present_video 1
|
976 |
#define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV)
|
977 |
|
977 |
#define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV)
|
978 |
#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
|
978 |
|
979 |
|
979 |
#define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity)
|
980 |
DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
|
980 |
|
981 |
|
981 |
#endif /* WGL_NV_gpu_affinity */
|
982 |
typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList);
|
982 |
|
983 |
typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList);
|
983 |
/* ---------------------- WGL_NV_multisample_coverage ---------------------- */
|
984 |
typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int* piValue);
|
984 |
|
985 |
|
985 |
#ifndef WGL_NV_multisample_coverage
|
986 |
#define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV)
|
986 |
#define WGL_NV_multisample_coverage 1
|
987 |
#define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV)
|
987 |
|
988 |
#define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV)
|
988 |
#define WGL_COVERAGE_SAMPLES_NV 0x2042
|
989 |
|
989 |
#define WGL_COLOR_SAMPLES_NV 0x20B9
|
990 |
#define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video)
|
990 |
|
991 |
|
991 |
#define WGLEW_NV_multisample_coverage WGLEW_GET_VAR(__WGLEW_NV_multisample_coverage)
|
992 |
#endif /* WGL_NV_present_video */
|
992 |
|
993 |
|
993 |
#endif /* WGL_NV_multisample_coverage */
|
994 |
/* ---------------------- WGL_NV_render_depth_texture ---------------------- */
|
994 |
|
995 |
|
995 |
/* -------------------------- WGL_NV_present_video ------------------------- */
|
996 |
#ifndef WGL_NV_render_depth_texture
|
996 |
|
997 |
#define WGL_NV_render_depth_texture 1
|
997 |
#ifndef WGL_NV_present_video
|
998 |
|
998 |
#define WGL_NV_present_video 1
|
999 |
#define WGL_NO_TEXTURE_ARB 0x2077
|
999 |
|
1000 |
#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
|
1000 |
#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0
|
1001 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
|
1001 |
|
1002 |
#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
|
1002 |
DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV);
|
1003 |
#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
|
1003 |
|
1004 |
#define WGL_DEPTH_COMPONENT_NV 0x20A7
|
1004 |
typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList);
|
1005 |
|
1005 |
typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList);
|
1006 |
#define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture)
|
1006 |
typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int* piValue);
|
1007 |
|
1007 |
|
1008 |
#endif /* WGL_NV_render_depth_texture */
|
1008 |
#define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV)
|
1009 |
|
1009 |
#define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV)
|
1010 |
/* -------------------- WGL_NV_render_texture_rectangle -------------------- */
|
1010 |
#define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV)
|
1011 |
|
1011 |
|
1012 |
#ifndef WGL_NV_render_texture_rectangle
|
1012 |
#define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video)
|
1013 |
#define WGL_NV_render_texture_rectangle 1
|
1013 |
|
1014 |
|
1014 |
#endif /* WGL_NV_present_video */
|
1015 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
|
1015 |
|
1016 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
|
1016 |
/* ---------------------- WGL_NV_render_depth_texture ---------------------- */
|
1017 |
#define WGL_TEXTURE_RECTANGLE_NV 0x20A2
|
1017 |
|
1018 |
|
1018 |
#ifndef WGL_NV_render_depth_texture
|
1019 |
#define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle)
|
1019 |
#define WGL_NV_render_depth_texture 1
|
1020 |
|
1020 |
|
1021 |
#endif /* WGL_NV_render_texture_rectangle */
|
1021 |
#define WGL_NO_TEXTURE_ARB 0x2077
|
1022 |
|
1022 |
#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
|
1023 |
/* --------------------------- WGL_NV_swap_group --------------------------- */
|
1023 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
|
1024 |
|
1024 |
#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
|
1025 |
#ifndef WGL_NV_swap_group
|
1025 |
#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
|
1026 |
#define WGL_NV_swap_group 1
|
1026 |
#define WGL_DEPTH_COMPONENT_NV 0x20A7
|
1027 |
|
1027 |
|
1028 |
typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier);
|
1028 |
#define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture)
|
1029 |
typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group);
|
1029 |
|
1030 |
typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint* count);
|
1030 |
#endif /* WGL_NV_render_depth_texture */
|
1031 |
typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers);
|
1031 |
|
1032 |
typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint* group, GLuint *barrier);
|
1032 |
/* -------------------- WGL_NV_render_texture_rectangle -------------------- */
|
1033 |
typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC);
|
1033 |
|
1034 |
|
1034 |
#ifndef WGL_NV_render_texture_rectangle
|
1035 |
#define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV)
|
1035 |
#define WGL_NV_render_texture_rectangle 1
|
1036 |
#define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV)
|
1036 |
|
1037 |
#define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV)
|
1037 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
|
1038 |
#define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV)
|
1038 |
#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
|
1039 |
#define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV)
|
1039 |
#define WGL_TEXTURE_RECTANGLE_NV 0x20A2
|
1040 |
#define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV)
|
1040 |
|
1041 |
|
1041 |
#define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle)
|
1042 |
#define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group)
|
1042 |
|
1043 |
|
1043 |
#endif /* WGL_NV_render_texture_rectangle */
|
1044 |
#endif /* WGL_NV_swap_group */
|
1044 |
|
1045 |
|
1045 |
/* --------------------------- WGL_NV_swap_group --------------------------- */
|
1046 |
/* ----------------------- WGL_NV_vertex_array_range ----------------------- */
|
1046 |
|
1047 |
|
1047 |
#ifndef WGL_NV_swap_group
|
1048 |
#ifndef WGL_NV_vertex_array_range
|
1048 |
#define WGL_NV_swap_group 1
|
1049 |
#define WGL_NV_vertex_array_range 1
|
1049 |
|
1050 |
|
1050 |
typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier);
|
1051 |
typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
|
1051 |
typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group);
|
1052 |
typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
|
1052 |
typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint* count);
|
1053 |
|
1053 |
typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers);
|
1054 |
#define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV)
|
1054 |
typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint* group, GLuint *barrier);
|
1055 |
#define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV)
|
1055 |
typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC);
|
1056 |
|
1056 |
|
1057 |
#define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range)
|
1057 |
#define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV)
|
1058 |
|
1058 |
#define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV)
|
1059 |
#endif /* WGL_NV_vertex_array_range */
|
1059 |
#define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV)
|
1060 |
|
1060 |
#define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV)
|
1061 |
/* -------------------------- WGL_NV_video_capture ------------------------- */
|
1061 |
#define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV)
|
1062 |
|
1062 |
#define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV)
|
1063 |
#ifndef WGL_NV_video_capture
|
1063 |
|
1064 |
#define WGL_NV_video_capture 1
|
1064 |
#define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group)
|
1065 |
|
1065 |
|
1066 |
#define WGL_UNIQUE_ID_NV 0x20CE
|
1066 |
#endif /* WGL_NV_swap_group */
|
1067 |
#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
|
1067 |
|
1068 |
|
1068 |
/* ----------------------- WGL_NV_vertex_array_range ----------------------- */
|
1069 |
DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
|
1069 |
|
1070 |
|
1070 |
#ifndef WGL_NV_vertex_array_range
|
1071 |
typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
|
1071 |
#define WGL_NV_vertex_array_range 1
|
1072 |
typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV* phDeviceList);
|
1072 |
|
1073 |
typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
|
1073 |
typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
|
1074 |
typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int* piValue);
|
1074 |
typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer);
|
1075 |
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
|
1075 |
|
1076 |
|
1076 |
#define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV)
|
1077 |
#define wglBindVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewBindVideoCaptureDeviceNV)
|
1077 |
#define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV)
|
1078 |
#define wglEnumerateVideoCaptureDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoCaptureDevicesNV)
|
1078 |
|
1079 |
#define wglLockVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewLockVideoCaptureDeviceNV)
|
1079 |
#define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range)
|
1080 |
#define wglQueryVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewQueryVideoCaptureDeviceNV)
|
1080 |
|
1081 |
#define wglReleaseVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoCaptureDeviceNV)
|
1081 |
#endif /* WGL_NV_vertex_array_range */
|
1082 |
|
1082 |
|
1083 |
#define WGLEW_NV_video_capture WGLEW_GET_VAR(__WGLEW_NV_video_capture)
|
1083 |
/* -------------------------- WGL_NV_video_capture ------------------------- */
|
1084 |
|
1084 |
|
1085 |
#endif /* WGL_NV_video_capture */
|
1085 |
#ifndef WGL_NV_video_capture
|
1086 |
|
1086 |
#define WGL_NV_video_capture 1
|
1087 |
/* -------------------------- WGL_NV_video_output -------------------------- */
|
1087 |
|
1088 |
|
1088 |
#define WGL_UNIQUE_ID_NV 0x20CE
|
1089 |
#ifndef WGL_NV_video_output
|
1089 |
#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
|
1090 |
#define WGL_NV_video_output 1
|
1090 |
|
1091 |
|
1091 |
DECLARE_HANDLE(HVIDEOINPUTDEVICENV);
|
1092 |
#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
|
1092 |
|
1093 |
#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
|
1093 |
typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice);
|
1094 |
#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
|
1094 |
typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV* phDeviceList);
|
1095 |
#define WGL_VIDEO_OUT_COLOR_NV 0x20C3
|
1095 |
typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
|
1096 |
#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
|
1096 |
typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int* piValue);
|
1097 |
#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
|
1097 |
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice);
|
1098 |
#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
|
1098 |
|
1099 |
#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
|
1099 |
#define wglBindVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewBindVideoCaptureDeviceNV)
|
1100 |
#define WGL_VIDEO_OUT_FRAME 0x20C8
|
1100 |
#define wglEnumerateVideoCaptureDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoCaptureDevicesNV)
|
1101 |
#define WGL_VIDEO_OUT_FIELD_1 0x20C9
|
1101 |
#define wglLockVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewLockVideoCaptureDeviceNV)
|
1102 |
#define WGL_VIDEO_OUT_FIELD_2 0x20CA
|
1102 |
#define wglQueryVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewQueryVideoCaptureDeviceNV)
|
1103 |
#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
|
1103 |
#define wglReleaseVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoCaptureDeviceNV)
|
1104 |
#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
|
1104 |
|
1105 |
|
1105 |
#define WGLEW_NV_video_capture WGLEW_GET_VAR(__WGLEW_NV_video_capture)
|
1106 |
DECLARE_HANDLE(HPVIDEODEV);
|
1106 |
|
1107 |
|
1107 |
#endif /* WGL_NV_video_capture */
|
1108 |
typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
|
1108 |
|
1109 |
typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice);
|
1109 |
/* -------------------------- WGL_NV_video_output -------------------------- */
|
1110 |
typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
|
1110 |
|
1111 |
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
|
1111 |
#ifndef WGL_NV_video_output
|
1112 |
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
|
1112 |
#define WGL_NV_video_output 1
|
1113 |
typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock);
|
1113 |
|
1114 |
|
1114 |
#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0
|
1115 |
#define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV)
|
1115 |
#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1
|
1116 |
#define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV)
|
1116 |
#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2
|
1117 |
#define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV)
|
1117 |
#define WGL_VIDEO_OUT_COLOR_NV 0x20C3
|
1118 |
#define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV)
|
1118 |
#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4
|
1119 |
#define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV)
|
1119 |
#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5
|
1120 |
#define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV)
|
1120 |
#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
|
1121 |
|
1121 |
#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
|
1122 |
#define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output)
|
1122 |
#define WGL_VIDEO_OUT_FRAME 0x20C8
|
1123 |
|
1123 |
#define WGL_VIDEO_OUT_FIELD_1 0x20C9
|
1124 |
#endif /* WGL_NV_video_output */
|
1124 |
#define WGL_VIDEO_OUT_FIELD_2 0x20CA
|
1125 |
|
1125 |
#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB
|
1126 |
/* -------------------------- WGL_OML_sync_control ------------------------- */
|
1126 |
#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC
|
1127 |
|
1127 |
|
1128 |
#ifndef WGL_OML_sync_control
|
1128 |
DECLARE_HANDLE(HPVIDEODEV);
|
1129 |
#define WGL_OML_sync_control 1
|
1129 |
|
1130 |
|
1130 |
typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer);
|
1131 |
typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator);
|
1131 |
typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice);
|
1132 |
typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc);
|
1132 |
typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
|
1133 |
typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
|
1133 |
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice);
|
1134 |
typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
|
1134 |
typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer);
|
1135 |
typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc);
|
1135 |
typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock);
|
1136 |
typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc);
|
1136 |
|
1137 |
|
1137 |
#define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV)
|
1138 |
#define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML)
|
1138 |
#define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV)
|
1139 |
#define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML)
|
1139 |
#define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV)
|
1140 |
#define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML)
|
1140 |
#define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV)
|
1141 |
#define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML)
|
1141 |
#define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV)
|
1142 |
#define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML)
|
1142 |
#define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV)
|
1143 |
#define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML)
|
1143 |
|
1144 |
|
1144 |
#define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output)
|
1145 |
#define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control)
|
1145 |
|
1146 |
|
1146 |
#endif /* WGL_NV_video_output */
|
1147 |
#endif /* WGL_OML_sync_control */
|
1147 |
|
1148 |
|
1148 |
/* -------------------------- WGL_OML_sync_control ------------------------- */
|
1149 |
/* ------------------------------------------------------------------------- */
|
1149 |
|
1150 |
|
1150 |
#ifndef WGL_OML_sync_control
|
1151 |
#ifdef GLEW_MX
|
1151 |
#define WGL_OML_sync_control 1
|
1152 |
#define WGLEW_FUN_EXPORT
|
1152 |
|
1153 |
#define WGLEW_VAR_EXPORT
|
1153 |
typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator);
|
1154 |
#else
|
1154 |
typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc);
|
1155 |
#define WGLEW_FUN_EXPORT GLEW_FUN_EXPORT
|
1155 |
typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
|
1156 |
#define WGLEW_VAR_EXPORT GLEW_VAR_EXPORT
|
1156 |
typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
|
1157 |
#endif /* GLEW_MX */
|
1157 |
typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc);
|
1158 |
|
1158 |
typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc);
|
1159 |
#ifdef GLEW_MX
|
1159 |
|
1160 |
struct WGLEWContextStruct
|
1160 |
#define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML)
|
1161 |
{
|
1161 |
#define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML)
|
1162 |
#endif /* GLEW_MX */
|
1162 |
#define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML)
|
1163 |
|
1163 |
#define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML)
|
1164 |
WGLEW_FUN_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL;
|
1164 |
#define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML)
|
1165 |
|
1165 |
#define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML)
|
1166 |
WGLEW_FUN_EXPORT PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD;
|
1166 |
|
1167 |
WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD;
|
1167 |
#define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control)
|
1168 |
WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD;
|
1168 |
|
1169 |
WGLEW_FUN_EXPORT PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD;
|
1169 |
#endif /* WGL_OML_sync_control */
|
1170 |
WGLEW_FUN_EXPORT PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD;
|
1170 |
|
1171 |
WGLEW_FUN_EXPORT PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD;
|
1171 |
/* ------------------------------------------------------------------------- */
|
1172 |
WGLEW_FUN_EXPORT PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD;
|
1172 |
|
1173 |
WGLEW_FUN_EXPORT PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD;
|
1173 |
#ifdef GLEW_MX
|
1174 |
WGLEW_FUN_EXPORT PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD;
|
1174 |
#define WGLEW_FUN_EXPORT
|
1175 |
|
1175 |
#define WGLEW_VAR_EXPORT
|
1176 |
WGLEW_FUN_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB;
|
1176 |
#else
|
1177 |
WGLEW_FUN_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB;
|
1177 |
#define WGLEW_FUN_EXPORT GLEW_FUN_EXPORT
|
1178 |
WGLEW_FUN_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB;
|
1178 |
#define WGLEW_VAR_EXPORT GLEW_VAR_EXPORT
|
1179 |
WGLEW_FUN_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB;
|
1179 |
#endif /* GLEW_MX */
|
1180 |
|
1180 |
|
1181 |
WGLEW_FUN_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB;
|
1181 |
#ifdef GLEW_MX
|
1182 |
|
1182 |
struct WGLEWContextStruct
|
1183 |
WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB;
|
1183 |
{
|
1184 |
|
1184 |
#endif /* GLEW_MX */
|
1185 |
WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB;
|
1185 |
|
1186 |
WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB;
|
1186 |
WGLEW_FUN_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL;
|
1187 |
|
1187 |
|
1188 |
WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB;
|
1188 |
WGLEW_FUN_EXPORT PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD;
|
1189 |
WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB;
|
1189 |
WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD;
|
1190 |
WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB;
|
1190 |
WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD;
|
1191 |
WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB;
|
1191 |
WGLEW_FUN_EXPORT PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD;
|
1192 |
WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB;
|
1192 |
WGLEW_FUN_EXPORT PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD;
|
1193 |
|
1193 |
WGLEW_FUN_EXPORT PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD;
|
1194 |
WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB;
|
1194 |
WGLEW_FUN_EXPORT PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD;
|
1195 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB;
|
1195 |
WGLEW_FUN_EXPORT PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD;
|
1196 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB;
|
1196 |
WGLEW_FUN_EXPORT PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD;
|
1197 |
|
1197 |
|
1198 |
WGLEW_FUN_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB;
|
1198 |
WGLEW_FUN_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB;
|
1199 |
WGLEW_FUN_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB;
|
1199 |
WGLEW_FUN_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB;
|
1200 |
WGLEW_FUN_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB;
|
1200 |
WGLEW_FUN_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB;
|
1201 |
|
1201 |
WGLEW_FUN_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB;
|
1202 |
WGLEW_FUN_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT;
|
1202 |
|
1203 |
WGLEW_FUN_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT;
|
1203 |
WGLEW_FUN_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB;
|
1204 |
WGLEW_FUN_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT;
|
1204 |
|
1205 |
WGLEW_FUN_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT;
|
1205 |
WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB;
|
1206 |
|
1206 |
|
1207 |
WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT;
|
1207 |
WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB;
|
1208 |
|
1208 |
WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB;
|
1209 |
WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT;
|
1209 |
|
1210 |
WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT;
|
1210 |
WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB;
|
1211 |
|
1211 |
WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB;
|
1212 |
WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT;
|
1212 |
WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB;
|
1213 |
WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT;
|
1213 |
WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB;
|
1214 |
WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT;
|
1214 |
WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB;
|
1215 |
WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT;
|
1215 |
|
1216 |
WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT;
|
1216 |
WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB;
|
1217 |
|
1217 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB;
|
1218 |
WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT;
|
1218 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB;
|
1219 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT;
|
1219 |
|
1220 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT;
|
1220 |
WGLEW_FUN_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB;
|
1221 |
|
1221 |
WGLEW_FUN_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB;
|
1222 |
WGLEW_FUN_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT;
|
1222 |
WGLEW_FUN_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB;
|
1223 |
WGLEW_FUN_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT;
|
1223 |
|
1224 |
|
1224 |
WGLEW_FUN_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT;
|
1225 |
WGLEW_FUN_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D;
|
1225 |
WGLEW_FUN_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT;
|
1226 |
WGLEW_FUN_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D;
|
1226 |
WGLEW_FUN_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT;
|
1227 |
|
1227 |
WGLEW_FUN_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT;
|
1228 |
WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D;
|
1228 |
|
1229 |
WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D;
|
1229 |
WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT;
|
1230 |
WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D;
|
1230 |
|
1231 |
WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D;
|
1231 |
WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT;
|
1232 |
|
1232 |
WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT;
|
1233 |
WGLEW_FUN_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D;
|
1233 |
|
1234 |
WGLEW_FUN_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D;
|
1234 |
WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT;
|
1235 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D;
|
1235 |
WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT;
|
1236 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D;
|
1236 |
WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT;
|
1237 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D;
|
1237 |
WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT;
|
1238 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D;
|
1238 |
WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT;
|
1239 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D;
|
1239 |
|
1240 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D;
|
1240 |
WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT;
|
1241 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D;
|
1241 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT;
|
1242 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D;
|
1242 |
WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT;
|
1243 |
WGLEW_FUN_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D;
|
1243 |
|
1244 |
WGLEW_FUN_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D;
|
1244 |
WGLEW_FUN_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT;
|
1245 |
|
1245 |
WGLEW_FUN_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT;
|
1246 |
WGLEW_FUN_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D;
|
1246 |
|
1247 |
WGLEW_FUN_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D;
|
1247 |
WGLEW_FUN_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D;
|
1248 |
WGLEW_FUN_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D;
|
1248 |
WGLEW_FUN_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D;
|
1249 |
WGLEW_FUN_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D;
|
1249 |
|
1250 |
|
1250 |
WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D;
|
1251 |
WGLEW_FUN_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D;
|
1251 |
WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D;
|
1252 |
WGLEW_FUN_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D;
|
1252 |
WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D;
|
1253 |
WGLEW_FUN_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D;
|
1253 |
WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D;
|
1254 |
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D;
|
1254 |
|
1255 |
|
1255 |
WGLEW_FUN_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D;
|
1256 |
WGLEW_FUN_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D;
|
1256 |
WGLEW_FUN_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D;
|
1257 |
WGLEW_FUN_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D;
|
1257 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D;
|
1258 |
WGLEW_FUN_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D;
|
1258 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D;
|
1259 |
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D;
|
1259 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D;
|
1260 |
|
1260 |
WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D;
|
1261 |
WGLEW_FUN_EXPORT PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV;
|
1261 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D;
|
1262 |
WGLEW_FUN_EXPORT PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV;
|
1262 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D;
|
1263 |
WGLEW_FUN_EXPORT PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV;
|
1263 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D;
|
1264 |
WGLEW_FUN_EXPORT PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV;
|
1264 |
WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D;
|
1265 |
WGLEW_FUN_EXPORT PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV;
|
1265 |
WGLEW_FUN_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D;
|
1266 |
WGLEW_FUN_EXPORT PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV;
|
1266 |
WGLEW_FUN_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D;
|
1267 |
WGLEW_FUN_EXPORT PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV;
|
1267 |
|
1268 |
WGLEW_FUN_EXPORT PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV;
|
1268 |
WGLEW_FUN_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D;
|
1269 |
|
1269 |
WGLEW_FUN_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D;
|
1270 |
WGLEW_FUN_EXPORT PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV;
|
1270 |
WGLEW_FUN_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D;
|
1271 |
|
1271 |
WGLEW_FUN_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D;
|
1272 |
WGLEW_FUN_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV;
|
1272 |
|
1273 |
WGLEW_FUN_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV;
|
1273 |
WGLEW_FUN_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D;
|
1274 |
WGLEW_FUN_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV;
|
1274 |
WGLEW_FUN_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D;
|
1275 |
WGLEW_FUN_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV;
|
1275 |
WGLEW_FUN_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D;
|
1276 |
WGLEW_FUN_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV;
|
1276 |
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D;
|
1277 |
|
1277 |
|
1278 |
WGLEW_FUN_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV;
|
1278 |
WGLEW_FUN_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D;
|
1279 |
WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV;
|
1279 |
WGLEW_FUN_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D;
|
1280 |
WGLEW_FUN_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV;
|
1280 |
WGLEW_FUN_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D;
|
1281 |
|
1281 |
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D;
|
1282 |
WGLEW_FUN_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV;
|
1282 |
|
1283 |
WGLEW_FUN_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV;
|
1283 |
WGLEW_FUN_EXPORT PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV;
|
1284 |
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV;
|
1284 |
WGLEW_FUN_EXPORT PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV;
|
1285 |
WGLEW_FUN_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV;
|
1285 |
WGLEW_FUN_EXPORT PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV;
|
1286 |
WGLEW_FUN_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV;
|
1286 |
WGLEW_FUN_EXPORT PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV;
|
1287 |
WGLEW_FUN_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV;
|
1287 |
WGLEW_FUN_EXPORT PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV;
|
1288 |
|
1288 |
WGLEW_FUN_EXPORT PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV;
|
1289 |
WGLEW_FUN_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV;
|
1289 |
WGLEW_FUN_EXPORT PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV;
|
1290 |
WGLEW_FUN_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV;
|
1290 |
WGLEW_FUN_EXPORT PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV;
|
1291 |
|
1291 |
|
1292 |
WGLEW_FUN_EXPORT PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV;
|
1292 |
WGLEW_FUN_EXPORT PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV;
|
1293 |
WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV;
|
1293 |
|
1294 |
WGLEW_FUN_EXPORT PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV;
|
1294 |
WGLEW_FUN_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV;
|
1295 |
WGLEW_FUN_EXPORT PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV;
|
1295 |
WGLEW_FUN_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV;
|
1296 |
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV;
|
1296 |
WGLEW_FUN_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV;
|
1297 |
|
1297 |
WGLEW_FUN_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV;
|
1298 |
WGLEW_FUN_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV;
|
1298 |
WGLEW_FUN_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV;
|
1299 |
WGLEW_FUN_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV;
|
1299 |
|
1300 |
WGLEW_FUN_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV;
|
1300 |
WGLEW_FUN_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV;
|
1301 |
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV;
|
1301 |
WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV;
|
1302 |
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV;
|
1302 |
WGLEW_FUN_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV;
|
1303 |
WGLEW_FUN_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV;
|
1303 |
|
1304 |
|
1304 |
WGLEW_FUN_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV;
|
1305 |
WGLEW_FUN_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML;
|
1305 |
WGLEW_FUN_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV;
|
1306 |
WGLEW_FUN_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML;
|
1306 |
WGLEW_FUN_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV;
|
1307 |
WGLEW_FUN_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML;
|
1307 |
WGLEW_FUN_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV;
|
1308 |
WGLEW_FUN_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML;
|
1308 |
WGLEW_FUN_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV;
|
1309 |
WGLEW_FUN_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML;
|
1309 |
WGLEW_FUN_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV;
|
1310 |
WGLEW_FUN_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML;
|
1310 |
|
1311 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_3DFX_multisample;
|
1311 |
WGLEW_FUN_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV;
|
1312 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_3DL_stereo_control;
|
1312 |
WGLEW_FUN_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV;
|
1313 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_AMD_gpu_association;
|
1313 |
|
1314 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_buffer_region;
|
1314 |
WGLEW_FUN_EXPORT PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV;
|
1315 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context;
|
1315 |
WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV;
|
1316 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_profile;
|
1316 |
WGLEW_FUN_EXPORT PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV;
|
1317 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_robustness;
|
1317 |
WGLEW_FUN_EXPORT PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV;
|
1318 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_extensions_string;
|
1318 |
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV;
|
1319 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB;
|
1319 |
|
1320 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_make_current_read;
|
1320 |
WGLEW_FUN_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV;
|
1321 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_multisample;
|
1321 |
WGLEW_FUN_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV;
|
1322 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pbuffer;
|
1322 |
WGLEW_FUN_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV;
|
1323 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format;
|
1323 |
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV;
|
1324 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format_float;
|
1324 |
WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV;
|
1325 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_render_texture;
|
1325 |
WGLEW_FUN_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV;
|
1326 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_pixel_format_float;
|
1326 |
|
1327 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle;
|
1327 |
WGLEW_FUN_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML;
|
1328 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es2_profile;
|
1328 |
WGLEW_FUN_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML;
|
1329 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es_profile;
|
1329 |
WGLEW_FUN_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML;
|
1330 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_depth_float;
|
1330 |
WGLEW_FUN_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML;
|
1331 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_display_color_table;
|
1331 |
WGLEW_FUN_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML;
|
1332 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_extensions_string;
|
1332 |
WGLEW_FUN_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML;
|
1333 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB;
|
1333 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_3DFX_multisample;
|
1334 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_make_current_read;
|
1334 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_3DL_stereo_control;
|
1335 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_multisample;
|
1335 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_AMD_gpu_association;
|
1336 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pbuffer;
|
1336 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_buffer_region;
|
1337 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format;
|
1337 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context;
|
1338 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float;
|
1338 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_profile;
|
1339 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control;
|
1339 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_robustness;
|
1340 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control_tear;
|
1340 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_extensions_string;
|
1341 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_digital_video_control;
|
1341 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB;
|
1342 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_gamma;
|
1342 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_make_current_read;
|
1343 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_genlock;
|
1343 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_multisample;
|
1344 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_image_buffer;
|
1344 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pbuffer;
|
1345 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock;
|
1345 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format;
|
1346 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage;
|
1346 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format_float;
|
1347 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop;
|
1347 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_render_texture;
|
1348 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop2;
|
1348 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_robustness_application_isolation;
|
1349 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_copy_image;
|
1349 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_robustness_share_group_isolation;
|
1350 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_float_buffer;
|
1350 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_pixel_format_float;
|
1351 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_gpu_affinity;
|
1351 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle;
|
1352 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_multisample_coverage;
|
1352 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es2_profile;
|
1353 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_present_video;
|
1353 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es_profile;
|
1354 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_depth_texture;
|
1354 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_depth_float;
|
1355 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle;
|
1355 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_display_color_table;
|
1356 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_swap_group;
|
1356 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_extensions_string;
|
1357 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_vertex_array_range;
|
1357 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB;
|
1358 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_capture;
|
1358 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_make_current_read;
|
1359 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_output;
|
1359 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_multisample;
|
1360 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_OML_sync_control;
|
1360 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pbuffer;
|
1361 |
|
1361 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format;
|
1362 |
#ifdef GLEW_MX
|
1362 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float;
|
1363 |
}; /* WGLEWContextStruct */
|
1363 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control;
|
1364 |
#endif /* GLEW_MX */
|
1364 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control_tear;
|
1365 |
|
1365 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_digital_video_control;
|
1366 |
/* ------------------------------------------------------------------------- */
|
1366 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_gamma;
|
1367 |
|
1367 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_genlock;
|
1368 |
#ifdef GLEW_MX
|
1368 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_image_buffer;
|
1369 |
|
1369 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock;
|
1370 |
typedef struct WGLEWContextStruct WGLEWContext;
|
1370 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage;
|
1371 |
GLEWAPI GLenum GLEWAPIENTRY wglewContextInit (WGLEWContext *ctx);
|
1371 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop;
|
1372 |
GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx, const char *name);
|
1372 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop2;
|
1373 |
|
1373 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_copy_image;
|
1374 |
#define wglewInit() wglewContextInit(wglewGetContext())
|
1374 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_float_buffer;
|
1375 |
#define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
|
1375 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_gpu_affinity;
|
1376 |
|
1376 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_multisample_coverage;
|
1377 |
#define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
|
1377 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_present_video;
|
1378 |
#define WGLEW_GET_FUN(x) wglewGetContext()->x
|
1378 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_depth_texture;
|
1379 |
|
1379 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle;
|
1380 |
#else /* GLEW_MX */
|
1380 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_swap_group;
|
1381 |
|
1381 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_vertex_array_range;
|
1382 |
#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
|
1382 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_capture;
|
1383 |
#define WGLEW_GET_FUN(x) x
|
1383 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_output;
|
1384 |
|
1384 |
WGLEW_VAR_EXPORT GLboolean __WGLEW_OML_sync_control;
|
1385 |
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
|
1385 |
|
1386 |
|
1386 |
#ifdef GLEW_MX
|
1387 |
#endif /* GLEW_MX */
|
1387 |
}; /* WGLEWContextStruct */
|
1388 |
|
1388 |
#endif /* GLEW_MX */
|
1389 |
GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension (const char *name);
|
1389 |
|
1390 |
|
1390 |
/* ------------------------------------------------------------------------- */
|
1391 |
#ifdef __cplusplus
|
1391 |
|
1392 |
}
|
1392 |
#ifdef GLEW_MX
|
1393 |
#endif
|
1393 |
|
1394 |
|
1394 |
typedef struct WGLEWContextStruct WGLEWContext;
|
1395 |
#undef GLEWAPI
|
1395 |
GLEWAPI GLenum GLEWAPIENTRY wglewContextInit (WGLEWContext *ctx);
|
1396 |
|
1396 |
GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx, const char *name);
|
1397 |
#endif /* __wglew_h__ */
|
1397 |
|
- |
|
1398 |
#define wglewInit() wglewContextInit(wglewGetContext())
|
- |
|
1399 |
#define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
|
- |
|
1400 |
|
- |
|
1401 |
#define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
|
- |
|
1402 |
#define WGLEW_GET_FUN(x) wglewGetContext()->x
|
- |
|
1403 |
|
- |
|
1404 |
#else /* GLEW_MX */
|
- |
|
1405 |
|
- |
|
1406 |
#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
|
- |
|
1407 |
#define WGLEW_GET_FUN(x) x
|
- |
|
1408 |
|
- |
|
1409 |
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
|
- |
|
1410 |
|
- |
|
1411 |
#endif /* GLEW_MX */
|
- |
|
1412 |
|
- |
|
1413 |
GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension (const char *name);
|
- |
|
1414 |
|
- |
|
1415 |
#ifdef __cplusplus
|
- |
|
1416 |
}
|
- |
|
1417 |
#endif
|
- |
|
1418 |
|
- |
|
1419 |
#undef GLEWAPI
|
- |
|
1420 |
|
- |
|
1421 |
#endif /* __wglew_h__ */
|