|
@@ -1,12 +1,14 @@
|
|
/*
|
|
/*
|
|
|
|
|
|
- EGL loader generated by glad 0.1.35 on Sat May 14 03:38:09 2022.
|
|
|
|
|
|
+ EGL loader generated by glad 0.1.36 on Sat Jan 27 07:23:01 2024.
|
|
|
|
|
|
Language/Generator: C/C++
|
|
Language/Generator: C/C++
|
|
Specification: egl
|
|
Specification: egl
|
|
APIs: egl=1.5
|
|
APIs: egl=1.5
|
|
Profile: -
|
|
Profile: -
|
|
Extensions:
|
|
Extensions:
|
|
|
|
+ EGL_EXT_device_base,
|
|
|
|
+ EGL_EXT_device_drm_render_node,
|
|
EGL_EXT_image_dma_buf_import,
|
|
EGL_EXT_image_dma_buf_import,
|
|
EGL_EXT_image_dma_buf_import_modifiers,
|
|
EGL_EXT_image_dma_buf_import_modifiers,
|
|
EGL_EXT_platform_base,
|
|
EGL_EXT_platform_base,
|
|
@@ -25,9 +27,9 @@
|
|
Reproducible: False
|
|
Reproducible: False
|
|
|
|
|
|
Commandline:
|
|
Commandline:
|
|
- --api="egl=1.5" --generator="c" --spec="egl" --extensions="EGL_EXT_image_dma_buf_import,EGL_EXT_image_dma_buf_import_modifiers,EGL_EXT_platform_base,EGL_EXT_platform_wayland,EGL_EXT_platform_x11,EGL_EXT_platform_xcb,EGL_KHR_create_context,EGL_KHR_image_base,EGL_KHR_image_pixmap,EGL_KHR_platform_wayland,EGL_KHR_platform_x11,EGL_MESA_image_dma_buf_export"
|
|
|
|
|
|
+ --api="egl=1.5" --generator="c" --spec="egl" --extensions="EGL_EXT_device_base,EGL_EXT_device_drm_render_node,EGL_EXT_image_dma_buf_import,EGL_EXT_image_dma_buf_import_modifiers,EGL_EXT_platform_base,EGL_EXT_platform_wayland,EGL_EXT_platform_x11,EGL_EXT_platform_xcb,EGL_KHR_create_context,EGL_KHR_image_base,EGL_KHR_image_pixmap,EGL_KHR_platform_wayland,EGL_KHR_platform_x11,EGL_MESA_image_dma_buf_export"
|
|
Online:
|
|
Online:
|
|
- https://glad.dav1d.de/#language=c&specification=egl&loader=on&api=egl%3D1.5&extensions=EGL_EXT_image_dma_buf_import&extensions=EGL_EXT_image_dma_buf_import_modifiers&extensions=EGL_EXT_platform_base&extensions=EGL_EXT_platform_wayland&extensions=EGL_EXT_platform_x11&extensions=EGL_EXT_platform_xcb&extensions=EGL_KHR_create_context&extensions=EGL_KHR_image_base&extensions=EGL_KHR_image_pixmap&extensions=EGL_KHR_platform_wayland&extensions=EGL_KHR_platform_x11&extensions=EGL_MESA_image_dma_buf_export
|
|
|
|
|
|
+ https://glad.dav1d.de/#language=c&specification=egl&loader=on&api=egl%3D1.5&extensions=EGL_EXT_device_base&extensions=EGL_EXT_device_drm_render_node&extensions=EGL_EXT_image_dma_buf_import&extensions=EGL_EXT_image_dma_buf_import_modifiers&extensions=EGL_EXT_platform_base&extensions=EGL_EXT_platform_wayland&extensions=EGL_EXT_platform_x11&extensions=EGL_EXT_platform_xcb&extensions=EGL_KHR_create_context&extensions=EGL_KHR_image_base&extensions=EGL_KHR_image_pixmap&extensions=EGL_KHR_platform_wayland&extensions=EGL_KHR_platform_x11&extensions=EGL_MESA_image_dma_buf_export
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
@@ -50,6 +52,9 @@
|
|
#ifndef APIENTRYP
|
|
#ifndef APIENTRYP
|
|
#define APIENTRYP APIENTRY *
|
|
#define APIENTRYP APIENTRY *
|
|
#endif
|
|
#endif
|
|
|
|
+#ifndef GLAPI
|
|
|
|
+#define GLAPI extern
|
|
|
|
+#endif
|
|
|
|
|
|
#ifdef __cplusplus
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
extern "C" {
|
|
@@ -57,32 +62,6 @@ extern "C" {
|
|
|
|
|
|
typedef void* (* GLADloadproc)(const char *name);
|
|
typedef void* (* GLADloadproc)(const char *name);
|
|
|
|
|
|
-#ifndef GLAPI
|
|
|
|
-# if defined(GLAD_GLAPI_EXPORT)
|
|
|
|
-# if defined(_WIN32) || defined(__CYGWIN__)
|
|
|
|
-# if defined(GLAD_GLAPI_EXPORT_BUILD)
|
|
|
|
-# if defined(__GNUC__)
|
|
|
|
-# define GLAPI __attribute__ ((dllexport)) extern
|
|
|
|
-# else
|
|
|
|
-# define GLAPI __declspec(dllexport) extern
|
|
|
|
-# endif
|
|
|
|
-# else
|
|
|
|
-# if defined(__GNUC__)
|
|
|
|
-# define GLAPI __attribute__ ((dllimport)) extern
|
|
|
|
-# else
|
|
|
|
-# define GLAPI __declspec(dllimport) extern
|
|
|
|
-# endif
|
|
|
|
-# endif
|
|
|
|
-# elif defined(__GNUC__) && defined(GLAD_GLAPI_EXPORT_BUILD)
|
|
|
|
-# define GLAPI __attribute__ ((visibility ("default"))) extern
|
|
|
|
-# else
|
|
|
|
-# define GLAPI extern
|
|
|
|
-# endif
|
|
|
|
-# else
|
|
|
|
-# define GLAPI extern
|
|
|
|
-# endif
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
GLAPI int gladLoadEGL(void);
|
|
GLAPI int gladLoadEGL(void);
|
|
GLAPI int gladLoadEGLLoader(GLADloadproc);
|
|
GLAPI int gladLoadEGLLoader(GLADloadproc);
|
|
|
|
|
|
@@ -343,6 +322,10 @@ EGLDisplay eglGetPlatformDisplay(EGLenum platform, void *native_display, const E
|
|
EGLSurface eglCreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list);
|
|
EGLSurface eglCreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list);
|
|
EGLSurface eglCreatePlatformPixmapSurface(EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list);
|
|
EGLSurface eglCreatePlatformPixmapSurface(EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list);
|
|
EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags);
|
|
EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags);
|
|
|
|
+#define EGL_NO_DEVICE_EXT EGL_CAST(EGLDeviceEXT,0)
|
|
|
|
+#define EGL_BAD_DEVICE_EXT 0x322B
|
|
|
|
+#define EGL_DEVICE_EXT 0x322C
|
|
|
|
+#define EGL_DRM_RENDER_NODE_FILE_EXT 0x3377
|
|
#define EGL_LINUX_DMA_BUF_EXT 0x3270
|
|
#define EGL_LINUX_DMA_BUF_EXT 0x3270
|
|
#define EGL_LINUX_DRM_FOURCC_EXT 0x3271
|
|
#define EGL_LINUX_DRM_FOURCC_EXT 0x3271
|
|
#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272
|
|
#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272
|
|
@@ -400,6 +383,24 @@ EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags);
|
|
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
|
|
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
|
|
#define EGL_PLATFORM_X11_KHR 0x31D5
|
|
#define EGL_PLATFORM_X11_KHR 0x31D5
|
|
#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6
|
|
#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6
|
|
|
|
+#ifndef EGL_EXT_device_base
|
|
|
|
+#define EGL_EXT_device_base 1
|
|
|
|
+typedef EGLBoolean (APIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC)(EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
|
|
|
|
+GLAPI PFNEGLQUERYDEVICEATTRIBEXTPROC glad_eglQueryDeviceAttribEXT;
|
|
|
|
+#define eglQueryDeviceAttribEXT glad_eglQueryDeviceAttribEXT
|
|
|
|
+typedef const char * (APIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC)(EGLDeviceEXT device, EGLint name);
|
|
|
|
+GLAPI PFNEGLQUERYDEVICESTRINGEXTPROC glad_eglQueryDeviceStringEXT;
|
|
|
|
+#define eglQueryDeviceStringEXT glad_eglQueryDeviceStringEXT
|
|
|
|
+typedef EGLBoolean (APIENTRYP PFNEGLQUERYDEVICESEXTPROC)(EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
|
|
|
|
+GLAPI PFNEGLQUERYDEVICESEXTPROC glad_eglQueryDevicesEXT;
|
|
|
|
+#define eglQueryDevicesEXT glad_eglQueryDevicesEXT
|
|
|
|
+typedef EGLBoolean (APIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC)(EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
|
|
|
|
+GLAPI PFNEGLQUERYDISPLAYATTRIBEXTPROC glad_eglQueryDisplayAttribEXT;
|
|
|
|
+#define eglQueryDisplayAttribEXT glad_eglQueryDisplayAttribEXT
|
|
|
|
+#endif
|
|
|
|
+#ifndef EGL_EXT_device_drm_render_node
|
|
|
|
+#define EGL_EXT_device_drm_render_node 1
|
|
|
|
+#endif
|
|
#ifndef EGL_EXT_image_dma_buf_import
|
|
#ifndef EGL_EXT_image_dma_buf_import
|
|
#define EGL_EXT_image_dma_buf_import 1
|
|
#define EGL_EXT_image_dma_buf_import 1
|
|
#endif
|
|
#endif
|