ReactOS 0.4.15-dev-7705-g2320c37
wined3d_gl.h
Go to the documentation of this file.
1/*
2 * Direct3D wine OpenGL include file
3 *
4 * Copyright 2002-2003 The wine-d3d team
5 * Copyright 2002-2004 Jason Edmeades
6 * Raphael Junqueira
7 * Copyright 2007 Roderick Colenbrander
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 */
23
24#ifndef __WINE_WINED3D_GL_H
25#define __WINE_WINED3D_GL_H
26
27#include "wine/wgl.h"
28
29#define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 /* not in the gl spec */
30
31extern void (WINE_GLAPI *glDisableWINE)(GLenum cap) DECLSPEC_HIDDEN;
32extern void (WINE_GLAPI *glEnableWINE)(GLenum cap) DECLSPEC_HIDDEN;
33
34/* OpenGL extensions. */
36{
38
39 /* APPLE */
44 /* ARB */
143 /* ATI */
149 /* EXT */
185 /* NVIDIA */
206 /* WGL extensions */
211 /* Internally used */
219
221};
222#endif /* __WINE_WINED3D_GL */
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
unsigned int GLenum
Definition: gl.h:150
#define cap
Definition: glfuncs.h:226
wined3d_gl_extension
Definition: wined3d_gl.h:36
@ EXT_STENCIL_TWO_SIDE
Definition: wined3d_gl.h:169
@ ARB_GPU_SHADER5
Definition: wined3d_gl.h:76
@ EXT_BLEND_EQUATION_SEPARATE
Definition: wined3d_gl.h:151
@ NV_VERTEX_PROGRAM3
Definition: wined3d_gl.h:204
@ ARB_EXPLICIT_ATTRIB_LOCATION
Definition: wined3d_gl.h:67
@ ARB_SHADING_LANGUAGE_PACKING
Definition: wined3d_gl.h:102
@ ARB_DEBUG_OUTPUT
Definition: wined3d_gl.h:56
@ NV_FRAGMENT_PROGRAM2
Definition: wined3d_gl.h:189
@ ARB_TEXTURE_QUERY_LEVELS
Definition: wined3d_gl.h:124
@ ARB_TEXTURE_FILTER_ANISOTROPIC
Definition: wined3d_gl.h:117
@ NV_HALF_FLOAT
Definition: wined3d_gl.h:191
@ NV_POINT_SPRITE
Definition: wined3d_gl.h:193
@ ARB_TEXTURE_BUFFER_OBJECT
Definition: wined3d_gl.h:108
@ NV_TEXTURE_SHADER2
Definition: wined3d_gl.h:199
@ ARB_TEXTURE_CUBE_MAP
Definition: wined3d_gl.h:113
@ ATI_FRAGMENT_SHADER
Definition: wined3d_gl.h:144
@ ARB_INTERNALFORMAT_QUERY
Definition: wined3d_gl.h:80
@ EXT_SECONDARY_COLOR
Definition: wined3d_gl.h:168
@ ATI_SEPARATE_STENCIL
Definition: wined3d_gl.h:145
@ ARB_CULL_DISTANCE
Definition: wined3d_gl.h:55
@ ARB_DERIVATIVE_CONTROL
Definition: wined3d_gl.h:60
@ ARB_SEAMLESS_CUBE_MAP
Definition: wined3d_gl.h:93
@ ARB_PIPELINE_STATISTICS_QUERY
Definition: wined3d_gl.h:87
@ EXT_BLEND_MINMAX
Definition: wined3d_gl.h:153
@ ARB_SHADER_BIT_ENCODING
Definition: wined3d_gl.h:95
@ WINED3D_GL_EXT_NONE
Definition: wined3d_gl.h:37
@ ARB_POINT_PARAMETERS
Definition: wined3d_gl.h:89
@ ARB_CLEAR_TEXTURE
Definition: wined3d_gl.h:48
@ ARB_FRAGMENT_PROGRAM
Definition: wined3d_gl.h:70
@ ARB_SHADER_IMAGE_SIZE
Definition: wined3d_gl.h:97
@ ARB_DEPTH_TEXTURE
Definition: wined3d_gl.h:59
@ EXT_TEXTURE_SHARED_EXPONENT
Definition: wined3d_gl.h:180
@ WGL_EXT_SWAP_CONTROL
Definition: wined3d_gl.h:208
@ ARB_DRAW_ELEMENTS_BASE_VERTEX
Definition: wined3d_gl.h:62
@ ARB_COMPUTE_SHADER
Definition: wined3d_gl.h:51
@ ARB_PROVOKING_VERTEX
Definition: wined3d_gl.h:91
@ WINED3D_GL_PRIMITIVE_QUERY
Definition: wined3d_gl.h:215
@ NV_TEXGEN_REFLECTION
Definition: wined3d_gl.h:196
@ ARB_FRAGMENT_LAYER_VIEWPORT
Definition: wined3d_gl.h:69
@ EXT_FOG_COORD
Definition: wined3d_gl.h:157
@ WINED3D_GL_BLEND_EQUATION
Definition: wined3d_gl.h:212
@ APPLE_FENCE
Definition: wined3d_gl.h:40
@ WGL_WINE_QUERY_RENDERER
Definition: wined3d_gl.h:210
@ ARB_TEXTURE_VIEW
Definition: wined3d_gl.h:131
@ APPLE_FLUSH_BUFFER_RANGE
Definition: wined3d_gl.h:42
@ ARB_CONSERVATIVE_DEPTH
Definition: wined3d_gl.h:52
@ ARB_VERTEX_BLEND
Definition: wined3d_gl.h:137
@ ARB_SHADER_STORAGE_BUFFER_OBJECT
Definition: wined3d_gl.h:98
@ ARB_TEXTURE_ENV_COMBINE
Definition: wined3d_gl.h:115
@ EXT_STENCIL_WRAP
Definition: wined3d_gl.h:170
@ WGL_WINE_PIXEL_FORMAT_PASSTHROUGH
Definition: wined3d_gl.h:209
@ ATI_TEXTURE_COMPRESSION_3DC
Definition: wined3d_gl.h:146
@ ARB_VERTEX_PROGRAM
Definition: wined3d_gl.h:139
@ ARB_TEXTURE_COMPRESSION_RGTC
Definition: wined3d_gl.h:112
@ ARB_TEXTURE_MIRRORED_REPEAT
Definition: wined3d_gl.h:120
@ WGL_ARB_PIXEL_FORMAT
Definition: wined3d_gl.h:207
@ EXT_TEXTURE_SRGB_DECODE
Definition: wined3d_gl.h:183
@ ARB_SAMPLER_OBJECTS
Definition: wined3d_gl.h:92
@ ARB_VERTEX_BUFFER_OBJECT
Definition: wined3d_gl.h:138
@ EXT_TEXTURE_INTEGER
Definition: wined3d_gl.h:177
@ EXT_VERTEX_ARRAY_BGRA
Definition: wined3d_gl.h:184
@ ARB_ES2_COMPATIBILITY
Definition: wined3d_gl.h:65
@ ARB_MULTISAMPLE
Definition: wined3d_gl.h:84
@ ARB_TEXTURE_FLOAT
Definition: wined3d_gl.h:118
@ ARB_FRAMEBUFFER_OBJECT
Definition: wined3d_gl.h:73
@ ARB_VERTEX_SHADER
Definition: wined3d_gl.h:140
@ EXT_TEXTURE3D
Definition: wined3d_gl.h:171
@ ARB_TEXTURE_BORDER_CLAMP
Definition: wined3d_gl.h:107
@ WINED3D_GL_VERSION_3_2
Definition: wined3d_gl.h:217
@ EXT_TEXTURE_LOD_BIAS
Definition: wined3d_gl.h:178
@ ARB_DRAW_INDIRECT
Definition: wined3d_gl.h:63
@ ARB_TEXTURE_RG
Definition: wined3d_gl.h:126
@ ARB_TEXTURE_MULTISAMPLE
Definition: wined3d_gl.h:122
@ ARB_TEXTURE_RGB10_A2UI
Definition: wined3d_gl.h:127
@ ARB_INTERNALFORMAT_QUERY2
Definition: wined3d_gl.h:81
@ EXT_GPU_SHADER4
Definition: wined3d_gl.h:162
@ ARB_BASE_INSTANCE
Definition: wined3d_gl.h:45
@ ARB_HALF_FLOAT_VERTEX
Definition: wined3d_gl.h:78
@ ARB_ES3_COMPATIBILITY
Definition: wined3d_gl.h:66
@ ARB_INSTANCED_ARRAYS
Definition: wined3d_gl.h:79
@ ARB_DEPTH_CLAMP
Definition: wined3d_gl.h:58
@ EXT_BLEND_FUNC_SEPARATE
Definition: wined3d_gl.h:152
@ NV_FRAGMENT_PROGRAM
Definition: wined3d_gl.h:188
@ EXT_PACKED_FLOAT
Definition: wined3d_gl.h:164
@ NV_REGISTER_COMBINERS2
Definition: wined3d_gl.h:195
@ NV_TEXTURE_ENV_COMBINE4
Definition: wined3d_gl.h:197
@ ARB_MAP_BUFFER_ALIGNMENT
Definition: wined3d_gl.h:82
@ ARB_FRAMEBUFFER_SRGB
Definition: wined3d_gl.h:74
@ ARB_FRAGMENT_COORD_CONVENTIONS
Definition: wined3d_gl.h:68
@ ARB_UNIFORM_BUFFER_OBJECT
Definition: wined3d_gl.h:135
@ WINED3D_GL_NORMALIZED_TEXRECT
Definition: wined3d_gl.h:214
@ ARB_CLEAR_BUFFER_OBJECT
Definition: wined3d_gl.h:47
@ EXT_PACKED_DEPTH_STENCIL
Definition: wined3d_gl.h:163
@ ATI_TEXTURE_ENV_COMBINE3
Definition: wined3d_gl.h:147
@ ARB_SYNC
Definition: wined3d_gl.h:105
@ NV_FENCE
Definition: wined3d_gl.h:186
@ NV_VERTEX_PROGRAM
Definition: wined3d_gl.h:200
@ NV_FRAGMENT_PROGRAM_OPTION
Definition: wined3d_gl.h:190
@ NV_LIGHT_MAX_EXPONENT
Definition: wined3d_gl.h:192
@ EXT_TEXTURE_SRGB
Definition: wined3d_gl.h:182
@ ARB_FRAMEBUFFER_NO_ATTACHMENTS
Definition: wined3d_gl.h:72
@ EXT_TEXTURE_ENV_DOT3
Definition: wined3d_gl.h:176
@ ARB_SHADOW
Definition: wined3d_gl.h:103
@ ARB_SHADING_LANGUAGE_100
Definition: wined3d_gl.h:100
@ APPLE_FLOAT_PIXELS
Definition: wined3d_gl.h:41
@ EXT_TEXTURE_COMPRESSION_RGTC
Definition: wined3d_gl.h:173
@ EXT_POINT_PARAMETERS
Definition: wined3d_gl.h:165
@ WINED3D_GLSL_130
Definition: wined3d_gl.h:218
@ EXT_TEXTURE_MIRROR_CLAMP
Definition: wined3d_gl.h:179
@ NVX_GPU_MEMORY_INFO
Definition: wined3d_gl.h:205
@ NV_VERTEX_PROGRAM1_1
Definition: wined3d_gl.h:201
@ ARB_SHADER_TEXTURE_LOD
Definition: wined3d_gl.h:99
@ EXT_BLEND_COLOR
Definition: wined3d_gl.h:150
@ ARB_FRAGMENT_SHADER
Definition: wined3d_gl.h:71
@ ARB_BLEND_FUNC_EXTENDED
Definition: wined3d_gl.h:46
@ ARB_TEXTURE_STORAGE
Definition: wined3d_gl.h:128
@ ARB_SHADER_ATOMIC_COUNTERS
Definition: wined3d_gl.h:94
@ EXT_FRAMEBUFFER_MULTISAMPLE
Definition: wined3d_gl.h:159
@ ARB_VERTEX_ARRAY_BGRA
Definition: wined3d_gl.h:136
@ ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE
Definition: wined3d_gl.h:121
@ ARB_SHADING_LANGUAGE_420PACK
Definition: wined3d_gl.h:101
@ ARB_TESSELLATION_SHADER
Definition: wined3d_gl.h:106
@ ARB_GEOMETRY_SHADER4
Definition: wined3d_gl.h:75
@ EXT_BLEND_SUBTRACT
Definition: wined3d_gl.h:154
@ ATI_TEXTURE_MIRROR_ONCE
Definition: wined3d_gl.h:148
@ EXT_DEPTH_BOUNDS_TEST
Definition: wined3d_gl.h:156
@ ARB_VERTEX_TYPE_2_10_10_10_REV
Definition: wined3d_gl.h:141
@ ARB_DRAW_BUFFERS
Definition: wined3d_gl.h:61
@ ARB_HALF_FLOAT_PIXEL
Definition: wined3d_gl.h:77
@ ARB_COLOR_BUFFER_FLOAT
Definition: wined3d_gl.h:50
@ ARB_DRAW_INSTANCED
Definition: wined3d_gl.h:64
@ APPLE_YCBCR_422
Definition: wined3d_gl.h:43
@ ARB_TRANSFORM_FEEDBACK3
Definition: wined3d_gl.h:134
@ ARB_TEXTURE_GATHER
Definition: wined3d_gl.h:119
@ NV_TEXTURE_SHADER
Definition: wined3d_gl.h:198
@ ARB_TEXTURE_RECTANGLE
Definition: wined3d_gl.h:125
@ ARB_VIEWPORT_ARRAY
Definition: wined3d_gl.h:142
@ ARB_TEXTURE_NON_POWER_OF_TWO
Definition: wined3d_gl.h:123
@ WINED3D_GL_LEGACY_CONTEXT
Definition: wined3d_gl.h:213
@ EXT_FRAMEBUFFER_OBJECT
Definition: wined3d_gl.h:160
@ NV_REGISTER_COMBINERS
Definition: wined3d_gl.h:194
@ WINED3D_GL_VERSION_2_0
Definition: wined3d_gl.h:216
@ ARB_MAP_BUFFER_RANGE
Definition: wined3d_gl.h:83
@ EXT_FRAMEBUFFER_BLIT
Definition: wined3d_gl.h:158
@ ARB_COPY_IMAGE
Definition: wined3d_gl.h:54
@ NV_VERTEX_PROGRAM2_OPTION
Definition: wined3d_gl.h:203
@ ARB_CLIP_CONTROL
Definition: wined3d_gl.h:49
@ ARB_TEXTURE_SWIZZLE
Definition: wined3d_gl.h:130
@ EXT_GPU_PROGRAM_PARAMETERS
Definition: wined3d_gl.h:161
@ ARB_SHADER_IMAGE_LOAD_STORE
Definition: wined3d_gl.h:96
@ ARB_TEXTURE_COMPRESSION_BPTC
Definition: wined3d_gl.h:111
@ ARB_OCCLUSION_QUERY
Definition: wined3d_gl.h:86
@ ARB_TEXTURE_COMPRESSION
Definition: wined3d_gl.h:110
@ ARB_TEXTURE_ENV_DOT3
Definition: wined3d_gl.h:116
@ ARB_POINT_SPRITE
Definition: wined3d_gl.h:90
@ WINED3D_GL_EXT_COUNT
Definition: wined3d_gl.h:220
@ ARB_STENCIL_TEXTURING
Definition: wined3d_gl.h:104
@ EXT_TEXTURE_ARRAY
Definition: wined3d_gl.h:172
@ NV_FOG_DISTANCE
Definition: wined3d_gl.h:187
@ EXT_TEXTURE_COMPRESSION_S3TC
Definition: wined3d_gl.h:174
@ ARB_TEXTURE_BUFFER_RANGE
Definition: wined3d_gl.h:109
@ ARB_MULTITEXTURE
Definition: wined3d_gl.h:85
@ EXT_TEXTURE_SNORM
Definition: wined3d_gl.h:181
@ ARB_PIXEL_BUFFER_OBJECT
Definition: wined3d_gl.h:88
@ ARB_TRANSFORM_FEEDBACK2
Definition: wined3d_gl.h:133
@ EXT_DRAW_BUFFERS2
Definition: wined3d_gl.h:155
@ ARB_TIMER_QUERY
Definition: wined3d_gl.h:132
@ EXT_PROVOKING_VERTEX
Definition: wined3d_gl.h:167
@ ARB_TEXTURE_STORAGE_MULTISAMPLE
Definition: wined3d_gl.h:129
@ EXT_POLYGON_OFFSET_CLAMP
Definition: wined3d_gl.h:166
@ EXT_TEXTURE_ENV_COMBINE
Definition: wined3d_gl.h:175
@ ARB_TEXTURE_CUBE_MAP_ARRAY
Definition: wined3d_gl.h:114
@ ARB_DEPTH_BUFFER_FLOAT
Definition: wined3d_gl.h:57
@ ARB_COPY_BUFFER
Definition: wined3d_gl.h:53
@ NV_VERTEX_PROGRAM2
Definition: wined3d_gl.h:202
#define WINE_GLAPI