mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-14 02:53:48 +00:00
Generate Sources of origin/master updated at Sat Nov 12 17:53:06 GMT 2016
This commit is contained in:
parent
5120a35abf
commit
59b243190a
@ -794,6 +794,33 @@ typedef EGLBoolean ( * PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLin
|
|||||||
|
|
||||||
#endif /* EGL_EXT_image_dma_buf_import */
|
#endif /* EGL_EXT_image_dma_buf_import */
|
||||||
|
|
||||||
|
/* ----------------- EGL_EXT_image_dma_buf_import_modifiers ---------------- */
|
||||||
|
|
||||||
|
#ifndef EGL_EXT_image_dma_buf_import_modifiers
|
||||||
|
#define EGL_EXT_image_dma_buf_import_modifiers 1
|
||||||
|
|
||||||
|
#define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440
|
||||||
|
#define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441
|
||||||
|
#define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442
|
||||||
|
#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443
|
||||||
|
#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444
|
||||||
|
#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445
|
||||||
|
#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446
|
||||||
|
#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447
|
||||||
|
#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448
|
||||||
|
#define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT 0x3449
|
||||||
|
#define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT 0x344A
|
||||||
|
|
||||||
|
typedef EGLBoolean ( * PFNEGLQUERYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
|
||||||
|
typedef EGLBoolean ( * PFNEGLQUERYDMABUFMODIFIERSEXTPROC) (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers);
|
||||||
|
|
||||||
|
#define eglQueryDmaBufFormatsEXT EGLEW_GET_FUN(__eglewQueryDmaBufFormatsEXT)
|
||||||
|
#define eglQueryDmaBufModifiersEXT EGLEW_GET_FUN(__eglewQueryDmaBufModifiersEXT)
|
||||||
|
|
||||||
|
#define EGLEW_EXT_image_dma_buf_import_modifiers EGLEW_GET_VAR(__EGLEW_EXT_image_dma_buf_import_modifiers)
|
||||||
|
|
||||||
|
#endif /* EGL_EXT_image_dma_buf_import_modifiers */
|
||||||
|
|
||||||
/* ------------------------ EGL_EXT_multiview_window ----------------------- */
|
/* ------------------------ EGL_EXT_multiview_window ----------------------- */
|
||||||
|
|
||||||
#ifndef EGL_EXT_multiview_window
|
#ifndef EGL_EXT_multiview_window
|
||||||
@ -2113,6 +2140,9 @@ EGLEW_FUN_EXPORT PFNEGLQUERYDEVICEATTRIBEXTPROC __eglewQueryDeviceAttribEXT;
|
|||||||
EGLEW_FUN_EXPORT PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT;
|
EGLEW_FUN_EXPORT PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT;
|
||||||
EGLEW_FUN_EXPORT PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT;
|
EGLEW_FUN_EXPORT PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT;
|
||||||
|
|
||||||
|
EGLEW_FUN_EXPORT PFNEGLQUERYDMABUFFORMATSEXTPROC __eglewQueryDmaBufFormatsEXT;
|
||||||
|
EGLEW_FUN_EXPORT PFNEGLQUERYDMABUFMODIFIERSEXTPROC __eglewQueryDmaBufModifiersEXT;
|
||||||
|
|
||||||
EGLEW_FUN_EXPORT PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT;
|
EGLEW_FUN_EXPORT PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT;
|
||||||
EGLEW_FUN_EXPORT PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT;
|
EGLEW_FUN_EXPORT PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT;
|
||||||
EGLEW_FUN_EXPORT PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT;
|
EGLEW_FUN_EXPORT PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT;
|
||||||
@ -2244,6 +2274,7 @@ EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_enumeration;
|
|||||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_openwf;
|
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_openwf;
|
||||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_query;
|
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_query;
|
||||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_image_dma_buf_import;
|
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_image_dma_buf_import;
|
||||||
|
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_image_dma_buf_import_modifiers;
|
||||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_multiview_window;
|
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_multiview_window;
|
||||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_base;
|
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_base;
|
||||||
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_drm;
|
EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_drm;
|
||||||
|
29
src/glew.c
29
src/glew.c
@ -14580,6 +14580,9 @@ PFNEGLQUERYDEVICEATTRIBEXTPROC __eglewQueryDeviceAttribEXT = NULL;
|
|||||||
PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT = NULL;
|
PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT = NULL;
|
||||||
PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT = NULL;
|
PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT = NULL;
|
||||||
|
|
||||||
|
PFNEGLQUERYDMABUFFORMATSEXTPROC __eglewQueryDmaBufFormatsEXT = NULL;
|
||||||
|
PFNEGLQUERYDMABUFMODIFIERSEXTPROC __eglewQueryDmaBufModifiersEXT = NULL;
|
||||||
|
|
||||||
PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT = NULL;
|
PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT = NULL;
|
||||||
PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT = NULL;
|
PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT = NULL;
|
||||||
PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT = NULL;
|
PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT = NULL;
|
||||||
@ -14711,6 +14714,7 @@ GLboolean __EGLEW_EXT_device_enumeration = GL_FALSE;
|
|||||||
GLboolean __EGLEW_EXT_device_openwf = GL_FALSE;
|
GLboolean __EGLEW_EXT_device_openwf = GL_FALSE;
|
||||||
GLboolean __EGLEW_EXT_device_query = GL_FALSE;
|
GLboolean __EGLEW_EXT_device_query = GL_FALSE;
|
||||||
GLboolean __EGLEW_EXT_image_dma_buf_import = GL_FALSE;
|
GLboolean __EGLEW_EXT_image_dma_buf_import = GL_FALSE;
|
||||||
|
GLboolean __EGLEW_EXT_image_dma_buf_import_modifiers = GL_FALSE;
|
||||||
GLboolean __EGLEW_EXT_multiview_window = GL_FALSE;
|
GLboolean __EGLEW_EXT_multiview_window = GL_FALSE;
|
||||||
GLboolean __EGLEW_EXT_output_base = GL_FALSE;
|
GLboolean __EGLEW_EXT_output_base = GL_FALSE;
|
||||||
GLboolean __EGLEW_EXT_output_drm = GL_FALSE;
|
GLboolean __EGLEW_EXT_output_drm = GL_FALSE;
|
||||||
@ -14988,6 +14992,20 @@ static GLboolean _glewInit_EGL_EXT_device_query ()
|
|||||||
|
|
||||||
#endif /* EGL_EXT_device_query */
|
#endif /* EGL_EXT_device_query */
|
||||||
|
|
||||||
|
#ifdef EGL_EXT_image_dma_buf_import_modifiers
|
||||||
|
|
||||||
|
static GLboolean _glewInit_EGL_EXT_image_dma_buf_import_modifiers ()
|
||||||
|
{
|
||||||
|
GLboolean r = GL_FALSE;
|
||||||
|
|
||||||
|
r = ((eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDmaBufFormatsEXT")) == NULL) || r;
|
||||||
|
r = ((eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDmaBufModifiersEXT")) == NULL) || r;
|
||||||
|
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* EGL_EXT_image_dma_buf_import_modifiers */
|
||||||
|
|
||||||
#ifdef EGL_EXT_output_base
|
#ifdef EGL_EXT_output_base
|
||||||
|
|
||||||
static GLboolean _glewInit_EGL_EXT_output_base ()
|
static GLboolean _glewInit_EGL_EXT_output_base ()
|
||||||
@ -15570,6 +15588,10 @@ GLenum eglewInit (EGLDisplay display)
|
|||||||
#ifdef EGL_EXT_image_dma_buf_import
|
#ifdef EGL_EXT_image_dma_buf_import
|
||||||
EGLEW_EXT_image_dma_buf_import = _glewSearchExtension("EGL_EXT_image_dma_buf_import", extStart, extEnd);
|
EGLEW_EXT_image_dma_buf_import = _glewSearchExtension("EGL_EXT_image_dma_buf_import", extStart, extEnd);
|
||||||
#endif /* EGL_EXT_image_dma_buf_import */
|
#endif /* EGL_EXT_image_dma_buf_import */
|
||||||
|
#ifdef EGL_EXT_image_dma_buf_import_modifiers
|
||||||
|
EGLEW_EXT_image_dma_buf_import_modifiers = _glewSearchExtension("EGL_EXT_image_dma_buf_import_modifiers", extStart, extEnd);
|
||||||
|
if (glewExperimental || EGLEW_EXT_image_dma_buf_import_modifiers) EGLEW_EXT_image_dma_buf_import_modifiers = !_glewInit_EGL_EXT_image_dma_buf_import_modifiers();
|
||||||
|
#endif /* EGL_EXT_image_dma_buf_import_modifiers */
|
||||||
#ifdef EGL_EXT_multiview_window
|
#ifdef EGL_EXT_multiview_window
|
||||||
EGLEW_EXT_multiview_window = _glewSearchExtension("EGL_EXT_multiview_window", extStart, extEnd);
|
EGLEW_EXT_multiview_window = _glewSearchExtension("EGL_EXT_multiview_window", extStart, extEnd);
|
||||||
#endif /* EGL_EXT_multiview_window */
|
#endif /* EGL_EXT_multiview_window */
|
||||||
@ -23483,6 +23505,13 @@ GLboolean eglewIsSupported (const char* name)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef EGL_EXT_image_dma_buf_import_modifiers
|
||||||
|
if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_dma_buf_import_modifiers", 30))
|
||||||
|
{
|
||||||
|
ret = EGLEW_EXT_image_dma_buf_import_modifiers;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#ifdef EGL_EXT_multiview_window
|
#ifdef EGL_EXT_multiview_window
|
||||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_window", 16))
|
if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_window", 16))
|
||||||
{
|
{
|
||||||
|
@ -8610,6 +8610,18 @@ static void _glewInfo_EGL_EXT_image_dma_buf_import (void)
|
|||||||
|
|
||||||
#endif /* EGL_EXT_image_dma_buf_import */
|
#endif /* EGL_EXT_image_dma_buf_import */
|
||||||
|
|
||||||
|
#ifdef EGL_EXT_image_dma_buf_import_modifiers
|
||||||
|
|
||||||
|
static void _glewInfo_EGL_EXT_image_dma_buf_import_modifiers (void)
|
||||||
|
{
|
||||||
|
glewPrintExt("EGL_EXT_image_dma_buf_import_modifiers", EGLEW_EXT_image_dma_buf_import_modifiers, eglewIsSupported("EGL_EXT_image_dma_buf_import_modifiers"), eglewGetExtension("EGL_EXT_image_dma_buf_import_modifiers"));
|
||||||
|
|
||||||
|
glewInfoFunc("eglQueryDmaBufFormatsEXT", eglQueryDmaBufFormatsEXT == NULL);
|
||||||
|
glewInfoFunc("eglQueryDmaBufModifiersEXT", eglQueryDmaBufModifiersEXT == NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* EGL_EXT_image_dma_buf_import_modifiers */
|
||||||
|
|
||||||
#ifdef EGL_EXT_multiview_window
|
#ifdef EGL_EXT_multiview_window
|
||||||
|
|
||||||
static void _glewInfo_EGL_EXT_multiview_window (void)
|
static void _glewInfo_EGL_EXT_multiview_window (void)
|
||||||
@ -13171,6 +13183,9 @@ static void eglewInfo ()
|
|||||||
#ifdef EGL_EXT_image_dma_buf_import
|
#ifdef EGL_EXT_image_dma_buf_import
|
||||||
_glewInfo_EGL_EXT_image_dma_buf_import();
|
_glewInfo_EGL_EXT_image_dma_buf_import();
|
||||||
#endif /* EGL_EXT_image_dma_buf_import */
|
#endif /* EGL_EXT_image_dma_buf_import */
|
||||||
|
#ifdef EGL_EXT_image_dma_buf_import_modifiers
|
||||||
|
_glewInfo_EGL_EXT_image_dma_buf_import_modifiers();
|
||||||
|
#endif /* EGL_EXT_image_dma_buf_import_modifiers */
|
||||||
#ifdef EGL_EXT_multiview_window
|
#ifdef EGL_EXT_multiview_window
|
||||||
_glewInfo_EGL_EXT_multiview_window();
|
_glewInfo_EGL_EXT_multiview_window();
|
||||||
#endif /* EGL_EXT_multiview_window */
|
#endif /* EGL_EXT_multiview_window */
|
||||||
|
Loading…
Reference in New Issue
Block a user