mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 01:23:48 +00:00
Generate Sources of master updated at Thu Dec 7 00:01:26 GMT 2023
This commit is contained in:
parent
b9f61b43b2
commit
e13dcc58e6
1355
doc/glew.html
1355
doc/glew.html
File diff suppressed because it is too large
Load Diff
@ -8552,6 +8552,27 @@ typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVARBPROC) (const GLshort* p);
|
||||
|
||||
#endif /* GL_ARM_rgba8 */
|
||||
|
||||
/* --------------------- GL_ARM_shader_core_properties --------------------- */
|
||||
|
||||
#ifndef GL_ARM_shader_core_properties
|
||||
#define GL_ARM_shader_core_properties 1
|
||||
|
||||
#define GL_SHADER_CORE_COUNT_ARM 0x96F0
|
||||
#define GL_SHADER_CORE_ACTIVE_COUNT_ARM 0x96F1
|
||||
#define GL_SHADER_CORE_PRESENT_MASK_ARM 0x96F2
|
||||
#define GL_SHADER_CORE_MAX_WARP_COUNT_ARM 0x96F3
|
||||
#define GL_SHADER_CORE_PIXEL_RATE_ARM 0x96F4
|
||||
#define GL_SHADER_CORE_TEXEL_RATE_ARM 0x96F5
|
||||
#define GL_SHADER_CORE_FMA_RATE_ARM 0x96F6
|
||||
|
||||
typedef void (GLAPIENTRY * PFNGLMAXACTIVESHADERCORESARMPROC) (GLuint count);
|
||||
|
||||
#define glMaxActiveShaderCoresARM GLEW_GET_FUN(__glewMaxActiveShaderCoresARM)
|
||||
|
||||
#define GLEW_ARM_shader_core_properties GLEW_GET_VAR(__GLEW_ARM_shader_core_properties)
|
||||
|
||||
#endif /* GL_ARM_shader_core_properties */
|
||||
|
||||
/* -------------------- GL_ARM_shader_framebuffer_fetch -------------------- */
|
||||
|
||||
#ifndef GL_ARM_shader_framebuffer_fetch
|
||||
@ -23854,6 +23875,8 @@ GLEW_FUN_EXPORT PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB;
|
||||
GLEW_FUN_EXPORT PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB;
|
||||
GLEW_FUN_EXPORT PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLMAXACTIVESHADERCORESARMPROC __glewMaxActiveShaderCoresARM;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI;
|
||||
@ -26034,6 +26057,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_ARB_window_pos;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARM_mali_program_binary;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARM_mali_shader_binary;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARM_rgba8;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARM_shader_core_properties;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARM_shader_framebuffer_fetch;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARM_shader_framebuffer_fetch_depth_stencil;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARM_texture_unnormalized_coordinates;
|
||||
|
35
src/glew.c
35
src/glew.c
@ -1592,6 +1592,8 @@ PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL;
|
||||
PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL;
|
||||
PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL;
|
||||
|
||||
PFNGLMAXACTIVESHADERCORESARMPROC __glewMaxActiveShaderCoresARM = NULL;
|
||||
|
||||
PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL;
|
||||
|
||||
PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL;
|
||||
@ -3773,6 +3775,7 @@ GLboolean __GLEW_ARB_window_pos = GL_FALSE;
|
||||
GLboolean __GLEW_ARM_mali_program_binary = GL_FALSE;
|
||||
GLboolean __GLEW_ARM_mali_shader_binary = GL_FALSE;
|
||||
GLboolean __GLEW_ARM_rgba8 = GL_FALSE;
|
||||
GLboolean __GLEW_ARM_shader_core_properties = GL_FALSE;
|
||||
GLboolean __GLEW_ARM_shader_framebuffer_fetch = GL_FALSE;
|
||||
GLboolean __GLEW_ARM_shader_framebuffer_fetch_depth_stencil = GL_FALSE;
|
||||
GLboolean __GLEW_ARM_texture_unnormalized_coordinates = GL_FALSE;
|
||||
@ -5223,6 +5226,9 @@ static const char * _glewExtensionLookup[] = {
|
||||
#ifdef GL_ARM_rgba8
|
||||
"GL_ARM_rgba8",
|
||||
#endif
|
||||
#ifdef GL_ARM_shader_core_properties
|
||||
"GL_ARM_shader_core_properties",
|
||||
#endif
|
||||
#ifdef GL_ARM_shader_framebuffer_fetch
|
||||
"GL_ARM_shader_framebuffer_fetch",
|
||||
#endif
|
||||
@ -7313,7 +7319,7 @@ static const char * _glewExtensionLookup[] = {
|
||||
|
||||
|
||||
/* Detected in the extension string or strings */
|
||||
static GLboolean _glewExtensionString[952];
|
||||
static GLboolean _glewExtensionString[953];
|
||||
/* Detected via extension string or experimental mode */
|
||||
static GLboolean* _glewExtensionEnabled[] = {
|
||||
#ifdef GL_3DFX_multisample
|
||||
@ -8087,6 +8093,9 @@ static GLboolean* _glewExtensionEnabled[] = {
|
||||
#ifdef GL_ARM_rgba8
|
||||
&__GLEW_ARM_rgba8,
|
||||
#endif
|
||||
#ifdef GL_ARM_shader_core_properties
|
||||
&__GLEW_ARM_shader_core_properties,
|
||||
#endif
|
||||
#ifdef GL_ARM_shader_framebuffer_fetch
|
||||
&__GLEW_ARM_shader_framebuffer_fetch,
|
||||
#endif
|
||||
@ -10305,6 +10314,7 @@ static GLboolean _glewInit_GL_ARB_vertex_shader ();
|
||||
static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev ();
|
||||
static GLboolean _glewInit_GL_ARB_viewport_array ();
|
||||
static GLboolean _glewInit_GL_ARB_window_pos ();
|
||||
static GLboolean _glewInit_GL_ARM_shader_core_properties ();
|
||||
static GLboolean _glewInit_GL_ATI_draw_buffers ();
|
||||
static GLboolean _glewInit_GL_ATI_element_array ();
|
||||
static GLboolean _glewInit_GL_ATI_envmap_bumpmap ();
|
||||
@ -13293,6 +13303,19 @@ static GLboolean _glewInit_GL_ARB_window_pos ()
|
||||
|
||||
#endif /* GL_ARB_window_pos */
|
||||
|
||||
#ifdef GL_ARM_shader_core_properties
|
||||
|
||||
static GLboolean _glewInit_GL_ARM_shader_core_properties ()
|
||||
{
|
||||
GLboolean r = GL_FALSE;
|
||||
|
||||
r = ((glMaxActiveShaderCoresARM = (PFNGLMAXACTIVESHADERCORESARMPROC)glewGetProcAddress((const GLubyte*)"glMaxActiveShaderCoresARM")) == NULL) || r;
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
#endif /* GL_ARM_shader_core_properties */
|
||||
|
||||
#ifdef GL_ATI_draw_buffers
|
||||
|
||||
static GLboolean _glewInit_GL_ATI_draw_buffers ()
|
||||
@ -18789,6 +18812,9 @@ GLenum GLEWAPIENTRY glewContextInit (void)
|
||||
#ifdef GL_ARB_window_pos
|
||||
if (glewExperimental || GLEW_ARB_window_pos) GLEW_ARB_window_pos = !_glewInit_GL_ARB_window_pos();
|
||||
#endif /* GL_ARB_window_pos */
|
||||
#ifdef GL_ARM_shader_core_properties
|
||||
if (glewExperimental || GLEW_ARM_shader_core_properties) GLEW_ARM_shader_core_properties = !_glewInit_GL_ARM_shader_core_properties();
|
||||
#endif /* GL_ARM_shader_core_properties */
|
||||
#ifdef GL_ATI_draw_buffers
|
||||
if (glewExperimental || GLEW_ATI_draw_buffers) GLEW_ATI_draw_buffers = !_glewInit_GL_ATI_draw_buffers();
|
||||
#endif /* GL_ATI_draw_buffers */
|
||||
@ -25546,6 +25572,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_ARM_shader_core_properties
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_core_properties", 22))
|
||||
{
|
||||
ret = GLEW_ARM_shader_core_properties;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_ARM_shader_framebuffer_fetch
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch", 24))
|
||||
{
|
||||
|
@ -3874,6 +3874,17 @@ static void _glewInfo_GL_ARM_rgba8 (void)
|
||||
|
||||
#endif /* GL_ARM_rgba8 */
|
||||
|
||||
#ifdef GL_ARM_shader_core_properties
|
||||
|
||||
static void _glewInfo_GL_ARM_shader_core_properties (void)
|
||||
{
|
||||
GLboolean fi = glewPrintExt("GL_ARM_shader_core_properties", GLEW_ARM_shader_core_properties, glewIsSupported("GL_ARM_shader_core_properties"), glewGetExtension("GL_ARM_shader_core_properties"));
|
||||
|
||||
glewInfoFunc(fi, "glMaxActiveShaderCoresARM", glMaxActiveShaderCoresARM == NULL);
|
||||
}
|
||||
|
||||
#endif /* GL_ARM_shader_core_properties */
|
||||
|
||||
#ifdef GL_ARM_shader_framebuffer_fetch
|
||||
|
||||
static void _glewInfo_GL_ARM_shader_framebuffer_fetch (void)
|
||||
@ -15938,6 +15949,9 @@ static void glewInfo (void)
|
||||
#ifdef GL_ARM_rgba8
|
||||
_glewInfo_GL_ARM_rgba8();
|
||||
#endif /* GL_ARM_rgba8 */
|
||||
#ifdef GL_ARM_shader_core_properties
|
||||
_glewInfo_GL_ARM_shader_core_properties();
|
||||
#endif /* GL_ARM_shader_core_properties */
|
||||
#ifdef GL_ARM_shader_framebuffer_fetch
|
||||
_glewInfo_GL_ARM_shader_framebuffer_fetch();
|
||||
#endif /* GL_ARM_shader_framebuffer_fetch */
|
||||
|
Loading…
Reference in New Issue
Block a user