Index: ddraw/glExtensions.cpp |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | #include "glExtensions.h"
|
21 | 21 |
|
22 | 22 | GLuint (APIENTRY *glCreateShader) (GLenum type) = NULL;
|
23 | | -void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar** string, const GLint* length) = NULL;
|
| 23 | +void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length) = NULL;
|
24 | 24 | void (APIENTRY *glCompileShader) (GLuint shader) = NULL;
|
25 | 25 | void (APIENTRY *glDeleteShader) (GLuint shader) = NULL;
|
26 | 26 | GLuint (APIENTRY *glCreateProgram) () = NULL;
|
Index: ddraw/glExtensions.h |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | #endif
|
41 | 41 |
|
42 | 42 | GLAPI GLuint (APIENTRY *glCreateShader) (GLenum type);
|
43 | | -GLAPI void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar** string, const GLint* length);
|
| 43 | +GLAPI void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length);
|
44 | 44 | GLAPI void (APIENTRY *glCompileShader) (GLuint shader);
|
45 | 45 | GLAPI void (APIENTRY *glDeleteShader) (GLuint shader);
|
46 | 46 | GLAPI GLuint (APIENTRY *glCreateProgram) ();
|
Index: ddraw/include/GL/glext.h |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | #endif |
8 | 8 | |
9 | 9 | /* |
10 | | -** Copyright (c) 2007-2011 The Khronos Group Inc. |
| 10 | +** Copyright (c) 2007-2012 The Khronos Group Inc. |
11 | 11 | ** |
12 | 12 | ** Permission is hereby granted, free of charge, to any person obtaining a |
13 | 13 | ** copy of this software and/or associated documentation files (the |
— | — | @@ -29,9 +29,9 @@ |
30 | 30 | */ |
31 | 31 | |
32 | 32 | /* Header file version number, required by OpenGL ABI for Linux */ |
33 | | -/* glext.h last updated $Date: 2011-12-19 02:48:12 -0800 (Mon, 19 Dec 2011) $ */ |
| 33 | +/* glext.h last updated $Date: 2012-04-26 00:59:42 -0700 (Thu, 26 Apr 2012) $ */ |
34 | 34 | /* Current version at http://www.opengl.org/registry/ */ |
35 | | -#define GL_GLEXT_VERSION 74 |
| 35 | +#define GL_GLEXT_VERSION 81 |
36 | 36 | /* Function declaration macros - to move into glplatform.h */ |
37 | 37 | |
38 | 38 | #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) |
— | — | @@ -1019,6 +1019,7 @@ |
1020 | 1020 | /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */ |
1021 | 1021 | /* reuse GL_MAX_VARYING_VECTORS */ |
1022 | 1022 | /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */ |
| 1023 | +/* reuse GL_RGB565 */ |
1023 | 1024 | /* Reuse tokens from ARB_get_program_binary */ |
1024 | 1025 | /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */ |
1025 | 1026 | /* reuse GL_PROGRAM_BINARY_LENGTH */ |
— | — | @@ -1882,8 +1883,10 @@ |
1883 | 1884 | #endif |
1884 | 1885 | |
1885 | 1886 | #ifndef GL_ARB_copy_buffer |
1886 | | -#define GL_COPY_READ_BUFFER 0x8F36 |
1887 | | -#define GL_COPY_WRITE_BUFFER 0x8F37 |
| 1887 | +#define GL_COPY_READ_BUFFER_BINDING 0x8F36 |
| 1888 | +#define GL_COPY_READ_BUFFER GL_COPY_READ_BUFFER_BINDING |
| 1889 | +#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 |
| 1890 | +#define GL_COPY_WRITE_BUFFER GL_COPY_WRITE_BUFFER_BINDING |
1888 | 1891 | #endif |
1889 | 1892 | |
1890 | 1893 | #ifndef GL_ARB_shader_texture_lod |
— | — | @@ -2131,8 +2134,10 @@ |
2132 | 2135 | |
2133 | 2136 | #ifndef GL_ARB_transform_feedback2 |
2134 | 2137 | #define GL_TRANSFORM_FEEDBACK 0x8E22 |
2135 | | -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 |
2136 | | -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 |
| 2138 | +#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 |
| 2139 | +#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED GL_TRANSFORM_FEEDBACK_PAUSED |
| 2140 | +#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 |
| 2141 | +#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE GL_TRANSFORM_FEEDBACK_ACTIVE |
2137 | 2142 | #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 |
2138 | 2143 | #endif |
2139 | 2144 | |
— | — | @@ -2156,6 +2161,7 @@ |
2157 | 2162 | #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB |
2158 | 2163 | #define GL_MAX_VARYING_VECTORS 0x8DFC |
2159 | 2164 | #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD |
| 2165 | +#define GL_RGB565 0x8D62 |
2160 | 2166 | #endif |
2161 | 2167 | |
2162 | 2168 | #ifndef GL_ARB_get_program_binary |
— | — | @@ -5311,11 +5317,168 @@ |
5312 | 5318 | #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB |
5313 | 5319 | #endif |
5314 | 5320 | |
| 5321 | +#ifndef GL_NV_path_rendering |
| 5322 | +#define GL_PATH_FORMAT_SVG_NV 0x9070 |
| 5323 | +#define GL_PATH_FORMAT_PS_NV 0x9071 |
| 5324 | +#define GL_STANDARD_FONT_NAME_NV 0x9072 |
| 5325 | +#define GL_SYSTEM_FONT_NAME_NV 0x9073 |
| 5326 | +#define GL_FILE_NAME_NV 0x9074 |
| 5327 | +#define GL_PATH_STROKE_WIDTH_NV 0x9075 |
| 5328 | +#define GL_PATH_END_CAPS_NV 0x9076 |
| 5329 | +#define GL_PATH_INITIAL_END_CAP_NV 0x9077 |
| 5330 | +#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 |
| 5331 | +#define GL_PATH_JOIN_STYLE_NV 0x9079 |
| 5332 | +#define GL_PATH_MITER_LIMIT_NV 0x907A |
| 5333 | +#define GL_PATH_DASH_CAPS_NV 0x907B |
| 5334 | +#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C |
| 5335 | +#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D |
| 5336 | +#define GL_PATH_DASH_OFFSET_NV 0x907E |
| 5337 | +#define GL_PATH_CLIENT_LENGTH_NV 0x907F |
| 5338 | +#define GL_PATH_FILL_MODE_NV 0x9080 |
| 5339 | +#define GL_PATH_FILL_MASK_NV 0x9081 |
| 5340 | +#define GL_PATH_FILL_COVER_MODE_NV 0x9082 |
| 5341 | +#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 |
| 5342 | +#define GL_PATH_STROKE_MASK_NV 0x9084 |
| 5343 | +#define GL_PATH_SAMPLE_QUALITY_NV 0x9085 |
| 5344 | +#define GL_PATH_STROKE_BOUND_NV 0x9086 |
| 5345 | +#define GL_PATH_STROKE_OVERSAMPLE_COUNT_NV 0x9087 |
| 5346 | +#define GL_COUNT_UP_NV 0x9088 |
| 5347 | +#define GL_COUNT_DOWN_NV 0x9089 |
| 5348 | +#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A |
| 5349 | +#define GL_CONVEX_HULL_NV 0x908B |
| 5350 | +#define GL_MULTI_HULLS_NV 0x908C |
| 5351 | +#define GL_BOUNDING_BOX_NV 0x908D |
| 5352 | +#define GL_TRANSLATE_X_NV 0x908E |
| 5353 | +#define GL_TRANSLATE_Y_NV 0x908F |
| 5354 | +#define GL_TRANSLATE_2D_NV 0x9090 |
| 5355 | +#define GL_TRANSLATE_3D_NV 0x9091 |
| 5356 | +#define GL_AFFINE_2D_NV 0x9092 |
| 5357 | +#define GL_PROJECTIVE_2D_NV 0x9093 |
| 5358 | +#define GL_AFFINE_3D_NV 0x9094 |
| 5359 | +#define GL_PROJECTIVE_3D_NV 0x9095 |
| 5360 | +#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 |
| 5361 | +#define GL_TRANSPOSE_PROJECTIVE_2D_NV 0x9097 |
| 5362 | +#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 |
| 5363 | +#define GL_TRANSPOSE_PROJECTIVE_3D_NV 0x9099 |
| 5364 | +#define GL_UTF8_NV 0x909A |
| 5365 | +#define GL_UTF16_NV 0x909B |
| 5366 | +#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C |
| 5367 | +#define GL_PATH_COMMAND_COUNT_NV 0x909D |
| 5368 | +#define GL_PATH_COORD_COUNT_NV 0x909E |
| 5369 | +#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F |
| 5370 | +#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 |
| 5371 | +#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 |
| 5372 | +#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 |
| 5373 | +#define GL_SQUARE_NV 0x90A3 |
| 5374 | +#define GL_ROUND_NV 0x90A4 |
| 5375 | +#define GL_TRIANGULAR_NV 0x90A5 |
| 5376 | +#define GL_BEVEL_NV 0x90A6 |
| 5377 | +#define GL_MITER_REVERT_NV 0x90A7 |
| 5378 | +#define GL_MITER_TRUNCATE_NV 0x90A8 |
| 5379 | +#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 |
| 5380 | +#define GL_USE_MISSING_GLYPH_NV 0x90AA |
| 5381 | +#define GL_PATH_ERROR_POSITION_NV 0x90AB |
| 5382 | +#define GL_PATH_FOG_GEN_MODE_NV 0x90AC |
| 5383 | +#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD |
| 5384 | +#define GL_ADJACENT_PAIRS_NV 0x90AE |
| 5385 | +#define GL_FIRST_TO_REST_NV 0x90AF |
| 5386 | +#define GL_PATH_GEN_MODE_NV 0x90B0 |
| 5387 | +#define GL_PATH_GEN_COEFF_NV 0x90B1 |
| 5388 | +#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2 |
| 5389 | +#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 |
| 5390 | +#define GL_PATH_STENCIL_FUNC_NV 0x90B7 |
| 5391 | +#define GL_PATH_STENCIL_REF_NV 0x90B8 |
| 5392 | +#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 |
| 5393 | +#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD |
| 5394 | +#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE |
| 5395 | +#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF |
| 5396 | +#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 |
| 5397 | +#define GL_MOVE_TO_RESETS_NV 0x90B5 |
| 5398 | +#define GL_MOVE_TO_CONTINUES_NV 0x90B6 |
| 5399 | +#define GL_CLOSE_PATH_NV 0x00 |
| 5400 | +#define GL_MOVE_TO_NV 0x02 |
| 5401 | +#define GL_RELATIVE_MOVE_TO_NV 0x03 |
| 5402 | +#define GL_LINE_TO_NV 0x04 |
| 5403 | +#define GL_RELATIVE_LINE_TO_NV 0x05 |
| 5404 | +#define GL_HORIZONTAL_LINE_TO_NV 0x06 |
| 5405 | +#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 |
| 5406 | +#define GL_VERTICAL_LINE_TO_NV 0x08 |
| 5407 | +#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 |
| 5408 | +#define GL_QUADRATIC_CURVE_TO_NV 0x0A |
| 5409 | +#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B |
| 5410 | +#define GL_CUBIC_CURVE_TO_NV 0x0C |
| 5411 | +#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D |
| 5412 | +#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E |
| 5413 | +#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F |
| 5414 | +#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 |
| 5415 | +#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 |
| 5416 | +#define GL_SMALL_CCW_ARC_TO_NV 0x12 |
| 5417 | +#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 |
| 5418 | +#define GL_SMALL_CW_ARC_TO_NV 0x14 |
| 5419 | +#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 |
| 5420 | +#define GL_LARGE_CCW_ARC_TO_NV 0x16 |
| 5421 | +#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 |
| 5422 | +#define GL_LARGE_CW_ARC_TO_NV 0x18 |
| 5423 | +#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 |
| 5424 | +#define GL_RESTART_PATH_NV 0xF0 |
| 5425 | +#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 |
| 5426 | +#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 |
| 5427 | +#define GL_RECT_NV 0xF6 |
| 5428 | +#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 |
| 5429 | +#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA |
| 5430 | +#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC |
| 5431 | +#define GL_ARC_TO_NV 0xFE |
| 5432 | +#define GL_RELATIVE_ARC_TO_NV 0xFF |
| 5433 | +#define GL_BOLD_BIT_NV 0x01 |
| 5434 | +#define GL_ITALIC_BIT_NV 0x02 |
| 5435 | +#define GL_GLYPH_WIDTH_BIT_NV 0x01 |
| 5436 | +#define GL_GLYPH_HEIGHT_BIT_NV 0x02 |
| 5437 | +#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 |
| 5438 | +#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 |
| 5439 | +#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 |
| 5440 | +#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 |
| 5441 | +#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 |
| 5442 | +#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 |
| 5443 | +#define GL_GLYPH_HAS_KERNING_NV 0x100 |
| 5444 | +#define GL_FONT_X_MIN_BOUNDS_NV 0x00010000 |
| 5445 | +#define GL_FONT_Y_MIN_BOUNDS_NV 0x00020000 |
| 5446 | +#define GL_FONT_X_MAX_BOUNDS_NV 0x00040000 |
| 5447 | +#define GL_FONT_Y_MAX_BOUNDS_NV 0x00080000 |
| 5448 | +#define GL_FONT_UNITS_PER_EM_NV 0x00100000 |
| 5449 | +#define GL_FONT_ASCENDER_NV 0x00200000 |
| 5450 | +#define GL_FONT_DESCENDER_NV 0x00400000 |
| 5451 | +#define GL_FONT_HEIGHT_NV 0x00800000 |
| 5452 | +#define GL_FONT_MAX_ADVANCE_WIDTH_NV 0x01000000 |
| 5453 | +#define GL_FONT_MAX_ADVANCE_HEIGHT_NV 0x02000000 |
| 5454 | +#define GL_FONT_UNDERLINE_POSITION_NV 0x04000000 |
| 5455 | +#define GL_FONT_UNDERLINE_THICKNESS_NV 0x08000000 |
| 5456 | +#define GL_FONT_HAS_KERNING_NV 0x10000000 |
| 5457 | +#endif |
| 5458 | + |
5315 | 5459 | #ifndef GL_AMD_pinned_memory |
5316 | 5460 | #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 |
5317 | 5461 | #endif |
5318 | 5462 | |
| 5463 | +#ifndef GL_AMD_stencil_operation_extended |
| 5464 | +#define GL_SET_AMD 0x874A |
| 5465 | +#define GL_REPLACE_VALUE_AMD 0x874B |
| 5466 | +#define GL_STENCIL_OP_VALUE_AMD 0x874C |
| 5467 | +#define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D |
| 5468 | +#endif |
5319 | 5469 | |
| 5470 | +#ifndef GL_AMD_vertex_shader_viewport_index |
| 5471 | +#endif |
| 5472 | + |
| 5473 | +#ifndef GL_AMD_vertex_shader_layer |
| 5474 | +#endif |
| 5475 | + |
| 5476 | +#ifndef GL_NV_bindless_texture |
| 5477 | +#endif |
| 5478 | + |
| 5479 | +#ifndef GL_NV_shader_atomic_float |
| 5480 | +#endif |
| 5481 | + |
| 5482 | + |
5320 | 5483 | /*************************************************************/ |
5321 | 5484 | |
5322 | 5485 | #include <stddef.h> |
— | — | @@ -5421,7 +5584,7 @@ |
5422 | 5585 | #ifndef GL_VERSION_1_2 |
5423 | 5586 | #define GL_VERSION_1_2 1 |
5424 | 5587 | #ifdef GL_GLEXT_PROTOTYPES |
5425 | | -GLAPI void APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); |
| 5588 | +GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
5426 | 5589 | GLAPI void APIENTRY glBlendEquation (GLenum mode); |
5427 | 5590 | GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); |
5428 | 5591 | GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
— | — | @@ -5428,7 +5591,7 @@ |
5429 | 5592 | GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); |
5430 | 5593 | GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
5431 | 5594 | #endif /* GL_GLEXT_PROTOTYPES */ |
5432 | | -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); |
| 5595 | +typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
5433 | 5596 | typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
5434 | 5597 | typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); |
5435 | 5598 | typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
— | — | @@ -5510,7 +5673,7 @@ |
5511 | 5674 | #define GL_VERSION_1_3 1 |
5512 | 5675 | #ifdef GL_GLEXT_PROTOTYPES |
5513 | 5676 | GLAPI void APIENTRY glActiveTexture (GLenum texture); |
5514 | | -GLAPI void APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); |
| 5677 | +GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); |
5515 | 5678 | GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); |
5516 | 5679 | GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
5517 | 5680 | GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); |
— | — | @@ -5520,7 +5683,7 @@ |
5521 | 5684 | GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GLvoid *img); |
5522 | 5685 | #endif /* GL_GLEXT_PROTOTYPES */ |
5523 | 5686 | typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); |
5524 | | -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); |
| 5687 | +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); |
5525 | 5688 | typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); |
5526 | 5689 | typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
5527 | 5690 | typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); |
— | — | @@ -5615,7 +5778,7 @@ |
5616 | 5779 | #ifdef GL_GLEXT_PROTOTYPES |
5617 | 5780 | GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
5618 | 5781 | GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); |
5619 | | -GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); |
| 5782 | +GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); |
5620 | 5783 | GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param); |
5621 | 5784 | GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); |
5622 | 5785 | GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param); |
— | — | @@ -5623,7 +5786,7 @@ |
5624 | 5787 | #endif /* GL_GLEXT_PROTOTYPES */ |
5625 | 5788 | typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
5626 | 5789 | typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); |
5627 | | -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); |
| 5790 | +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); |
5628 | 5791 | typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); |
5629 | 5792 | typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); |
5630 | 5793 | typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); |
— | — | @@ -5793,7 +5956,7 @@ |
5794 | 5957 | GLAPI GLboolean APIENTRY glIsProgram (GLuint program); |
5795 | 5958 | GLAPI GLboolean APIENTRY glIsShader (GLuint shader); |
5796 | 5959 | GLAPI void APIENTRY glLinkProgram (GLuint program); |
5797 | | -GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); |
| 5960 | +GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); |
5798 | 5961 | GLAPI void APIENTRY glUseProgram (GLuint program); |
5799 | 5962 | GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0); |
5800 | 5963 | GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); |
— | — | @@ -5887,7 +6050,7 @@ |
5888 | 6051 | typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); |
5889 | 6052 | typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); |
5890 | 6053 | typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); |
5891 | | -typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); |
| 6054 | +typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); |
5892 | 6055 | typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); |
5893 | 6056 | typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); |
5894 | 6057 | typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); |
— | — | @@ -5983,7 +6146,7 @@ |
5984 | 6147 | GLAPI void APIENTRY glEndTransformFeedback (void); |
5985 | 6148 | GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
5986 | 6149 | GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); |
5987 | | -GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode); |
| 6150 | +GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); |
5988 | 6151 | GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
5989 | 6152 | GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp); |
5990 | 6153 | GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode); |
— | — | @@ -6042,7 +6205,7 @@ |
6043 | 6206 | typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); |
6044 | 6207 | typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
6045 | 6208 | typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); |
6046 | | -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode); |
| 6209 | +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); |
6047 | 6210 | typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
6048 | 6211 | typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); |
6049 | 6212 | typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); |
— | — | @@ -6159,13 +6322,13 @@ |
6160 | 6323 | /* ARB_transform_feedback2 */ |
6161 | 6324 | /* ARB_transform_feedback3 */ |
6162 | 6325 | #ifdef GL_GLEXT_PROTOTYPES |
6163 | | -GLAPI void APIENTRY glMinSampleShading (GLclampf value); |
| 6326 | +GLAPI void APIENTRY glMinSampleShading (GLfloat value); |
6164 | 6327 | GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode); |
6165 | 6328 | GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); |
6166 | 6329 | GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); |
6167 | 6330 | GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); |
6168 | 6331 | #endif /* GL_GLEXT_PROTOTYPES */ |
6169 | | -typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLclampf value); |
| 6332 | +typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); |
6170 | 6333 | typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); |
6171 | 6334 | typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); |
6172 | 6335 | typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); |
— | — | @@ -6290,9 +6453,9 @@ |
6291 | 6454 | #ifndef GL_ARB_multisample |
6292 | 6455 | #define GL_ARB_multisample 1 |
6293 | 6456 | #ifdef GL_GLEXT_PROTOTYPES |
6294 | | -GLAPI void APIENTRY glSampleCoverageARB (GLclampf value, GLboolean invert); |
| 6457 | +GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert); |
6295 | 6458 | #endif /* GL_GLEXT_PROTOTYPES */ |
6296 | | -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); |
| 6459 | +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert); |
6297 | 6460 | #endif |
6298 | 6461 | |
6299 | 6462 | #ifndef GL_ARB_texture_env_add |
— | — | @@ -6911,7 +7074,7 @@ |
6912 | 7075 | #ifndef GL_ARB_uniform_buffer_object |
6913 | 7076 | #define GL_ARB_uniform_buffer_object 1 |
6914 | 7077 | #ifdef GL_GLEXT_PROTOTYPES |
6915 | | -GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices); |
| 7078 | +GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); |
6916 | 7079 | GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); |
6917 | 7080 | GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); |
6918 | 7081 | GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); |
— | — | @@ -6919,7 +7082,7 @@ |
6920 | 7083 | GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); |
6921 | 7084 | GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); |
6922 | 7085 | #endif /* GL_GLEXT_PROTOTYPES */ |
6923 | | -typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices); |
| 7086 | +typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); |
6924 | 7087 | typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); |
6925 | 7088 | typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); |
6926 | 7089 | typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); |
— | — | @@ -6954,12 +7117,12 @@ |
6955 | 7118 | GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
6956 | 7119 | GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
6957 | 7120 | GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex); |
6958 | | -GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GLint *basevertex); |
| 7121 | +GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *basevertex); |
6959 | 7122 | #endif /* GL_GLEXT_PROTOTYPES */ |
6960 | 7123 | typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
6961 | 7124 | typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
6962 | 7125 | typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex); |
6963 | | -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GLint *basevertex); |
| 7126 | +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *basevertex); |
6964 | 7127 | #endif |
6965 | 7128 | |
6966 | 7129 | #ifndef GL_ARB_fragment_coord_conventions |
— | — | @@ -7033,9 +7196,9 @@ |
7034 | 7197 | #ifndef GL_ARB_sample_shading |
7035 | 7198 | #define GL_ARB_sample_shading 1 |
7036 | 7199 | #ifdef GL_GLEXT_PROTOTYPES |
7037 | | -GLAPI void APIENTRY glMinSampleShadingARB (GLclampf value); |
| 7200 | +GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); |
7038 | 7201 | #endif /* GL_GLEXT_PROTOTYPES */ |
7039 | | -typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLclampf value); |
| 7202 | +typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value); |
7040 | 7203 | #endif |
7041 | 7204 | |
7042 | 7205 | #ifndef GL_ARB_texture_cube_map_array |
— | — | @@ -7362,14 +7525,14 @@ |
7363 | 7526 | GLAPI void APIENTRY glReleaseShaderCompiler (void); |
7364 | 7527 | GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); |
7365 | 7528 | GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); |
7366 | | -GLAPI void APIENTRY glDepthRangef (GLclampf n, GLclampf f); |
7367 | | -GLAPI void APIENTRY glClearDepthf (GLclampf d); |
| 7529 | +GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); |
| 7530 | +GLAPI void APIENTRY glClearDepthf (GLfloat d); |
7368 | 7531 | #endif /* GL_GLEXT_PROTOTYPES */ |
7369 | 7532 | typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); |
7370 | 7533 | typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); |
7371 | 7534 | typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); |
7372 | | -typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f); |
7373 | | -typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLclampf d); |
| 7535 | +typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); |
| 7536 | +typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); |
7374 | 7537 | #endif |
7375 | 7538 | |
7376 | 7539 | #ifndef GL_ARB_get_program_binary |
— | — | @@ -7389,7 +7552,7 @@ |
7390 | 7553 | #ifdef GL_GLEXT_PROTOTYPES |
7391 | 7554 | GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); |
7392 | 7555 | GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); |
7393 | | -GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* *strings); |
| 7556 | +GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* const *strings); |
7394 | 7557 | GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline); |
7395 | 7558 | GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); |
7396 | 7559 | GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); |
— | — | @@ -7450,7 +7613,7 @@ |
7451 | 7614 | #endif /* GL_GLEXT_PROTOTYPES */ |
7452 | 7615 | typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); |
7453 | 7616 | typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); |
7454 | | -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* *strings); |
| 7617 | +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* const *strings); |
7455 | 7618 | typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); |
7456 | 7619 | typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); |
7457 | 7620 | typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); |
— | — | @@ -7545,8 +7708,8 @@ |
7546 | 7709 | GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v); |
7547 | 7710 | GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); |
7548 | 7711 | GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v); |
7549 | | -GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLclampd *v); |
7550 | | -GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLclampd n, GLclampd f); |
| 7712 | +GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v); |
| 7713 | +GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f); |
7551 | 7714 | GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data); |
7552 | 7715 | GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data); |
7553 | 7716 | #endif /* GL_GLEXT_PROTOTYPES */ |
— | — | @@ -7556,8 +7719,8 @@ |
7557 | 7720 | typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v); |
7558 | 7721 | typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); |
7559 | 7722 | typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v); |
7560 | | -typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLclampd *v); |
7561 | | -typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLclampd n, GLclampd f); |
| 7723 | +typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v); |
| 7724 | +typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f); |
7562 | 7725 | typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data); |
7563 | 7726 | typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); |
7564 | 7727 | #endif |
— | — | @@ -7727,9 +7890,9 @@ |
7728 | 7891 | #ifndef GL_EXT_blend_color |
7729 | 7892 | #define GL_EXT_blend_color 1 |
7730 | 7893 | #ifdef GL_GLEXT_PROTOTYPES |
7731 | | -GLAPI void APIENTRY glBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); |
| 7894 | +GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
7732 | 7895 | #endif /* GL_GLEXT_PROTOTYPES */ |
7733 | | -typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); |
| 7896 | +typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
7734 | 7897 | #endif |
7735 | 7898 | |
7736 | 7899 | #ifndef GL_EXT_polygon_offset |
— | — | @@ -11482,11 +11645,167 @@ |
11483 | 11646 | #define GL_EXT_framebuffer_multisample_blit_scaled 1 |
11484 | 11647 | #endif |
11485 | 11648 | |
| 11649 | +#ifndef GL_NV_path_rendering |
| 11650 | +#define GL_NV_path_rendering 1 |
| 11651 | +#ifdef GL_GLEXT_PROTOTYPES |
| 11652 | +GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range); |
| 11653 | +GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range); |
| 11654 | +GLAPI GLboolean APIENTRY glIsPathNV (GLuint path); |
| 11655 | +GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11656 | +GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11657 | +GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11658 | +GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11659 | +GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString); |
| 11660 | +GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); |
| 11661 | +GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); |
| 11662 | +GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); |
| 11663 | +GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); |
| 11664 | +GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); |
| 11665 | +GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); |
| 11666 | +GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); |
| 11667 | +GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); |
| 11668 | +GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); |
| 11669 | +GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); |
| 11670 | +GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); |
| 11671 | +GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); |
| 11672 | +GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); |
| 11673 | +GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); |
| 11674 | +GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); |
| 11675 | +GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); |
| 11676 | +GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); |
| 11677 | +GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func); |
| 11678 | +GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); |
| 11679 | +GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); |
| 11680 | +GLAPI void APIENTRY glPathFogGenNV (GLenum genMode); |
| 11681 | +GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); |
| 11682 | +GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); |
| 11683 | +GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); |
| 11684 | +GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); |
| 11685 | +GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); |
| 11686 | +GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); |
| 11687 | +GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); |
| 11688 | +GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); |
| 11689 | +GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); |
| 11690 | +GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); |
| 11691 | +GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); |
| 11692 | +GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); |
| 11693 | +GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value); |
| 11694 | +GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value); |
| 11695 | +GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value); |
| 11696 | +GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value); |
| 11697 | +GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); |
| 11698 | +GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); |
| 11699 | +GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); |
| 11700 | +GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); |
| 11701 | +#endif /* GL_GLEXT_PROTOTYPES */ |
| 11702 | +typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); |
| 11703 | +typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); |
| 11704 | +typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path); |
| 11705 | +typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11706 | +typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11707 | +typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11708 | +typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords); |
| 11709 | +typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString); |
| 11710 | +typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); |
| 11711 | +typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); |
| 11712 | +typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); |
| 11713 | +typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); |
| 11714 | +typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); |
| 11715 | +typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); |
| 11716 | +typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); |
| 11717 | +typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); |
| 11718 | +typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); |
| 11719 | +typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); |
| 11720 | +typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); |
| 11721 | +typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); |
| 11722 | +typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); |
| 11723 | +typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); |
| 11724 | +typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); |
| 11725 | +typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); |
| 11726 | +typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); |
| 11727 | +typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); |
| 11728 | +typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); |
| 11729 | +typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); |
| 11730 | +typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode); |
| 11731 | +typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); |
| 11732 | +typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); |
| 11733 | +typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); |
| 11734 | +typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); |
| 11735 | +typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); |
| 11736 | +typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); |
| 11737 | +typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); |
| 11738 | +typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); |
| 11739 | +typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); |
| 11740 | +typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); |
| 11741 | +typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); |
| 11742 | +typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); |
| 11743 | +typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value); |
| 11744 | +typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value); |
| 11745 | +typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value); |
| 11746 | +typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value); |
| 11747 | +typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); |
| 11748 | +typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); |
| 11749 | +typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); |
| 11750 | +typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); |
| 11751 | +#endif |
| 11752 | + |
11486 | 11753 | #ifndef GL_AMD_pinned_memory |
11487 | 11754 | #define GL_AMD_pinned_memory 1 |
11488 | 11755 | #endif |
11489 | 11756 | |
| 11757 | +#ifndef GL_AMD_stencil_operation_extended |
| 11758 | +#define GL_AMD_stencil_operation_extended 1 |
| 11759 | +#ifdef GL_GLEXT_PROTOTYPES |
| 11760 | +GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value); |
| 11761 | +#endif /* GL_GLEXT_PROTOTYPES */ |
| 11762 | +typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value); |
| 11763 | +#endif |
11490 | 11764 | |
| 11765 | +#ifndef GL_AMD_vertex_shader_viewport_index |
| 11766 | +#define GL_AMD_vertex_shader_viewport_index 1 |
| 11767 | +#endif |
| 11768 | + |
| 11769 | +#ifndef GL_AMD_vertex_shader_layer |
| 11770 | +#define GL_AMD_vertex_shader_layer 1 |
| 11771 | +#endif |
| 11772 | + |
| 11773 | +#ifndef GL_NV_bindless_texture |
| 11774 | +#define GL_NV_bindless_texture 1 |
| 11775 | +#ifdef GL_GLEXT_PROTOTYPES |
| 11776 | +GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture); |
| 11777 | +GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); |
| 11778 | +GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); |
| 11779 | +GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); |
| 11780 | +GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); |
| 11781 | +GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); |
| 11782 | +GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); |
| 11783 | +GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); |
| 11784 | +GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); |
| 11785 | +GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); |
| 11786 | +GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); |
| 11787 | +GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); |
| 11788 | +GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle); |
| 11789 | +#endif /* GL_GLEXT_PROTOTYPES */ |
| 11790 | +typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); |
| 11791 | +typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); |
| 11792 | +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); |
| 11793 | +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); |
| 11794 | +typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); |
| 11795 | +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); |
| 11796 | +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); |
| 11797 | +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); |
| 11798 | +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); |
| 11799 | +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); |
| 11800 | +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); |
| 11801 | +typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); |
| 11802 | +typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); |
| 11803 | +#endif |
| 11804 | + |
| 11805 | +#ifndef GL_NV_shader_atomic_float |
| 11806 | +#define GL_NV_shader_atomic_float 1 |
| 11807 | +#endif |
| 11808 | + |
| 11809 | + |
11491 | 11810 | #ifdef __cplusplus |
11492 | 11811 | } |
11493 | 11812 | #endif |
Index: ddraw/include/GL/wglext.h |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | #endif |
8 | 8 | |
9 | 9 | /* |
10 | | -** Copyright (c) 2007-2011 The Khronos Group Inc. |
| 10 | +** Copyright (c) 2007-2012 The Khronos Group Inc. |
11 | 11 | ** |
12 | 12 | ** Permission is hereby granted, free of charge, to any person obtaining a |
13 | 13 | ** copy of this software and/or associated documentation files (the |
— | — | @@ -48,9 +48,9 @@ |
49 | 49 | /*************************************************************/ |
50 | 50 | |
51 | 51 | /* Header file version number */ |
52 | | -/* wglext.h last updated 2011/04/13 */ |
| 52 | +/* wglext.h last updated 2012/01/04 */ |
53 | 53 | /* Current version at http://www.opengl.org/registry/ */ |
54 | | -#define WGL_WGLEXT_VERSION 23 |
| 54 | +#define WGL_WGLEXT_VERSION 24 |
55 | 55 | |
56 | 56 | #ifndef WGL_ARB_buffer_region |
57 | 57 | #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 |
— | — | @@ -422,7 +422,13 @@ |
423 | 423 | #define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002 |
424 | 424 | #endif |
425 | 425 | |
| 426 | +#ifndef WGL_NV_DX_interop2 |
| 427 | +#endif |
426 | 428 | |
| 429 | +#ifndef WGL_EXT_swap_control_tear |
| 430 | +#endif |
| 431 | + |
| 432 | + |
427 | 433 | /*************************************************************/ |
428 | 434 | |
429 | 435 | #ifndef WGL_ARB_pbuffer |
— | — | @@ -921,7 +927,15 @@ |
922 | 928 | typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects); |
923 | 929 | #endif |
924 | 930 | |
| 931 | +#ifndef WGL_NV_DX_interop2 |
| 932 | +#define WGL_NV_DX_interop2 1 |
| 933 | +#endif |
925 | 934 | |
| 935 | +#ifndef WGL_EXT_swap_control_tear |
| 936 | +#define WGL_EXT_swap_control_tear 1 |
| 937 | +#endif |
| 938 | + |
| 939 | + |
926 | 940 | #ifdef __cplusplus |
927 | 941 | } |
928 | 942 | #endif |
Index: ddraw/shadergen.cpp |
— | — | @@ -715,10 +715,10 @@ |
716 | 716 | {
|
717 | 717 | case D3DTA_CURRENT:
|
718 | 718 | default:
|
719 | | - arg2 = blendargs[0];
|
| 719 | + arg2 = blendargs[10];
|
720 | 720 | break;
|
721 | 721 | case D3DTA_DIFFUSE:
|
722 | | - arg2 = blendargs[1]+blendargs[8];
|
| 722 | + arg2 = blendargs[1]+blendargs[9];
|
723 | 723 | break;
|
724 | 724 | case D3DTA_TEXTURE:
|
725 | 725 | if((texstate[i].shaderid >> 59)&1)
|
— | — | @@ -731,14 +731,14 @@ |
732 | 732 | break;
|
733 | 733 | case D3DTA_TFACTOR:
|
734 | 734 | FIXME("Support texture factor value");
|
735 | | - arg2 = blendargs[4]+blendargs[8];
|
| 735 | + arg2 = blendargs[4]+blendargs[9];
|
736 | 736 | break;
|
737 | 737 | case D3DTA_SPECULAR:
|
738 | | - arg2 = blendargs[5]+blendargs[8];
|
| 738 | + arg2 = blendargs[5]+blendargs[9];
|
739 | 739 | break;
|
740 | 740 | }
|
741 | 741 | if(args[3] & D3DTA_COMPLEMENT)
|
742 | | - arg1 = "(1.0 - " + arg1 + ")";
|
| 742 | + arg2 = "(1.0 - " + arg2 + ")";
|
743 | 743 | if(!texfail) switch(texstate[i].shaderid & 31)
|
744 | 744 | {
|
745 | 745 | case D3DTOP_DISABLE:
|