Generate Sources of master updated at Tue Feb 21 00:02:21 GMT 2023

This commit is contained in:
Gyusun 2023-02-21 00:02:22 +00:00
parent ccc2ac3e40
commit 94b823ee04
5 changed files with 696 additions and 591 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2435,6 +2435,17 @@ typedef EGLBoolean ( * PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStrea
#endif /* EGL_NV_stream_consumer_eglimage */ #endif /* EGL_NV_stream_consumer_eglimage */
/* ----------- EGL_NV_stream_consumer_eglimage_use_scanout_attrib ---------- */
#ifndef EGL_NV_stream_consumer_eglimage_use_scanout_attrib
#define EGL_NV_stream_consumer_eglimage_use_scanout_attrib 1
#define EGL_STREAM_CONSUMER_IMAGE_USE_SCANOUT_NV 0x3378
#define EGLEW_NV_stream_consumer_eglimage_use_scanout_attrib EGLEW_GET_VAR(__EGLEW_NV_stream_consumer_eglimage_use_scanout_attrib)
#endif /* EGL_NV_stream_consumer_eglimage_use_scanout_attrib */
/* ------------------ EGL_NV_stream_consumer_gltexture_yuv ----------------- */ /* ------------------ EGL_NV_stream_consumer_gltexture_yuv ----------------- */
#ifndef EGL_NV_stream_consumer_gltexture_yuv #ifndef EGL_NV_stream_consumer_gltexture_yuv
@ -3187,6 +3198,7 @@ EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_post_sub_buffer;
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_quadruple_buffer; EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_quadruple_buffer;
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_robustness_video_memory_purge; EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_robustness_video_memory_purge;
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_consumer_eglimage; EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_consumer_eglimage;
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_consumer_eglimage_use_scanout_attrib;
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv; EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv;
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_display; EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_display;
EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_object; EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_object;

View File

@ -10628,6 +10628,21 @@ typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY
#endif /* GL_EXT_framebuffer_blit */ #endif /* GL_EXT_framebuffer_blit */
/* --------------------- GL_EXT_framebuffer_blit_layers -------------------- */
#ifndef GL_EXT_framebuffer_blit_layers
#define GL_EXT_framebuffer_blit_layers 1
typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERLAYEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint srcLayer, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLint dstLayer, GLbitfield mask, GLenum filter);
typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERLAYERSEXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
#define glBlitFramebufferLayerEXT GLEW_GET_FUN(__glewBlitFramebufferLayerEXT)
#define glBlitFramebufferLayersEXT GLEW_GET_FUN(__glewBlitFramebufferLayersEXT)
#define GLEW_EXT_framebuffer_blit_layers GLEW_GET_VAR(__GLEW_EXT_framebuffer_blit_layers)
#endif /* GL_EXT_framebuffer_blit_layers */
/* --------------------- GL_EXT_framebuffer_multisample -------------------- */ /* --------------------- GL_EXT_framebuffer_multisample -------------------- */
#ifndef GL_EXT_framebuffer_multisample #ifndef GL_EXT_framebuffer_multisample
@ -24260,6 +24275,9 @@ GLEW_FUN_EXPORT PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT;
GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT; GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT;
GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFERLAYEREXTPROC __glewBlitFramebufferLayerEXT;
GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFERLAYERSEXTPROC __glewBlitFramebufferLayersEXT;
GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT; GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT;
GLEW_FUN_EXPORT PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT; GLEW_FUN_EXPORT PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT;
@ -26058,6 +26076,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_EXT_fog_coord;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_frag_depth; GLEW_VAR_EXPORT GLboolean __GLEW_EXT_frag_depth;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_fragment_lighting; GLEW_VAR_EXPORT GLboolean __GLEW_EXT_fragment_lighting;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_blit; GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_blit;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_blit_layers;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample; GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled; GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled;
GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_object; GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_object;

View File

@ -2053,6 +2053,9 @@ PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL;
PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL; PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL;
PFNGLBLITFRAMEBUFFERLAYEREXTPROC __glewBlitFramebufferLayerEXT = NULL;
PFNGLBLITFRAMEBUFFERLAYERSEXTPROC __glewBlitFramebufferLayersEXT = NULL;
PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL; PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL;
PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL; PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL;
@ -3852,6 +3855,7 @@ GLboolean __GLEW_EXT_fog_coord = GL_FALSE;
GLboolean __GLEW_EXT_frag_depth = GL_FALSE; GLboolean __GLEW_EXT_frag_depth = GL_FALSE;
GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE; GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE;
GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE; GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE;
GLboolean __GLEW_EXT_framebuffer_blit_layers = GL_FALSE;
GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE; GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE;
GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled = GL_FALSE; GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled = GL_FALSE;
GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE; GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE;
@ -5461,6 +5465,9 @@ static const char * _glewExtensionLookup[] = {
#ifdef GL_EXT_framebuffer_blit #ifdef GL_EXT_framebuffer_blit
"GL_EXT_framebuffer_blit", "GL_EXT_framebuffer_blit",
#endif #endif
#ifdef GL_EXT_framebuffer_blit_layers
"GL_EXT_framebuffer_blit_layers",
#endif
#ifdef GL_EXT_framebuffer_multisample #ifdef GL_EXT_framebuffer_multisample
"GL_EXT_framebuffer_multisample", "GL_EXT_framebuffer_multisample",
#endif #endif
@ -7290,7 +7297,7 @@ static const char * _glewExtensionLookup[] = {
/* Detected in the extension string or strings */ /* Detected in the extension string or strings */
static GLboolean _glewExtensionString[947]; static GLboolean _glewExtensionString[948];
/* Detected via extension string or experimental mode */ /* Detected via extension string or experimental mode */
static GLboolean* _glewExtensionEnabled[] = { static GLboolean* _glewExtensionEnabled[] = {
#ifdef GL_3DFX_multisample #ifdef GL_3DFX_multisample
@ -8310,6 +8317,9 @@ static GLboolean* _glewExtensionEnabled[] = {
#ifdef GL_EXT_framebuffer_blit #ifdef GL_EXT_framebuffer_blit
&__GLEW_EXT_framebuffer_blit, &__GLEW_EXT_framebuffer_blit,
#endif #endif
#ifdef GL_EXT_framebuffer_blit_layers
&__GLEW_EXT_framebuffer_blit_layers,
#endif
#ifdef GL_EXT_framebuffer_multisample #ifdef GL_EXT_framebuffer_multisample
&__GLEW_EXT_framebuffer_multisample, &__GLEW_EXT_framebuffer_multisample,
#endif #endif
@ -10312,6 +10322,7 @@ static GLboolean _glewInit_GL_EXT_external_buffer ();
static GLboolean _glewInit_GL_EXT_fog_coord (); static GLboolean _glewInit_GL_EXT_fog_coord ();
static GLboolean _glewInit_GL_EXT_fragment_lighting (); static GLboolean _glewInit_GL_EXT_fragment_lighting ();
static GLboolean _glewInit_GL_EXT_framebuffer_blit (); static GLboolean _glewInit_GL_EXT_framebuffer_blit ();
static GLboolean _glewInit_GL_EXT_framebuffer_blit_layers ();
static GLboolean _glewInit_GL_EXT_framebuffer_multisample (); static GLboolean _glewInit_GL_EXT_framebuffer_multisample ();
static GLboolean _glewInit_GL_EXT_framebuffer_object (); static GLboolean _glewInit_GL_EXT_framebuffer_object ();
static GLboolean _glewInit_GL_EXT_geometry_shader4 (); static GLboolean _glewInit_GL_EXT_geometry_shader4 ();
@ -14210,6 +14221,20 @@ static GLboolean _glewInit_GL_EXT_framebuffer_blit ()
#endif /* GL_EXT_framebuffer_blit */ #endif /* GL_EXT_framebuffer_blit */
#ifdef GL_EXT_framebuffer_blit_layers
static GLboolean _glewInit_GL_EXT_framebuffer_blit_layers ()
{
GLboolean r = GL_FALSE;
r = ((glBlitFramebufferLayerEXT = (PFNGLBLITFRAMEBUFFERLAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferLayerEXT")) == NULL) || r;
r = ((glBlitFramebufferLayersEXT = (PFNGLBLITFRAMEBUFFERLAYERSEXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferLayersEXT")) == NULL) || r;
return r;
}
#endif /* GL_EXT_framebuffer_blit_layers */
#ifdef GL_EXT_framebuffer_multisample #ifdef GL_EXT_framebuffer_multisample
static GLboolean _glewInit_GL_EXT_framebuffer_multisample () static GLboolean _glewInit_GL_EXT_framebuffer_multisample ()
@ -18871,6 +18896,9 @@ GLenum GLEWAPIENTRY glewContextInit (void)
#ifdef GL_EXT_framebuffer_blit #ifdef GL_EXT_framebuffer_blit
if (glewExperimental || GLEW_EXT_framebuffer_blit) GLEW_EXT_framebuffer_blit = !_glewInit_GL_EXT_framebuffer_blit(); if (glewExperimental || GLEW_EXT_framebuffer_blit) GLEW_EXT_framebuffer_blit = !_glewInit_GL_EXT_framebuffer_blit();
#endif /* GL_EXT_framebuffer_blit */ #endif /* GL_EXT_framebuffer_blit */
#ifdef GL_EXT_framebuffer_blit_layers
if (glewExperimental || GLEW_EXT_framebuffer_blit_layers) GLEW_EXT_framebuffer_blit_layers = !_glewInit_GL_EXT_framebuffer_blit_layers();
#endif /* GL_EXT_framebuffer_blit_layers */
#ifdef GL_EXT_framebuffer_multisample #ifdef GL_EXT_framebuffer_multisample
if (glewExperimental || GLEW_EXT_framebuffer_multisample) GLEW_EXT_framebuffer_multisample = !_glewInit_GL_EXT_framebuffer_multisample(); if (glewExperimental || GLEW_EXT_framebuffer_multisample) GLEW_EXT_framebuffer_multisample = !_glewInit_GL_EXT_framebuffer_multisample();
#endif /* GL_EXT_framebuffer_multisample */ #endif /* GL_EXT_framebuffer_multisample */
@ -19923,6 +19951,7 @@ GLboolean __EGLEW_NV_post_sub_buffer = GL_FALSE;
GLboolean __EGLEW_NV_quadruple_buffer = GL_FALSE; GLboolean __EGLEW_NV_quadruple_buffer = GL_FALSE;
GLboolean __EGLEW_NV_robustness_video_memory_purge = GL_FALSE; GLboolean __EGLEW_NV_robustness_video_memory_purge = GL_FALSE;
GLboolean __EGLEW_NV_stream_consumer_eglimage = GL_FALSE; GLboolean __EGLEW_NV_stream_consumer_eglimage = GL_FALSE;
GLboolean __EGLEW_NV_stream_consumer_eglimage_use_scanout_attrib = GL_FALSE;
GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv = GL_FALSE; GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv = GL_FALSE;
GLboolean __EGLEW_NV_stream_cross_display = GL_FALSE; GLboolean __EGLEW_NV_stream_cross_display = GL_FALSE;
GLboolean __EGLEW_NV_stream_cross_object = GL_FALSE; GLboolean __EGLEW_NV_stream_cross_object = GL_FALSE;
@ -21317,6 +21346,9 @@ GLenum eglewInit (EGLDisplay display)
EGLEW_NV_stream_consumer_eglimage = _glewSearchExtension("EGL_NV_stream_consumer_eglimage", extStart, extEnd); EGLEW_NV_stream_consumer_eglimage = _glewSearchExtension("EGL_NV_stream_consumer_eglimage", extStart, extEnd);
if (glewExperimental || EGLEW_NV_stream_consumer_eglimage) EGLEW_NV_stream_consumer_eglimage = !_glewInit_EGL_NV_stream_consumer_eglimage(); if (glewExperimental || EGLEW_NV_stream_consumer_eglimage) EGLEW_NV_stream_consumer_eglimage = !_glewInit_EGL_NV_stream_consumer_eglimage();
#endif /* EGL_NV_stream_consumer_eglimage */ #endif /* EGL_NV_stream_consumer_eglimage */
#ifdef EGL_NV_stream_consumer_eglimage_use_scanout_attrib
EGLEW_NV_stream_consumer_eglimage_use_scanout_attrib = _glewSearchExtension("EGL_NV_stream_consumer_eglimage_use_scanout_attrib", extStart, extEnd);
#endif /* EGL_NV_stream_consumer_eglimage_use_scanout_attrib */
#ifdef EGL_NV_stream_consumer_gltexture_yuv #ifdef EGL_NV_stream_consumer_gltexture_yuv
EGLEW_NV_stream_consumer_gltexture_yuv = _glewSearchExtension("EGL_NV_stream_consumer_gltexture_yuv", extStart, extEnd); EGLEW_NV_stream_consumer_gltexture_yuv = _glewSearchExtension("EGL_NV_stream_consumer_gltexture_yuv", extStart, extEnd);
if (glewExperimental || EGLEW_NV_stream_consumer_gltexture_yuv) EGLEW_NV_stream_consumer_gltexture_yuv = !_glewInit_EGL_NV_stream_consumer_gltexture_yuv(); if (glewExperimental || EGLEW_NV_stream_consumer_gltexture_yuv) EGLEW_NV_stream_consumer_gltexture_yuv = !_glewInit_EGL_NV_stream_consumer_gltexture_yuv();
@ -26060,6 +26092,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
continue; continue;
} }
#endif #endif
#ifdef GL_EXT_framebuffer_blit_layers
if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit_layers", 23))
{
ret = GLEW_EXT_framebuffer_blit_layers;
continue;
}
#endif
#ifdef GL_EXT_framebuffer_multisample #ifdef GL_EXT_framebuffer_multisample
if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23)) if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
{ {
@ -32324,6 +32363,13 @@ GLboolean eglewIsSupported (const char* name)
continue; continue;
} }
#endif #endif
#ifdef EGL_NV_stream_consumer_eglimage_use_scanout_attrib
if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_eglimage_use_scanout_attrib", 43))
{
ret = EGLEW_NV_stream_consumer_eglimage_use_scanout_attrib;
continue;
}
#endif
#ifdef EGL_NV_stream_consumer_gltexture_yuv #ifdef EGL_NV_stream_consumer_gltexture_yuv
if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_gltexture_yuv", 29)) if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_gltexture_yuv", 29))
{ {

View File

@ -5073,6 +5073,18 @@ static void _glewInfo_GL_EXT_framebuffer_blit (void)
#endif /* GL_EXT_framebuffer_blit */ #endif /* GL_EXT_framebuffer_blit */
#ifdef GL_EXT_framebuffer_blit_layers
static void _glewInfo_GL_EXT_framebuffer_blit_layers (void)
{
GLboolean fi = glewPrintExt("GL_EXT_framebuffer_blit_layers", GLEW_EXT_framebuffer_blit_layers, glewIsSupported("GL_EXT_framebuffer_blit_layers"), glewGetExtension("GL_EXT_framebuffer_blit_layers"));
glewInfoFunc(fi, "glBlitFramebufferLayerEXT", glBlitFramebufferLayerEXT == NULL);
glewInfoFunc(fi, "glBlitFramebufferLayersEXT", glBlitFramebufferLayersEXT == NULL);
}
#endif /* GL_EXT_framebuffer_blit_layers */
#ifdef GL_EXT_framebuffer_multisample #ifdef GL_EXT_framebuffer_multisample
static void _glewInfo_GL_EXT_framebuffer_multisample (void) static void _glewInfo_GL_EXT_framebuffer_multisample (void)
@ -13264,6 +13276,15 @@ static void _glewInfo_EGL_NV_stream_consumer_eglimage (void)
#endif /* EGL_NV_stream_consumer_eglimage */ #endif /* EGL_NV_stream_consumer_eglimage */
#ifdef EGL_NV_stream_consumer_eglimage_use_scanout_attrib
static void _glewInfo_EGL_NV_stream_consumer_eglimage_use_scanout_attrib (void)
{
glewPrintExt("EGL_NV_stream_consumer_eglimage_use_scanout_attrib", EGLEW_NV_stream_consumer_eglimage_use_scanout_attrib, eglewIsSupported("EGL_NV_stream_consumer_eglimage_use_scanout_attrib"), eglewGetExtension("EGL_NV_stream_consumer_eglimage_use_scanout_attrib"));
}
#endif /* EGL_NV_stream_consumer_eglimage_use_scanout_attrib */
#ifdef EGL_NV_stream_consumer_gltexture_yuv #ifdef EGL_NV_stream_consumer_gltexture_yuv
static void _glewInfo_EGL_NV_stream_consumer_gltexture_yuv (void) static void _glewInfo_EGL_NV_stream_consumer_gltexture_yuv (void)
@ -16100,6 +16121,9 @@ static void glewInfo (void)
#ifdef GL_EXT_framebuffer_blit #ifdef GL_EXT_framebuffer_blit
_glewInfo_GL_EXT_framebuffer_blit(); _glewInfo_GL_EXT_framebuffer_blit();
#endif /* GL_EXT_framebuffer_blit */ #endif /* GL_EXT_framebuffer_blit */
#ifdef GL_EXT_framebuffer_blit_layers
_glewInfo_GL_EXT_framebuffer_blit_layers();
#endif /* GL_EXT_framebuffer_blit_layers */
#ifdef GL_EXT_framebuffer_multisample #ifdef GL_EXT_framebuffer_multisample
_glewInfo_GL_EXT_framebuffer_multisample(); _glewInfo_GL_EXT_framebuffer_multisample();
#endif /* GL_EXT_framebuffer_multisample */ #endif /* GL_EXT_framebuffer_multisample */
@ -18703,6 +18727,9 @@ static void eglewInfo ()
#ifdef EGL_NV_stream_consumer_eglimage #ifdef EGL_NV_stream_consumer_eglimage
_glewInfo_EGL_NV_stream_consumer_eglimage(); _glewInfo_EGL_NV_stream_consumer_eglimage();
#endif /* EGL_NV_stream_consumer_eglimage */ #endif /* EGL_NV_stream_consumer_eglimage */
#ifdef EGL_NV_stream_consumer_eglimage_use_scanout_attrib
_glewInfo_EGL_NV_stream_consumer_eglimage_use_scanout_attrib();
#endif /* EGL_NV_stream_consumer_eglimage_use_scanout_attrib */
#ifdef EGL_NV_stream_consumer_gltexture_yuv #ifdef EGL_NV_stream_consumer_gltexture_yuv
_glewInfo_EGL_NV_stream_consumer_gltexture_yuv(); _glewInfo_EGL_NV_stream_consumer_gltexture_yuv();
#endif /* EGL_NV_stream_consumer_gltexture_yuv */ #endif /* EGL_NV_stream_consumer_gltexture_yuv */