Generate Sources of master updated at Wed Feb 12 00:01:18 GMT 2020

This commit is contained in:
Gyusun 2020-02-12 00:01:18 +00:00
parent d1d8b889b8
commit 02629da9ca
4 changed files with 601 additions and 535 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11639,6 +11639,21 @@ typedef void (GLAPIENTRY * PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfl
#endif /* GL_EXT_post_depth_coverage */
/* --------------------- GL_EXT_primitive_bounding_box --------------------- */
#ifndef GL_EXT_primitive_bounding_box
#define GL_EXT_primitive_bounding_box 1
#define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
typedef void (GLAPIENTRY * PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
#define glPrimitiveBoundingBoxEXT GLEW_GET_FUN(__glewPrimitiveBoundingBoxEXT)
#define GLEW_EXT_primitive_bounding_box GLEW_GET_VAR(__GLEW_EXT_primitive_bounding_box)
#endif /* GL_EXT_primitive_bounding_box */
/* ----------------------- GL_EXT_protected_textures ----------------------- */
#ifndef GL_EXT_protected_textures
@ -24197,6 +24212,8 @@ GLEW_FUN_EXPORT PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT;
GLEW_FUN_EXPORT PFNGLPOLYGONOFFSETCLAMPEXTPROC __glewPolygonOffsetClampEXT;
GLEW_FUN_EXPORT PFNGLPRIMITIVEBOUNDINGBOXEXTPROC __glewPrimitiveBoundingBoxEXT;
GLEW_FUN_EXPORT PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT;
GLEW_FUN_EXPORT PFNGLCOVERAGEMODULATIONNVPROC __glewCoverageModulationNV;
@ -25868,6 +25885,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_EXT_point_parameters;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_polygon_offset;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_polygon_offset_clamp;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_post_depth_coverage;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_primitive_bounding_box;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_protected_textures;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_provoking_vertex;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_pvrtc_sRGB;

View File

@ -2197,6 +2197,8 @@ PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
PFNGLPOLYGONOFFSETCLAMPEXTPROC __glewPolygonOffsetClampEXT = NULL;
PFNGLPRIMITIVEBOUNDINGBOXEXTPROC __glewPrimitiveBoundingBoxEXT = NULL;
PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT = NULL;
PFNGLCOVERAGEMODULATIONNVPROC __glewCoverageModulationNV = NULL;
@ -3869,6 +3871,7 @@ GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
GLboolean __GLEW_EXT_polygon_offset_clamp = GL_FALSE;
GLboolean __GLEW_EXT_post_depth_coverage = GL_FALSE;
GLboolean __GLEW_EXT_primitive_bounding_box = GL_FALSE;
GLboolean __GLEW_EXT_protected_textures = GL_FALSE;
GLboolean __GLEW_EXT_provoking_vertex = GL_FALSE;
GLboolean __GLEW_EXT_pvrtc_sRGB = GL_FALSE;
@ -5551,6 +5554,9 @@ static const char * _glewExtensionLookup[] = {
#ifdef GL_EXT_post_depth_coverage
"GL_EXT_post_depth_coverage",
#endif
#ifdef GL_EXT_primitive_bounding_box
"GL_EXT_primitive_bounding_box",
#endif
#ifdef GL_EXT_protected_textures
"GL_EXT_protected_textures",
#endif
@ -7212,7 +7218,7 @@ static const char * _glewExtensionLookup[] = {
/* Detected in the extension string or strings */
static GLboolean _glewExtensionString[934];
static GLboolean _glewExtensionString[935];
/* Detected via extension string or experimental mode */
static GLboolean* _glewExtensionEnabled[] = {
#ifdef GL_3DFX_multisample
@ -8361,6 +8367,9 @@ static GLboolean* _glewExtensionEnabled[] = {
#ifdef GL_EXT_post_depth_coverage
&__GLEW_EXT_post_depth_coverage,
#endif
#ifdef GL_EXT_primitive_bounding_box
&__GLEW_EXT_primitive_bounding_box,
#endif
#ifdef GL_EXT_protected_textures
&__GLEW_EXT_protected_textures,
#endif
@ -10219,6 +10228,7 @@ static GLboolean _glewInit_GL_EXT_pixel_transform ();
static GLboolean _glewInit_GL_EXT_point_parameters ();
static GLboolean _glewInit_GL_EXT_polygon_offset ();
static GLboolean _glewInit_GL_EXT_polygon_offset_clamp ();
static GLboolean _glewInit_GL_EXT_primitive_bounding_box ();
static GLboolean _glewInit_GL_EXT_provoking_vertex ();
static GLboolean _glewInit_GL_EXT_raster_multisample ();
static GLboolean _glewInit_GL_EXT_robustness ();
@ -14494,6 +14504,19 @@ static GLboolean _glewInit_GL_EXT_polygon_offset_clamp ()
#endif /* GL_EXT_polygon_offset_clamp */
#ifdef GL_EXT_primitive_bounding_box
static GLboolean _glewInit_GL_EXT_primitive_bounding_box ()
{
GLboolean r = GL_FALSE;
r = ((glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveBoundingBoxEXT")) == NULL) || r;
return r;
}
#endif /* GL_EXT_primitive_bounding_box */
#ifdef GL_EXT_provoking_vertex
static GLboolean _glewInit_GL_EXT_provoking_vertex ()
@ -18716,6 +18739,9 @@ static GLenum GLEWAPIENTRY glewContextInit ()
#ifdef GL_EXT_polygon_offset_clamp
if (glewExperimental || GLEW_EXT_polygon_offset_clamp) GLEW_EXT_polygon_offset_clamp = !_glewInit_GL_EXT_polygon_offset_clamp();
#endif /* GL_EXT_polygon_offset_clamp */
#ifdef GL_EXT_primitive_bounding_box
if (glewExperimental || GLEW_EXT_primitive_bounding_box) GLEW_EXT_primitive_bounding_box = !_glewInit_GL_EXT_primitive_bounding_box();
#endif /* GL_EXT_primitive_bounding_box */
#ifdef GL_EXT_provoking_vertex
if (glewExperimental || GLEW_EXT_provoking_vertex) GLEW_EXT_provoking_vertex = !_glewInit_GL_EXT_provoking_vertex();
#endif /* GL_EXT_provoking_vertex */
@ -25994,6 +26020,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
continue;
}
#endif
#ifdef GL_EXT_primitive_bounding_box
if (_glewStrSame3(&pos, &len, (const GLubyte*)"primitive_bounding_box", 22))
{
ret = GLEW_EXT_primitive_bounding_box;
continue;
}
#endif
#ifdef GL_EXT_protected_textures
if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_textures", 18))
{

View File

@ -5604,6 +5604,17 @@ static void _glewInfo_GL_EXT_post_depth_coverage (void)
#endif /* GL_EXT_post_depth_coverage */
#ifdef GL_EXT_primitive_bounding_box
static void _glewInfo_GL_EXT_primitive_bounding_box (void)
{
GLboolean fi = glewPrintExt("GL_EXT_primitive_bounding_box", GLEW_EXT_primitive_bounding_box, glewIsSupported("GL_EXT_primitive_bounding_box"), glewGetExtension("GL_EXT_primitive_bounding_box"));
glewInfoFunc(fi, "glPrimitiveBoundingBoxEXT", glPrimitiveBoundingBoxEXT == NULL);
}
#endif /* GL_EXT_primitive_bounding_box */
#ifdef GL_EXT_protected_textures
static void _glewInfo_GL_EXT_protected_textures (void)
@ -15967,6 +15978,9 @@ static void glewInfo (void)
#ifdef GL_EXT_post_depth_coverage
_glewInfo_GL_EXT_post_depth_coverage();
#endif /* GL_EXT_post_depth_coverage */
#ifdef GL_EXT_primitive_bounding_box
_glewInfo_GL_EXT_primitive_bounding_box();
#endif /* GL_EXT_primitive_bounding_box */
#ifdef GL_EXT_protected_textures
_glewInfo_GL_EXT_protected_textures();
#endif /* GL_EXT_protected_textures */