chromium/third_party/khronos/EGL/eglext.h

#ifndef __eglext_h_
#define __eglext_h_

#ifdef __cplusplus
extern "C" {
#endif

/*
** Copyright 2013-2020 The Khronos Group Inc.
** SPDX-License-Identifier: Apache-2.0
**
** This header is generated from the Khronos EGL XML API Registry.
** The current version of the Registry, generator scripts
** used to make the header, and the header can be found at
**   http://www.khronos.org/registry/egl
**
** Khronos $Git commit SHA1: 330c97a53f $ on $Git commit date: 2022-03-22 03:57:27 -0500 $
*/

#include <EGL/eglplatform.h>

#define EGL_EGLEXT_VERSION

/* Generated C header for:
 * API: egl
 * Versions considered: .*
 * Versions emitted: _nomatch_^
 * Default extensions included: egl
 * Additional extensions included: _nomatch_^
 * Extensions removed: _nomatch_^
 */

#ifndef EGL_KHR_cl_event
#define EGL_KHR_cl_event
#define EGL_CL_EVENT_HANDLE_KHR
#define EGL_SYNC_CL_EVENT_KHR
#define EGL_SYNC_CL_EVENT_COMPLETE_KHR
#endif /* EGL_KHR_cl_event */

#ifndef EGL_KHR_cl_event2
#define EGL_KHR_cl_event2
EGLSyncKHR;
EGLAttribKHR;
PFNEGLCREATESYNC64KHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list);
#endif
#endif /* EGL_KHR_cl_event2 */

#ifndef EGL_KHR_client_get_all_proc_addresses
#define EGL_KHR_client_get_all_proc_addresses
#endif /* EGL_KHR_client_get_all_proc_addresses */

#ifndef EGL_KHR_config_attribs
#define EGL_KHR_config_attribs
#define EGL_CONFORMANT_KHR
#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR
#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR
#endif /* EGL_KHR_config_attribs */

#ifndef EGL_KHR_context_flush_control
#define EGL_KHR_context_flush_control
#define EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR
#define EGL_CONTEXT_RELEASE_BEHAVIOR_KHR
#define EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR
#endif /* EGL_KHR_context_flush_control */

#ifndef EGL_KHR_create_context
#define EGL_KHR_create_context
#define EGL_CONTEXT_MAJOR_VERSION_KHR
#define EGL_CONTEXT_MINOR_VERSION_KHR
#define EGL_CONTEXT_FLAGS_KHR
#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR
#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR
#define EGL_NO_RESET_NOTIFICATION_KHR
#define EGL_LOSE_CONTEXT_ON_RESET_KHR
#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR
#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR
#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR
#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR
#define EGL_OPENGL_ES3_BIT_KHR
#endif /* EGL_KHR_create_context */

#ifndef EGL_KHR_create_context_no_error
#define EGL_KHR_create_context_no_error
#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR
#endif /* EGL_KHR_create_context_no_error */

#ifndef EGL_KHR_debug
#define EGL_KHR_debug
EGLLabelKHR;
EGLObjectKHR;
EGLDEBUGPROCKHR;
#define EGL_OBJECT_THREAD_KHR
#define EGL_OBJECT_DISPLAY_KHR
#define EGL_OBJECT_CONTEXT_KHR
#define EGL_OBJECT_SURFACE_KHR
#define EGL_OBJECT_IMAGE_KHR
#define EGL_OBJECT_SYNC_KHR
#define EGL_OBJECT_STREAM_KHR
#define EGL_DEBUG_MSG_CRITICAL_KHR
#define EGL_DEBUG_MSG_ERROR_KHR
#define EGL_DEBUG_MSG_WARN_KHR
#define EGL_DEBUG_MSG_INFO_KHR
#define EGL_DEBUG_CALLBACK_KHR
PFNEGLDEBUGMESSAGECONTROLKHRPROC;
PFNEGLQUERYDEBUGKHRPROC;
PFNEGLLABELOBJECTKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLint EGLAPIENTRY eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDebugKHR (EGLint attribute, EGLAttrib *value);
EGLAPI EGLint EGLAPIENTRY eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label);
#endif
#endif /* EGL_KHR_debug */

#ifndef EGL_KHR_display_reference
#define EGL_KHR_display_reference
#define EGL_TRACK_REFERENCES_KHR
PFNEGLQUERYDISPLAYATTRIBKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *value);
#endif
#endif /* EGL_KHR_display_reference */

#ifndef EGL_KHR_fence_sync
#define EGL_KHR_fence_sync
EGLTimeKHR;
#ifdef KHRONOS_SUPPORT_INT64
#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR
#define EGL_SYNC_CONDITION_KHR
#define EGL_SYNC_FENCE_KHR
PFNEGLCREATESYNCKHRPROC;
PFNEGLDESTROYSYNCKHRPROC;
PFNEGLCLIENTWAITSYNCKHRPROC;
PFNEGLGETSYNCATTRIBKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync);
EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
#endif
#endif /* KHRONOS_SUPPORT_INT64 */
#endif /* EGL_KHR_fence_sync */

#ifndef EGL_KHR_get_all_proc_addresses
#define EGL_KHR_get_all_proc_addresses
#endif /* EGL_KHR_get_all_proc_addresses */

#ifndef EGL_KHR_gl_colorspace
#define EGL_KHR_gl_colorspace
#define EGL_GL_COLORSPACE_KHR
#define EGL_GL_COLORSPACE_SRGB_KHR
#define EGL_GL_COLORSPACE_LINEAR_KHR
#endif /* EGL_KHR_gl_colorspace */

#ifndef EGL_KHR_gl_renderbuffer_image
#define EGL_KHR_gl_renderbuffer_image
#define EGL_GL_RENDERBUFFER_KHR
#endif /* EGL_KHR_gl_renderbuffer_image */

#ifndef EGL_KHR_gl_texture_2D_image
#define EGL_KHR_gl_texture_2D_image
#define EGL_GL_TEXTURE_2D_KHR
#define EGL_GL_TEXTURE_LEVEL_KHR
#endif /* EGL_KHR_gl_texture_2D_image */

#ifndef EGL_KHR_gl_texture_3D_image
#define EGL_KHR_gl_texture_3D_image
#define EGL_GL_TEXTURE_3D_KHR
#define EGL_GL_TEXTURE_ZOFFSET_KHR
#endif /* EGL_KHR_gl_texture_3D_image */

#ifndef EGL_KHR_gl_texture_cubemap_image
#define EGL_KHR_gl_texture_cubemap_image
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR
#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR
#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR
#endif /* EGL_KHR_gl_texture_cubemap_image */

#ifndef EGL_KHR_image
#define EGL_KHR_image
EGLImageKHR;
#define EGL_NATIVE_PIXMAP_KHR
#define EGL_NO_IMAGE_KHR
PFNEGLCREATEIMAGEKHRPROC;
PFNEGLDESTROYIMAGEKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image);
#endif
#endif /* EGL_KHR_image */

#ifndef EGL_KHR_image_base
#define EGL_KHR_image_base
#define EGL_IMAGE_PRESERVED_KHR
#endif /* EGL_KHR_image_base */

#ifndef EGL_KHR_image_pixmap
#define EGL_KHR_image_pixmap
#endif /* EGL_KHR_image_pixmap */

#ifndef EGL_KHR_lock_surface
#define EGL_KHR_lock_surface
#define EGL_READ_SURFACE_BIT_KHR
#define EGL_WRITE_SURFACE_BIT_KHR
#define EGL_LOCK_SURFACE_BIT_KHR
#define EGL_OPTIMAL_FORMAT_BIT_KHR
#define EGL_MATCH_FORMAT_KHR
#define EGL_FORMAT_RGB_565_EXACT_KHR
#define EGL_FORMAT_RGB_565_KHR
#define EGL_FORMAT_RGBA_8888_EXACT_KHR
#define EGL_FORMAT_RGBA_8888_KHR
#define EGL_MAP_PRESERVE_PIXELS_KHR
#define EGL_LOCK_USAGE_HINT_KHR
#define EGL_BITMAP_POINTER_KHR
#define EGL_BITMAP_PITCH_KHR
#define EGL_BITMAP_ORIGIN_KHR
#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR
#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR
#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR
#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR
#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR
#define EGL_LOWER_LEFT_KHR
#define EGL_UPPER_LEFT_KHR
PFNEGLLOCKSURFACEKHRPROC;
PFNEGLUNLOCKSURFACEKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface);
#endif
#endif /* EGL_KHR_lock_surface */

#ifndef EGL_KHR_lock_surface2
#define EGL_KHR_lock_surface2
#define EGL_BITMAP_PIXEL_SIZE_KHR
#endif /* EGL_KHR_lock_surface2 */

#ifndef EGL_KHR_lock_surface3
#define EGL_KHR_lock_surface3
PFNEGLQUERYSURFACE64KHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value);
#endif
#endif /* EGL_KHR_lock_surface3 */

#ifndef EGL_KHR_mutable_render_buffer
#define EGL_KHR_mutable_render_buffer
#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR
#endif /* EGL_KHR_mutable_render_buffer */

#ifndef EGL_KHR_no_config_context
#define EGL_KHR_no_config_context
#define EGL_NO_CONFIG_KHR
#endif /* EGL_KHR_no_config_context */

#ifndef EGL_KHR_partial_update
#define EGL_KHR_partial_update
#define EGL_BUFFER_AGE_KHR
PFNEGLSETDAMAGEREGIONKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
#endif
#endif /* EGL_KHR_partial_update */

#ifndef EGL_KHR_platform_android
#define EGL_KHR_platform_android
#define EGL_PLATFORM_ANDROID_KHR
#endif /* EGL_KHR_platform_android */

#ifndef EGL_KHR_platform_gbm
#define EGL_KHR_platform_gbm
#define EGL_PLATFORM_GBM_KHR
#endif /* EGL_KHR_platform_gbm */

#ifndef EGL_KHR_platform_wayland
#define EGL_KHR_platform_wayland
#define EGL_PLATFORM_WAYLAND_KHR
#endif /* EGL_KHR_platform_wayland */

#ifndef EGL_KHR_platform_x11
#define EGL_KHR_platform_x11
#define EGL_PLATFORM_X11_KHR
#define EGL_PLATFORM_X11_SCREEN_KHR
#endif /* EGL_KHR_platform_x11 */

#ifndef EGL_KHR_reusable_sync
#define EGL_KHR_reusable_sync
#ifdef KHRONOS_SUPPORT_INT64
#define EGL_SYNC_STATUS_KHR
#define EGL_SIGNALED_KHR
#define EGL_UNSIGNALED_KHR
#define EGL_TIMEOUT_EXPIRED_KHR
#define EGL_CONDITION_SATISFIED_KHR
#define EGL_SYNC_TYPE_KHR
#define EGL_SYNC_REUSABLE_KHR
#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR
#define EGL_FOREVER_KHR
#define EGL_NO_SYNC_KHR
PFNEGLSIGNALSYNCKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
#endif
#endif /* KHRONOS_SUPPORT_INT64 */
#endif /* EGL_KHR_reusable_sync */

#ifndef EGL_KHR_stream
#define EGL_KHR_stream
EGLStreamKHR;
EGLuint64KHR;
#ifdef KHRONOS_SUPPORT_INT64
#define EGL_NO_STREAM_KHR
#define EGL_CONSUMER_LATENCY_USEC_KHR
#define EGL_PRODUCER_FRAME_KHR
#define EGL_CONSUMER_FRAME_KHR
#define EGL_STREAM_STATE_KHR
#define EGL_STREAM_STATE_CREATED_KHR
#define EGL_STREAM_STATE_CONNECTING_KHR
#define EGL_STREAM_STATE_EMPTY_KHR
#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR
#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR
#define EGL_STREAM_STATE_DISCONNECTED_KHR
#define EGL_BAD_STREAM_KHR
#define EGL_BAD_STATE_KHR
PFNEGLCREATESTREAMKHRPROC;
PFNEGLDESTROYSTREAMKHRPROC;
PFNEGLSTREAMATTRIBKHRPROC;
PFNEGLQUERYSTREAMKHRPROC;
PFNEGLQUERYSTREAMU64KHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream);
EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
#endif
#endif /* KHRONOS_SUPPORT_INT64 */
#endif /* EGL_KHR_stream */

#ifndef EGL_KHR_stream_attrib
#define EGL_KHR_stream_attrib
#ifdef KHRONOS_SUPPORT_INT64
PFNEGLCREATESTREAMATTRIBKHRPROC;
PFNEGLSETSTREAMATTRIBKHRPROC;
PFNEGLQUERYSTREAMATTRIBKHRPROC;
PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC;
PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamAttribKHR (EGLDisplay dpy, const EGLAttrib *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglSetStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib *value);
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
#endif
#endif /* KHRONOS_SUPPORT_INT64 */
#endif /* EGL_KHR_stream_attrib */

#ifndef EGL_KHR_stream_consumer_gltexture
#define EGL_KHR_stream_consumer_gltexture
#ifdef EGL_KHR_stream
#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR
PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC;
PFNEGLSTREAMCONSUMERACQUIREKHRPROC;
PFNEGLSTREAMCONSUMERRELEASEKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream);
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream);
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream);
#endif
#endif /* EGL_KHR_stream */
#endif /* EGL_KHR_stream_consumer_gltexture */

#ifndef EGL_KHR_stream_cross_process_fd
#define EGL_KHR_stream_cross_process_fd
EGLNativeFileDescriptorKHR;
#ifdef EGL_KHR_stream
#define EGL_NO_FILE_DESCRIPTOR_KHR
PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC;
PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream);
EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
#endif
#endif /* EGL_KHR_stream */
#endif /* EGL_KHR_stream_cross_process_fd */

#ifndef EGL_KHR_stream_fifo
#define EGL_KHR_stream_fifo
#ifdef EGL_KHR_stream
#define EGL_STREAM_FIFO_LENGTH_KHR
#define EGL_STREAM_TIME_NOW_KHR
#define EGL_STREAM_TIME_CONSUMER_KHR
#define EGL_STREAM_TIME_PRODUCER_KHR
PFNEGLQUERYSTREAMTIMEKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value);
#endif
#endif /* EGL_KHR_stream */
#endif /* EGL_KHR_stream_fifo */

#ifndef EGL_KHR_stream_producer_aldatalocator
#define EGL_KHR_stream_producer_aldatalocator
#ifdef EGL_KHR_stream
#endif /* EGL_KHR_stream */
#endif /* EGL_KHR_stream_producer_aldatalocator */

#ifndef EGL_KHR_stream_producer_eglsurface
#define EGL_KHR_stream_producer_eglsurface
#ifdef EGL_KHR_stream
#define EGL_STREAM_BIT_KHR
PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
#endif
#endif /* EGL_KHR_stream */
#endif /* EGL_KHR_stream_producer_eglsurface */

#ifndef EGL_KHR_surfaceless_context
#define EGL_KHR_surfaceless_context
#endif /* EGL_KHR_surfaceless_context */

#ifndef EGL_KHR_swap_buffers_with_damage
#define EGL_KHR_swap_buffers_with_damage
PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
#endif
#endif /* EGL_KHR_swap_buffers_with_damage */

#ifndef EGL_KHR_vg_parent_image
#define EGL_KHR_vg_parent_image
#define EGL_VG_PARENT_IMAGE_KHR
#endif /* EGL_KHR_vg_parent_image */

#ifndef EGL_KHR_wait_sync
#define EGL_KHR_wait_sync
PFNEGLWAITSYNCKHRPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
#endif
#endif /* EGL_KHR_wait_sync */

#ifndef EGL_ANDROID_GLES_layers
#define EGL_ANDROID_GLES_layers
#endif /* EGL_ANDROID_GLES_layers */

#ifndef EGL_ANDROID_blob_cache
#define EGL_ANDROID_blob_cache
EGLsizeiANDROID;
EGLSetBlobFuncANDROID;
EGLGetBlobFuncANDROID;
PFNEGLSETBLOBCACHEFUNCSANDROIDPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
#endif
#endif /* EGL_ANDROID_blob_cache */

#ifndef EGL_ANDROID_create_native_client_buffer
#define EGL_ANDROID_create_native_client_buffer
#define EGL_NATIVE_BUFFER_USAGE_ANDROID
#define EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID
#define EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID
#define EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID
PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLClientBuffer EGLAPIENTRY eglCreateNativeClientBufferANDROID (const EGLint *attrib_list);
#endif
#endif /* EGL_ANDROID_create_native_client_buffer */

#ifndef EGL_ANDROID_framebuffer_target
#define EGL_ANDROID_framebuffer_target
#define EGL_FRAMEBUFFER_TARGET_ANDROID
#endif /* EGL_ANDROID_framebuffer_target */

#ifndef EGL_ANDROID_front_buffer_auto_refresh
#define EGL_ANDROID_front_buffer_auto_refresh
#define EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID
#endif /* EGL_ANDROID_front_buffer_auto_refresh */

#ifndef EGL_ANDROID_get_frame_timestamps
#define EGL_ANDROID_get_frame_timestamps
EGLnsecsANDROID;
#define EGL_TIMESTAMP_PENDING_ANDROID
#define EGL_TIMESTAMP_INVALID_ANDROID
#define EGL_TIMESTAMPS_ANDROID
#define EGL_COMPOSITE_DEADLINE_ANDROID
#define EGL_COMPOSITE_INTERVAL_ANDROID
#define EGL_COMPOSITE_TO_PRESENT_LATENCY_ANDROID
#define EGL_REQUESTED_PRESENT_TIME_ANDROID
#define EGL_RENDERING_COMPLETE_TIME_ANDROID
#define EGL_COMPOSITION_LATCH_TIME_ANDROID
#define EGL_FIRST_COMPOSITION_START_TIME_ANDROID
#define EGL_LAST_COMPOSITION_START_TIME_ANDROID
#define EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID
#define EGL_DISPLAY_PRESENT_TIME_ANDROID
#define EGL_DEQUEUE_READY_TIME_ANDROID
#define EGL_READS_DONE_TIME_ANDROID
PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC;
PFNEGLGETCOMPOSITORTIMINGANDROIDPROC;
PFNEGLGETNEXTFRAMEIDANDROIDPROC;
PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC;
PFNEGLGETFRAMETIMESTAMPSANDROIDPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint name);
EGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingANDROID (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps,  const EGLint *names, EGLnsecsANDROID *values);
EGLAPI EGLBoolean EGLAPIENTRY eglGetNextFrameIdANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR *frameId);
EGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint timestamp);
EGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampsANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps,  const EGLint *timestamps, EGLnsecsANDROID *values);
#endif
#endif /* EGL_ANDROID_get_frame_timestamps */

#ifndef EGL_ANDROID_get_native_client_buffer
#define EGL_ANDROID_get_native_client_buffer
struct AHardwareBuffer;
PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer);
#endif
#endif /* EGL_ANDROID_get_native_client_buffer */

#ifndef EGL_ANDROID_image_native_buffer
#define EGL_ANDROID_image_native_buffer
#define EGL_NATIVE_BUFFER_ANDROID
#endif /* EGL_ANDROID_image_native_buffer */

#ifndef EGL_ANDROID_native_fence_sync
#define EGL_ANDROID_native_fence_sync
#define EGL_SYNC_NATIVE_FENCE_ANDROID
#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID
#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID
#define EGL_NO_NATIVE_FENCE_FD_ANDROID
PFNEGLDUPNATIVEFENCEFDANDROIDPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync);
#endif
#endif /* EGL_ANDROID_native_fence_sync */

#ifndef EGL_ANDROID_presentation_time
#define EGL_ANDROID_presentation_time
PFNEGLPRESENTATIONTIMEANDROIDPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglPresentationTimeANDROID (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time);
#endif
#endif /* EGL_ANDROID_presentation_time */

#ifndef EGL_ANDROID_recordable
#define EGL_ANDROID_recordable
#define EGL_RECORDABLE_ANDROID
#endif /* EGL_ANDROID_recordable */

#ifndef EGL_ANGLE_d3d_share_handle_client_buffer
#define EGL_ANGLE_d3d_share_handle_client_buffer
#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE
#endif /* EGL_ANGLE_d3d_share_handle_client_buffer */

#ifndef EGL_ANGLE_device_d3d
#define EGL_ANGLE_device_d3d
#define EGL_D3D9_DEVICE_ANGLE
#define EGL_D3D11_DEVICE_ANGLE
#endif /* EGL_ANGLE_device_d3d */

#ifndef EGL_ANGLE_query_surface_pointer
#define EGL_ANGLE_query_surface_pointer
PFNEGLQUERYSURFACEPOINTERANGLEPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
#endif
#endif /* EGL_ANGLE_query_surface_pointer */

#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle
#define EGL_ANGLE_surface_d3d_texture_2d_share_handle
#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */

#ifndef EGL_ANGLE_sync_control_rate
#define EGL_ANGLE_sync_control_rate
PFNEGLGETMSCRATEANGLEPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglGetMscRateANGLE (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator);
#endif
#endif /* EGL_ANGLE_sync_control_rate */

#ifndef EGL_ANGLE_window_fixed_size
#define EGL_ANGLE_window_fixed_size
#define EGL_FIXED_SIZE_ANGLE
#endif /* EGL_ANGLE_window_fixed_size */

#ifndef EGL_ARM_image_format
#define EGL_ARM_image_format
#define EGL_COLOR_COMPONENT_TYPE_UNSIGNED_INTEGER_ARM
#define EGL_COLOR_COMPONENT_TYPE_INTEGER_ARM
#endif /* EGL_ARM_image_format */

#ifndef EGL_ARM_implicit_external_sync
#define EGL_ARM_implicit_external_sync
#define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM
#endif /* EGL_ARM_implicit_external_sync */

#ifndef EGL_ARM_pixmap_multisample_discard
#define EGL_ARM_pixmap_multisample_discard
#define EGL_DISCARD_SAMPLES_ARM
#endif /* EGL_ARM_pixmap_multisample_discard */

#ifndef EGL_EXT_bind_to_front
#define EGL_EXT_bind_to_front
#define EGL_FRONT_BUFFER_EXT
#endif /* EGL_EXT_bind_to_front */

#ifndef EGL_EXT_buffer_age
#define EGL_EXT_buffer_age
#define EGL_BUFFER_AGE_EXT
#endif /* EGL_EXT_buffer_age */

#ifndef EGL_EXT_client_extensions
#define EGL_EXT_client_extensions
#endif /* EGL_EXT_client_extensions */

#ifndef EGL_EXT_client_sync
#define EGL_EXT_client_sync
#define EGL_SYNC_CLIENT_EXT
#define EGL_SYNC_CLIENT_SIGNAL_EXT
PFNEGLCLIENTSIGNALSYNCEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglClientSignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list);
#endif
#endif /* EGL_EXT_client_sync */

#ifndef EGL_EXT_compositor
#define EGL_EXT_compositor
#define EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT
#define EGL_EXTERNAL_REF_ID_EXT
#define EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT
#define EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT
PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC;
PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC;
PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC;
PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC;
PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC;
PFNEGLCOMPOSITORSETSIZEEXTPROC;
PFNEGLCOMPOSITORSWAPPOLICYEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextListEXT (const EGLint *external_ref_ids, EGLint num_entries);
EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextAttributesEXT (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries);
EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowListEXT (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries);
EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowAttributesEXT (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries);
EGLAPI EGLBoolean EGLAPIENTRY eglCompositorBindTexWindowEXT (EGLint external_win_id);
EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetSizeEXT (EGLint external_win_id, EGLint width, EGLint height);
EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSwapPolicyEXT (EGLint external_win_id, EGLint policy);
#endif
#endif /* EGL_EXT_compositor */

#ifndef EGL_EXT_config_select_group
#define EGL_EXT_config_select_group
#define EGL_CONFIG_SELECT_GROUP_EXT
#endif /* EGL_EXT_config_select_group */

#ifndef EGL_EXT_create_context_robustness
#define EGL_EXT_create_context_robustness
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT
#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT
#define EGL_NO_RESET_NOTIFICATION_EXT
#define EGL_LOSE_CONTEXT_ON_RESET_EXT
#endif /* EGL_EXT_create_context_robustness */

#ifndef EGL_EXT_device_base
#define EGL_EXT_device_base
EGLDeviceEXT;
#define EGL_NO_DEVICE_EXT
#define EGL_BAD_DEVICE_EXT
#define EGL_DEVICE_EXT
PFNEGLQUERYDEVICEATTRIBEXTPROC;
PFNEGLQUERYDEVICESTRINGEXTPROC;
PFNEGLQUERYDEVICESEXTPROC;
PFNEGLQUERYDISPLAYATTRIBEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
EGLAPI const char *EGLAPIENTRY eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
#endif
#endif /* EGL_EXT_device_base */

#ifndef EGL_EXT_device_drm
#define EGL_EXT_device_drm
#define EGL_DRM_DEVICE_FILE_EXT
#define EGL_DRM_MASTER_FD_EXT
#endif /* EGL_EXT_device_drm */

#ifndef EGL_EXT_device_drm_render_node
#define EGL_EXT_device_drm_render_node
#define EGL_DRM_RENDER_NODE_FILE_EXT
#endif /* EGL_EXT_device_drm_render_node */

#ifndef EGL_EXT_device_enumeration
#define EGL_EXT_device_enumeration
#endif /* EGL_EXT_device_enumeration */

#ifndef EGL_EXT_device_openwf
#define EGL_EXT_device_openwf
#define EGL_OPENWF_DEVICE_ID_EXT
#define EGL_OPENWF_DEVICE_EXT
#endif /* EGL_EXT_device_openwf */

#ifndef EGL_EXT_device_persistent_id
#define EGL_EXT_device_persistent_id
#define EGL_DEVICE_UUID_EXT
#define EGL_DRIVER_UUID_EXT
#define EGL_DRIVER_NAME_EXT
PFNEGLQUERYDEVICEBINARYEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceBinaryEXT (EGLDeviceEXT device, EGLint name, EGLint max_size, void *value, EGLint *size);
#endif
#endif /* EGL_EXT_device_persistent_id */

#ifndef EGL_EXT_device_query
#define EGL_EXT_device_query
#endif /* EGL_EXT_device_query */

#ifndef EGL_EXT_device_query_name
#define EGL_EXT_device_query_name
#define EGL_RENDERER_EXT
#endif /* EGL_EXT_device_query_name */

#ifndef EGL_EXT_gl_colorspace_bt2020_linear
#define EGL_EXT_gl_colorspace_bt2020_linear
#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT
#endif /* EGL_EXT_gl_colorspace_bt2020_linear */

#ifndef EGL_EXT_gl_colorspace_bt2020_pq
#define EGL_EXT_gl_colorspace_bt2020_pq
#define EGL_GL_COLORSPACE_BT2020_PQ_EXT
#endif /* EGL_EXT_gl_colorspace_bt2020_pq */

#ifndef EGL_EXT_gl_colorspace_display_p3
#define EGL_EXT_gl_colorspace_display_p3
#define EGL_GL_COLORSPACE_DISPLAY_P3_EXT
#endif /* EGL_EXT_gl_colorspace_display_p3 */

#ifndef EGL_EXT_gl_colorspace_display_p3_linear
#define EGL_EXT_gl_colorspace_display_p3_linear
#define EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT
#endif /* EGL_EXT_gl_colorspace_display_p3_linear */

#ifndef EGL_EXT_gl_colorspace_display_p3_passthrough
#define EGL_EXT_gl_colorspace_display_p3_passthrough
#define EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT
#endif /* EGL_EXT_gl_colorspace_display_p3_passthrough */

#ifndef EGL_EXT_gl_colorspace_scrgb
#define EGL_EXT_gl_colorspace_scrgb
#define EGL_GL_COLORSPACE_SCRGB_EXT
#endif /* EGL_EXT_gl_colorspace_scrgb */

#ifndef EGL_EXT_gl_colorspace_scrgb_linear
#define EGL_EXT_gl_colorspace_scrgb_linear
#define EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT
#endif /* EGL_EXT_gl_colorspace_scrgb_linear */

#ifndef EGL_EXT_image_dma_buf_import
#define EGL_EXT_image_dma_buf_import
#define EGL_LINUX_DMA_BUF_EXT
#define EGL_LINUX_DRM_FOURCC_EXT
#define EGL_DMA_BUF_PLANE0_FD_EXT
#define EGL_DMA_BUF_PLANE0_OFFSET_EXT
#define EGL_DMA_BUF_PLANE0_PITCH_EXT
#define EGL_DMA_BUF_PLANE1_FD_EXT
#define EGL_DMA_BUF_PLANE1_OFFSET_EXT
#define EGL_DMA_BUF_PLANE1_PITCH_EXT
#define EGL_DMA_BUF_PLANE2_FD_EXT
#define EGL_DMA_BUF_PLANE2_OFFSET_EXT
#define EGL_DMA_BUF_PLANE2_PITCH_EXT
#define EGL_YUV_COLOR_SPACE_HINT_EXT
#define EGL_SAMPLE_RANGE_HINT_EXT
#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT
#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT
#define EGL_ITU_REC601_EXT
#define EGL_ITU_REC709_EXT
#define EGL_ITU_REC2020_EXT
#define EGL_YUV_FULL_RANGE_EXT
#define EGL_YUV_NARROW_RANGE_EXT
#define EGL_YUV_CHROMA_SITING_0_EXT
#define EGL_YUV_CHROMA_SITING_0_5_EXT
#endif /* EGL_EXT_image_dma_buf_import */

#ifndef EGL_EXT_image_dma_buf_import_modifiers
#define EGL_EXT_image_dma_buf_import_modifiers
#define EGL_DMA_BUF_PLANE3_FD_EXT
#define EGL_DMA_BUF_PLANE3_OFFSET_EXT
#define EGL_DMA_BUF_PLANE3_PITCH_EXT
#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT
#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT
#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT
#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT
#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT
#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT
#define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT
#define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT
PFNEGLQUERYDMABUFFORMATSEXTPROC;
PFNEGLQUERYDMABUFMODIFIERSEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufModifiersEXT (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers);
#endif
#endif /* EGL_EXT_image_dma_buf_import_modifiers */

#ifndef EGL_EXT_image_gl_colorspace
#define EGL_EXT_image_gl_colorspace
#define EGL_GL_COLORSPACE_DEFAULT_EXT
#endif /* EGL_EXT_image_gl_colorspace */

#ifndef EGL_EXT_image_implicit_sync_control
#define EGL_EXT_image_implicit_sync_control
#define EGL_IMPORT_SYNC_TYPE_EXT
#define EGL_IMPORT_IMPLICIT_SYNC_EXT
#define EGL_IMPORT_EXPLICIT_SYNC_EXT
#endif /* EGL_EXT_image_implicit_sync_control */

#ifndef EGL_EXT_multiview_window
#define EGL_EXT_multiview_window
#define EGL_MULTIVIEW_VIEW_COUNT_EXT
#endif /* EGL_EXT_multiview_window */

#ifndef EGL_EXT_output_base
#define EGL_EXT_output_base
EGLOutputLayerEXT;
EGLOutputPortEXT;
#define EGL_NO_OUTPUT_LAYER_EXT
#define EGL_NO_OUTPUT_PORT_EXT
#define EGL_BAD_OUTPUT_LAYER_EXT
#define EGL_BAD_OUTPUT_PORT_EXT
#define EGL_SWAP_INTERVAL_EXT
PFNEGLGETOUTPUTLAYERSEXTPROC;
PFNEGLGETOUTPUTPORTSEXTPROC;
PFNEGLOUTPUTLAYERATTRIBEXTPROC;
PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC;
PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC;
PFNEGLOUTPUTPORTATTRIBEXTPROC;
PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC;
PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers);
EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports);
EGLAPI EGLBoolean EGLAPIENTRY eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value);
EGLAPI const char *EGLAPIENTRY eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name);
EGLAPI EGLBoolean EGLAPIENTRY eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value);
EGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name);
#endif
#endif /* EGL_EXT_output_base */

#ifndef EGL_EXT_output_drm
#define EGL_EXT_output_drm
#define EGL_DRM_CRTC_EXT
#define EGL_DRM_PLANE_EXT
#define EGL_DRM_CONNECTOR_EXT
#endif /* EGL_EXT_output_drm */

#ifndef EGL_EXT_output_openwf
#define EGL_EXT_output_openwf
#define EGL_OPENWF_PIPELINE_ID_EXT
#define EGL_OPENWF_PORT_ID_EXT
#endif /* EGL_EXT_output_openwf */

#ifndef EGL_EXT_pixel_format_float
#define EGL_EXT_pixel_format_float
#define EGL_COLOR_COMPONENT_TYPE_EXT
#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT
#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT
#endif /* EGL_EXT_pixel_format_float */

#ifndef EGL_EXT_platform_base
#define EGL_EXT_platform_base
PFNEGLGETPLATFORMDISPLAYEXTPROC;
PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC;
PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list);
EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list);
EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list);
#endif
#endif /* EGL_EXT_platform_base */

#ifndef EGL_EXT_platform_device
#define EGL_EXT_platform_device
#define EGL_PLATFORM_DEVICE_EXT
#endif /* EGL_EXT_platform_device */

#ifndef EGL_EXT_platform_wayland
#define EGL_EXT_platform_wayland
#define EGL_PLATFORM_WAYLAND_EXT
#endif /* EGL_EXT_platform_wayland */

#ifndef EGL_EXT_platform_x11
#define EGL_EXT_platform_x11
#define EGL_PLATFORM_X11_EXT
#define EGL_PLATFORM_X11_SCREEN_EXT
#endif /* EGL_EXT_platform_x11 */

#ifndef EGL_EXT_platform_xcb
#define EGL_EXT_platform_xcb
#define EGL_PLATFORM_XCB_EXT
#define EGL_PLATFORM_XCB_SCREEN_EXT
#endif /* EGL_EXT_platform_xcb */

#ifndef EGL_EXT_present_opaque
#define EGL_EXT_present_opaque
#define EGL_PRESENT_OPAQUE_EXT
#endif /* EGL_EXT_present_opaque */

#ifndef EGL_EXT_protected_content
#define EGL_EXT_protected_content
#define EGL_PROTECTED_CONTENT_EXT
#endif /* EGL_EXT_protected_content */

#ifndef EGL_EXT_protected_surface
#define EGL_EXT_protected_surface
#endif /* EGL_EXT_protected_surface */

#ifndef EGL_EXT_stream_consumer_egloutput
#define EGL_EXT_stream_consumer_egloutput
PFNEGLSTREAMCONSUMEROUTPUTEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer);
#endif
#endif /* EGL_EXT_stream_consumer_egloutput */

#ifndef EGL_EXT_surface_CTA861_3_metadata
#define EGL_EXT_surface_CTA861_3_metadata
#define EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT
#define EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT
#endif /* EGL_EXT_surface_CTA861_3_metadata */

#ifndef EGL_EXT_surface_SMPTE2086_metadata
#define EGL_EXT_surface_SMPTE2086_metadata
#define EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT
#define EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT
#define EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT
#define EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT
#define EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT
#define EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT
#define EGL_SMPTE2086_WHITE_POINT_X_EXT
#define EGL_SMPTE2086_WHITE_POINT_Y_EXT
#define EGL_SMPTE2086_MAX_LUMINANCE_EXT
#define EGL_SMPTE2086_MIN_LUMINANCE_EXT
#define EGL_METADATA_SCALING_EXT
#endif /* EGL_EXT_surface_SMPTE2086_metadata */

#ifndef EGL_EXT_surface_compression
#define EGL_EXT_surface_compression
#define EGL_SURFACE_COMPRESSION_EXT
#define EGL_SURFACE_COMPRESSION_PLANE1_EXT
#define EGL_SURFACE_COMPRESSION_PLANE2_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT
#define EGL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT
PFNEGLQUERYSUPPORTEDCOMPRESSIONRATESEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQuerySupportedCompressionRatesEXT (EGLDisplay dpy, EGLConfig config, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates);
#endif
#endif /* EGL_EXT_surface_compression */

#ifndef EGL_EXT_swap_buffers_with_damage
#define EGL_EXT_swap_buffers_with_damage
PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
#endif
#endif /* EGL_EXT_swap_buffers_with_damage */

#ifndef EGL_EXT_sync_reuse
#define EGL_EXT_sync_reuse
PFNEGLUNSIGNALSYNCEXTPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglUnsignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list);
#endif
#endif /* EGL_EXT_sync_reuse */

#ifndef EGL_EXT_yuv_surface
#define EGL_EXT_yuv_surface
#define EGL_YUV_ORDER_EXT
#define EGL_YUV_NUMBER_OF_PLANES_EXT
#define EGL_YUV_SUBSAMPLE_EXT
#define EGL_YUV_DEPTH_RANGE_EXT
#define EGL_YUV_CSC_STANDARD_EXT
#define EGL_YUV_PLANE_BPP_EXT
#define EGL_YUV_BUFFER_EXT
#define EGL_YUV_ORDER_YUV_EXT
#define EGL_YUV_ORDER_YVU_EXT
#define EGL_YUV_ORDER_YUYV_EXT
#define EGL_YUV_ORDER_UYVY_EXT
#define EGL_YUV_ORDER_YVYU_EXT
#define EGL_YUV_ORDER_VYUY_EXT
#define EGL_YUV_ORDER_AYUV_EXT
#define EGL_YUV_SUBSAMPLE_4_2_0_EXT
#define EGL_YUV_SUBSAMPLE_4_2_2_EXT
#define EGL_YUV_SUBSAMPLE_4_4_4_EXT
#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT
#define EGL_YUV_DEPTH_RANGE_FULL_EXT
#define EGL_YUV_CSC_STANDARD_601_EXT
#define EGL_YUV_CSC_STANDARD_709_EXT
#define EGL_YUV_CSC_STANDARD_2020_EXT
#define EGL_YUV_PLANE_BPP_0_EXT
#define EGL_YUV_PLANE_BPP_8_EXT
#define EGL_YUV_PLANE_BPP_10_EXT
#endif /* EGL_EXT_yuv_surface */

#ifndef EGL_HI_clientpixmap
#define EGL_HI_clientpixmap
struct EGLClientPixmapHI {};
#define EGL_CLIENT_PIXMAP_POINTER_HI
PFNEGLCREATEPIXMAPSURFACEHIPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
#endif
#endif /* EGL_HI_clientpixmap */

#ifndef EGL_HI_colorformats
#define EGL_HI_colorformats
#define EGL_COLOR_FORMAT_HI
#define EGL_COLOR_RGB_HI
#define EGL_COLOR_RGBA_HI
#define EGL_COLOR_ARGB_HI
#endif /* EGL_HI_colorformats */

#ifndef EGL_IMG_context_priority
#define EGL_IMG_context_priority
#define EGL_CONTEXT_PRIORITY_LEVEL_IMG
#define EGL_CONTEXT_PRIORITY_HIGH_IMG
#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG
#define EGL_CONTEXT_PRIORITY_LOW_IMG
#endif /* EGL_IMG_context_priority */

#ifndef EGL_IMG_image_plane_attribs
#define EGL_IMG_image_plane_attribs
#define EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG
#define EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG
#endif /* EGL_IMG_image_plane_attribs */

#ifndef EGL_MESA_drm_image
#define EGL_MESA_drm_image
#define EGL_DRM_BUFFER_FORMAT_MESA
#define EGL_DRM_BUFFER_USE_MESA
#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA
#define EGL_DRM_BUFFER_MESA
#define EGL_DRM_BUFFER_STRIDE_MESA
#define EGL_DRM_BUFFER_USE_SCANOUT_MESA
#define EGL_DRM_BUFFER_USE_SHARE_MESA
#define EGL_DRM_BUFFER_USE_CURSOR_MESA
PFNEGLCREATEDRMIMAGEMESAPROC;
PFNEGLEXPORTDRMIMAGEMESAPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
#endif
#endif /* EGL_MESA_drm_image */

#ifndef EGL_MESA_image_dma_buf_export
#define EGL_MESA_image_dma_buf_export
PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC;
PFNEGLEXPORTDMABUFIMAGEMESAPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers);
EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
#endif
#endif /* EGL_MESA_image_dma_buf_export */

#ifndef EGL_MESA_platform_gbm
#define EGL_MESA_platform_gbm
#define EGL_PLATFORM_GBM_MESA
#endif /* EGL_MESA_platform_gbm */

#ifndef EGL_MESA_platform_surfaceless
#define EGL_MESA_platform_surfaceless
#define EGL_PLATFORM_SURFACELESS_MESA
#endif /* EGL_MESA_platform_surfaceless */

#ifndef EGL_MESA_query_driver
#define EGL_MESA_query_driver
PFNEGLGETDISPLAYDRIVERCONFIGPROC;
PFNEGLGETDISPLAYDRIVERNAMEPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI char *EGLAPIENTRY eglGetDisplayDriverConfig (EGLDisplay dpy);
EGLAPI const char *EGLAPIENTRY eglGetDisplayDriverName (EGLDisplay dpy);
#endif
#endif /* EGL_MESA_query_driver */

#ifndef EGL_NOK_swap_region
#define EGL_NOK_swap_region
PFNEGLSWAPBUFFERSREGIONNOKPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
#endif
#endif /* EGL_NOK_swap_region */

#ifndef EGL_NOK_swap_region2
#define EGL_NOK_swap_region2
PFNEGLSWAPBUFFERSREGION2NOKPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
#endif
#endif /* EGL_NOK_swap_region2 */

#ifndef EGL_NOK_texture_from_pixmap
#define EGL_NOK_texture_from_pixmap
#define EGL_Y_INVERTED_NOK
#endif /* EGL_NOK_texture_from_pixmap */

#ifndef EGL_NV_3dvision_surface
#define EGL_NV_3dvision_surface
#define EGL_AUTO_STEREO_NV
#endif /* EGL_NV_3dvision_surface */

#ifndef EGL_NV_context_priority_realtime
#define EGL_NV_context_priority_realtime
#define EGL_CONTEXT_PRIORITY_REALTIME_NV
#endif /* EGL_NV_context_priority_realtime */

#ifndef EGL_NV_coverage_sample
#define EGL_NV_coverage_sample
#define EGL_COVERAGE_BUFFERS_NV
#define EGL_COVERAGE_SAMPLES_NV
#endif /* EGL_NV_coverage_sample */

#ifndef EGL_NV_coverage_sample_resolve
#define EGL_NV_coverage_sample_resolve
#define EGL_COVERAGE_SAMPLE_RESOLVE_NV
#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV
#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV
#endif /* EGL_NV_coverage_sample_resolve */

#ifndef EGL_NV_cuda_event
#define EGL_NV_cuda_event
#define EGL_CUDA_EVENT_HANDLE_NV
#define EGL_SYNC_CUDA_EVENT_NV
#define EGL_SYNC_CUDA_EVENT_COMPLETE_NV
#endif /* EGL_NV_cuda_event */

#ifndef EGL_NV_depth_nonlinear
#define EGL_NV_depth_nonlinear
#define EGL_DEPTH_ENCODING_NV
#define EGL_DEPTH_ENCODING_NONE_NV
#define EGL_DEPTH_ENCODING_NONLINEAR_NV
#endif /* EGL_NV_depth_nonlinear */

#ifndef EGL_NV_device_cuda
#define EGL_NV_device_cuda
#define EGL_CUDA_DEVICE_NV
#endif /* EGL_NV_device_cuda */

#ifndef EGL_NV_native_query
#define EGL_NV_native_query
PFNEGLQUERYNATIVEDISPLAYNVPROC;
PFNEGLQUERYNATIVEWINDOWNVPROC;
PFNEGLQUERYNATIVEPIXMAPNVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
#endif
#endif /* EGL_NV_native_query */

#ifndef EGL_NV_post_convert_rounding
#define EGL_NV_post_convert_rounding
#endif /* EGL_NV_post_convert_rounding */

#ifndef EGL_NV_post_sub_buffer
#define EGL_NV_post_sub_buffer
#define EGL_POST_SUB_BUFFER_SUPPORTED_NV
PFNEGLPOSTSUBBUFFERNVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
#endif
#endif /* EGL_NV_post_sub_buffer */

#ifndef EGL_NV_quadruple_buffer
#define EGL_NV_quadruple_buffer
#define EGL_QUADRUPLE_BUFFER_NV
#endif /* EGL_NV_quadruple_buffer */

#ifndef EGL_NV_robustness_video_memory_purge
#define EGL_NV_robustness_video_memory_purge
#define EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV
#endif /* EGL_NV_robustness_video_memory_purge */

#ifndef EGL_NV_stream_consumer_eglimage
#define EGL_NV_stream_consumer_eglimage
#define EGL_STREAM_CONSUMER_IMAGE_NV
#define EGL_STREAM_IMAGE_ADD_NV
#define EGL_STREAM_IMAGE_REMOVE_NV
#define EGL_STREAM_IMAGE_AVAILABLE_NV
PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC;
PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC;
PFNEGLSTREAMACQUIREIMAGENVPROC;
PFNEGLSTREAMRELEASEIMAGENVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, const EGLuint64KHR *modifiers, const EGLAttrib *attrib_list);
EGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);
EGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);
EGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);
#endif
#endif /* EGL_NV_stream_consumer_eglimage */

#ifndef EGL_NV_stream_consumer_gltexture_yuv
#define EGL_NV_stream_consumer_gltexture_yuv
#define EGL_YUV_PLANE0_TEXTURE_UNIT_NV
#define EGL_YUV_PLANE1_TEXTURE_UNIT_NV
#define EGL_YUV_PLANE2_TEXTURE_UNIT_NV
PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list);
#endif
#endif /* EGL_NV_stream_consumer_gltexture_yuv */

#ifndef EGL_NV_stream_cross_display
#define EGL_NV_stream_cross_display
#define EGL_STREAM_CROSS_DISPLAY_NV
#endif /* EGL_NV_stream_cross_display */

#ifndef EGL_NV_stream_cross_object
#define EGL_NV_stream_cross_object
#define EGL_STREAM_CROSS_OBJECT_NV
#endif /* EGL_NV_stream_cross_object */

#ifndef EGL_NV_stream_cross_partition
#define EGL_NV_stream_cross_partition
#define EGL_STREAM_CROSS_PARTITION_NV
#endif /* EGL_NV_stream_cross_partition */

#ifndef EGL_NV_stream_cross_process
#define EGL_NV_stream_cross_process
#define EGL_STREAM_CROSS_PROCESS_NV
#endif /* EGL_NV_stream_cross_process */

#ifndef EGL_NV_stream_cross_system
#define EGL_NV_stream_cross_system
#define EGL_STREAM_CROSS_SYSTEM_NV
#endif /* EGL_NV_stream_cross_system */

#ifndef EGL_NV_stream_dma
#define EGL_NV_stream_dma
#define EGL_STREAM_DMA_NV
#define EGL_STREAM_DMA_SERVER_NV
#endif /* EGL_NV_stream_dma */

#ifndef EGL_NV_stream_fifo_next
#define EGL_NV_stream_fifo_next
#define EGL_PENDING_FRAME_NV
#define EGL_STREAM_TIME_PENDING_NV
#endif /* EGL_NV_stream_fifo_next */

#ifndef EGL_NV_stream_fifo_synchronous
#define EGL_NV_stream_fifo_synchronous
#define EGL_STREAM_FIFO_SYNCHRONOUS_NV
#endif /* EGL_NV_stream_fifo_synchronous */

#ifndef EGL_NV_stream_flush
#define EGL_NV_stream_flush
PFNEGLSTREAMFLUSHNVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream);
#endif
#endif /* EGL_NV_stream_flush */

#ifndef EGL_NV_stream_frame_limits
#define EGL_NV_stream_frame_limits
#define EGL_PRODUCER_MAX_FRAME_HINT_NV
#define EGL_CONSUMER_MAX_FRAME_HINT_NV
#endif /* EGL_NV_stream_frame_limits */

#ifndef EGL_NV_stream_metadata
#define EGL_NV_stream_metadata
#define EGL_MAX_STREAM_METADATA_BLOCKS_NV
#define EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV
#define EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV
#define EGL_PRODUCER_METADATA_NV
#define EGL_CONSUMER_METADATA_NV
#define EGL_PENDING_METADATA_NV
#define EGL_METADATA0_SIZE_NV
#define EGL_METADATA1_SIZE_NV
#define EGL_METADATA2_SIZE_NV
#define EGL_METADATA3_SIZE_NV
#define EGL_METADATA0_TYPE_NV
#define EGL_METADATA1_TYPE_NV
#define EGL_METADATA2_TYPE_NV
#define EGL_METADATA3_TYPE_NV
PFNEGLQUERYDISPLAYATTRIBNVPROC;
PFNEGLSETSTREAMMETADATANVPROC;
PFNEGLQUERYSTREAMMETADATANVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
EGLAPI EGLBoolean EGLAPIENTRY eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data);
#endif
#endif /* EGL_NV_stream_metadata */

#ifndef EGL_NV_stream_origin
#define EGL_NV_stream_origin
#define EGL_STREAM_FRAME_ORIGIN_X_NV
#define EGL_STREAM_FRAME_ORIGIN_Y_NV
#define EGL_STREAM_FRAME_MAJOR_AXIS_NV
#define EGL_CONSUMER_AUTO_ORIENTATION_NV
#define EGL_PRODUCER_AUTO_ORIENTATION_NV
#define EGL_LEFT_NV
#define EGL_RIGHT_NV
#define EGL_TOP_NV
#define EGL_BOTTOM_NV
#define EGL_X_AXIS_NV
#define EGL_Y_AXIS_NV
#endif /* EGL_NV_stream_origin */

#ifndef EGL_NV_stream_remote
#define EGL_NV_stream_remote
#define EGL_STREAM_STATE_INITIALIZING_NV
#define EGL_STREAM_TYPE_NV
#define EGL_STREAM_PROTOCOL_NV
#define EGL_STREAM_ENDPOINT_NV
#define EGL_STREAM_LOCAL_NV
#define EGL_STREAM_PRODUCER_NV
#define EGL_STREAM_CONSUMER_NV
#define EGL_STREAM_PROTOCOL_FD_NV
#endif /* EGL_NV_stream_remote */

#ifndef EGL_NV_stream_reset
#define EGL_NV_stream_reset
#define EGL_SUPPORT_RESET_NV
#define EGL_SUPPORT_REUSE_NV
PFNEGLRESETSTREAMNVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglResetStreamNV (EGLDisplay dpy, EGLStreamKHR stream);
#endif
#endif /* EGL_NV_stream_reset */

#ifndef EGL_NV_stream_socket
#define EGL_NV_stream_socket
#define EGL_STREAM_PROTOCOL_SOCKET_NV
#define EGL_SOCKET_HANDLE_NV
#define EGL_SOCKET_TYPE_NV
#endif /* EGL_NV_stream_socket */

#ifndef EGL_NV_stream_socket_inet
#define EGL_NV_stream_socket_inet
#define EGL_SOCKET_TYPE_INET_NV
#endif /* EGL_NV_stream_socket_inet */

#ifndef EGL_NV_stream_socket_unix
#define EGL_NV_stream_socket_unix
#define EGL_SOCKET_TYPE_UNIX_NV
#endif /* EGL_NV_stream_socket_unix */

#ifndef EGL_NV_stream_sync
#define EGL_NV_stream_sync
#define EGL_SYNC_NEW_FRAME_NV
PFNEGLCREATESTREAMSYNCNVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list);
#endif
#endif /* EGL_NV_stream_sync */

#ifndef EGL_NV_sync
#define EGL_NV_sync
EGLSyncNV;
EGLTimeNV;
#ifdef KHRONOS_SUPPORT_INT64
#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV
#define EGL_SYNC_STATUS_NV
#define EGL_SIGNALED_NV
#define EGL_UNSIGNALED_NV
#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV
#define EGL_FOREVER_NV
#define EGL_ALREADY_SIGNALED_NV
#define EGL_TIMEOUT_EXPIRED_NV
#define EGL_CONDITION_SATISFIED_NV
#define EGL_SYNC_TYPE_NV
#define EGL_SYNC_CONDITION_NV
#define EGL_SYNC_FENCE_NV
#define EGL_NO_SYNC_NV
PFNEGLCREATEFENCESYNCNVPROC;
PFNEGLDESTROYSYNCNVPROC;
PFNEGLFENCENVPROC;
PFNEGLCLIENTWAITSYNCNVPROC;
PFNEGLSIGNALSYNCNVPROC;
PFNEGLGETSYNCATTRIBNVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync);
EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync);
EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode);
EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
#endif
#endif /* KHRONOS_SUPPORT_INT64 */
#endif /* EGL_NV_sync */

#ifndef EGL_NV_system_time
#define EGL_NV_system_time
EGLuint64NV;
#ifdef KHRONOS_SUPPORT_INT64
PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC;
PFNEGLGETSYSTEMTIMENVPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void);
EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void);
#endif
#endif /* KHRONOS_SUPPORT_INT64 */
#endif /* EGL_NV_system_time */

#ifndef EGL_NV_triple_buffer
#define EGL_NV_triple_buffer
#define EGL_TRIPLE_BUFFER_NV
#endif /* EGL_NV_triple_buffer */

#ifndef EGL_TIZEN_image_native_buffer
#define EGL_TIZEN_image_native_buffer
#define EGL_NATIVE_BUFFER_TIZEN
#endif /* EGL_TIZEN_image_native_buffer */

#ifndef EGL_TIZEN_image_native_surface
#define EGL_TIZEN_image_native_surface
#define EGL_NATIVE_SURFACE_TIZEN
#endif /* EGL_TIZEN_image_native_surface */

#ifndef EGL_WL_bind_wayland_display
#define EGL_WL_bind_wayland_display
#define PFNEGLBINDWAYLANDDISPLAYWL
#define PFNEGLUNBINDWAYLANDDISPLAYWL
#define PFNEGLQUERYWAYLANDBUFFERWL
struct wl_display;
struct wl_resource;
#define EGL_WAYLAND_BUFFER_WL
#define EGL_WAYLAND_PLANE_WL
#define EGL_TEXTURE_Y_U_V_WL
#define EGL_TEXTURE_Y_UV_WL
#define EGL_TEXTURE_Y_XUXV_WL
#define EGL_TEXTURE_EXTERNAL_WL
#define EGL_WAYLAND_Y_INVERTED_WL
PFNEGLBINDWAYLANDDISPLAYWLPROC;
PFNEGLUNBINDWAYLANDDISPLAYWLPROC;
PFNEGLQUERYWAYLANDBUFFERWLPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display);
EGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display);
EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
#endif
#endif /* EGL_WL_bind_wayland_display */

#ifndef EGL_WL_create_wayland_buffer_from_image
#define EGL_WL_create_wayland_buffer_from_image
#define PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL
struct wl_buffer;
PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI struct wl_buffer *EGLAPIENTRY eglCreateWaylandBufferFromImageWL (EGLDisplay dpy, EGLImageKHR image);
#endif
#endif /* EGL_WL_create_wayland_buffer_from_image */

/* Chromium-specific support for EGL_EXT_image_flush_external extension */
#ifndef EGL_EXT_image_flush_external
#define EGL_EXT_image_flush_external
PFNGLEGLIMAGEFLUSHEXTERNALEXT;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY
eglImageFlushExternalEXT(EGLDisplay dpy,
                         EGLImageKHR image,
                         const EGLint* attrib_list);
#endif
#endif /* EGL_EXT_image_flush_external */

/* Chromium-specific support for EGL_ANGLE_stream_producer_d3d_texture */
#ifndef EGL_ANGLE_stream_producer_d3d_texture
#define EGL_ANGLE_stream_producer_d3d_texture
#define EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE
PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC;
PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY
eglCreateStreamProducerD3DTextureANGLE(EGLDisplay dpy,
                                       EGLStreamKHR stream,
                                       const EGLAttrib* attrib_list);
EGLAPI EGLBoolean EGLAPIENTRY
eglStreamPostD3DTextureANGLE(EGLDisplay dpy,
                             EGLStreamKHR stream,
                             void* texture,
                             const EGLAttrib* attrib_list);
#endif
#endif /* EGL_ANGLE_stream_producer_d3d_texture */

#ifdef __cplusplus
}
#endif

#endif