From 12bbab4b7c7a9bd752e154ad2595277eb356066d Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 3 May 2016 16:19:07 +0100 Subject: egltrace: Implement EGL 1.5 Most of the changes concern the newly introduced EGLAttrib type, which is distinct of the attribs in EGLint that we previously had. --- specs/eglapi.py | 91 ++++++++++++++++++++++++++++++++++++-------------------- specs/eglenum.py | 56 ++++++++++++++++++++++++++++++++-- 2 files changed, 112 insertions(+), 35 deletions(-) (limited to 'specs') diff --git a/specs/eglapi.py b/specs/eglapi.py index 48956f86..ae1a9e93 100644 --- a/specs/eglapi.py +++ b/specs/eglapi.py @@ -48,20 +48,24 @@ EGLBoolean = Enum("EGLBoolean", [ EGLint = Alias("EGLint", Int32) -# an alias of EGLenum +# An EGLenum disguised as an int EGLint_enum = Alias("EGLint", EGLenum) -EGLattrib = EGLint_enum +EGLAttrib = Alias("EGLAttrib", IntPtr) + +EGLSync = Opaque("EGLSync") +EGLImage = Opaque("EGLImage") +EGLTime = Alias("EGLTime", UInt64) # EGL_KHR_image_base -EGLImageKHR = Opaque("EGLImageKHR") +EGLImageKHR = Alias("EGLImageKHR", EGLImage) # EGL_KHR_reusable_sync -EGLSyncKHR = Opaque("EGLSyncKHR") -EGLTimeKHR = Alias("EGLTimeKHR", UInt64) +EGLSyncKHR = Alias("EGLSyncKHR", EGLSync) +EGLTimeKHR = Alias("EGLTimeKHR", EGLTime) # EGL_NV_sync -EGLSyncNV = Alias("EGLSyncNV", EGLSyncKHR) -EGLTimeNV = Alias("EGLTimeNV", EGLTimeKHR) +EGLSyncNV = Alias("EGLSyncNV", EGLSync) +EGLTimeNV = Alias("EGLTimeNV", EGLTime) # EGL_HI_clientpixmap EGLClientPixmapHI = Struct("struct EGLClientPixmapHI", [ @@ -99,10 +103,13 @@ EGLVGColorspace = FakeEnum(Int, ['EGL_VG_COLORSPACE_sRGB', 'EGL_VG_COLORSPACE_LI EGLTextureFormat = FakeEnum(Int, ['EGL_NO_TEXTURE', 'EGL_TEXTURE_RGB', 'EGL_TEXTURE_RGBA']) EGLTextureTarget = FakeEnum(Int, ['EGL_TEXTURE_2D', 'EGL_NO_TEXTURE']) -def EGLAttribArray(values): +def EGLIntArray(values): return AttribArray(Const(EGLint_enum), values, terminator = 'EGL_NONE') -EGLConfigAttribs = EGLAttribArray([ +def EGLAttribArray(values): + return AttribArray(Const(EGLAttrib), values, terminator = 'EGL_NONE') + +EGLConfigAttribs = EGLIntArray([ ('EGL_ALPHA_MASK_SIZE', UInt), ('EGL_ALPHA_SIZE', UInt), ('EGL_BIND_TO_TEXTURE_RGB', EGLBoolean), @@ -133,17 +140,17 @@ EGLConfigAttribs = EGLAttribArray([ ('EGL_TRANSPARENT_BLUE_VALUE ', Int) ]) -EGLWindowsSurfaceAttribs = EGLAttribArray([ +EGLWindowsSurfaceAttribs = EGLIntArray([ ('EGL_RENDER_BUFFER', FakeEnum(Int, ['EGL_SINGLE_BUFFER', 'EGL_BACK_BUFFER'])), ('EGL_VG_ALPHA_FORMAT', EGLVGAlphaFormat), ('EGL_VG_COLORSPACE', EGLVGColorspace)]) -EGLPixmapSurfaceAttribs = EGLAttribArray([ +EGLPixmapSurfaceAttribs = EGLIntArray([ ('EGL_VG_ALPHA_FORMAT', EGLVGAlphaFormat), ('EGL_VG_COLORSPACE', EGLVGColorspace) ]) -EGLPbufferAttribs = EGLAttribArray([ +EGLPbufferAttribs = EGLIntArray([ ('EGL_HEIGHT', Int), ('EGL_LARGEST_PBUFFER', EGLBoolean), ('EGL_MIPMAP_TEXTURE', UInt), @@ -154,13 +161,13 @@ EGLPbufferAttribs = EGLAttribArray([ ('EGL_WIDTH', Int) ]) -EGLPbufferFromClientBufferAttribs = EGLAttribArray([ +EGLPbufferFromClientBufferAttribs = EGLIntArray([ ('EGL_MIPMAP_TEXTURE', EGLBoolean), ('EGL_TEXTURE_FORMAT', EGLTextureFormat), ('EGL_TEXTURE_TARGET', EGLTextureTarget) ]) -EGLContextAttribs = EGLAttribArray([ +EGLContextAttribs = EGLIntArray([ ('EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT', EGLBoolean), ('EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT', EGLenum), ('EGL_CONTEXT_MAJOR_VERSION', Int), # Alias for EGL_CONTEXT_CLIENT_VERSION @@ -177,17 +184,17 @@ EGLContextAttribs = EGLAttribArray([ ('EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY', EGLenum), ]) -EGLDrmImageMesaAttribs = EGLAttribArray([ +EGLDrmImageMesaAttribs = EGLIntArray([ ('EGL_DRM_BUFFER_FORMAT_MESA', FakeEnum(Int, ['EGL_DRM_BUFFER_FORMAT_ARGB32_MESA'])), ('EGL_DRM_BUFFER_USE_MESA', Flags(Int, ['EGL_DRM_BUFFER_USE_SCANOUT_MESA', 'EGL_DRM_BUFFER_USE_SHARE_MESA'])) ]) -EGLLockSurfaceKHRAttribs = EGLAttribArray([ +EGLLockSurfaceKHRAttribs = EGLIntArray([ ('EGL_MAP_PRESERVE_PIXELS_KHR', EGLBoolean), ('EGL_LOCK_USAGE_HINT_KHR', Flags(Int, ['EGL_READ_SURFACE_BIT_KHR', 'EGL_WRITE_SURFACE_BIT_KHR'])) ]) -EGLFenceSyncNVAttribs = EGLAttribArray([ +EGLFenceSyncNVAttribs = EGLIntArray([ ('EGL_SYNC_STATUS_NV', Flags(Int, ['EGL_SIGNALED_NV', 'EGL_UNSIGNALED_NV'])) ]) @@ -195,6 +202,10 @@ EGLPlatformDisplayAttribs = EGLAttribArray([ ('EGL_PLATFORM_X11_SCREEN_EXT', Int), ]) +EGLPlatformDisplayAttribsEXT = EGLIntArray([ + ('EGL_PLATFORM_X11_SCREEN_EXT', Int), +]) + EGLProc = Opaque("__eglMustCastToProperFunctionPointerType") def GlFunction(*args, **kwargs): @@ -211,27 +222,27 @@ eglapi.addFunctions([ GlFunction(EGLSurface, "eglCreateWindowSurface", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (EGLNativeWindowType, "win"), (EGLWindowsSurfaceAttribs, "attrib_list")]), GlFunction(EGLBoolean, "eglDestroyContext", [(EGLDisplay, "dpy"), (EGLContext, "ctx")]), GlFunction(EGLBoolean, "eglDestroySurface", [(EGLDisplay, "dpy"), (EGLSurface, "surface")]), - GlFunction(EGLBoolean, "eglGetConfigAttrib", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (EGLattrib, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), + GlFunction(EGLBoolean, "eglGetConfigAttrib", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (EGLint_enum, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), GlFunction(EGLBoolean, "eglGetConfigs", [(EGLDisplay, "dpy"), Out(Array(EGLConfig, "*num_config"), "configs"), (EGLint, "config_size"), Out(Pointer(EGLint), "num_config")]), GlFunction(EGLDisplay, "eglGetCurrentDisplay", [], sideeffects=False), - GlFunction(EGLSurface, "eglGetCurrentSurface", [(EGLattrib, "readdraw")], sideeffects=False), + GlFunction(EGLSurface, "eglGetCurrentSurface", [(EGLint_enum, "readdraw")], sideeffects=False), GlFunction(EGLDisplay, "eglGetDisplay", [(EGLNativeDisplayType, "display_id")]), GlFunction(EGLint_enum, "eglGetError", [], sideeffects=False), GlFunction(EGLProc, "eglGetProcAddress", [(ConstCString, "procname")]), GlFunction(EGLBoolean, "eglInitialize", [(EGLDisplay, "dpy"), Out(Pointer(EGLint), "major"), Out(Pointer(EGLint), "minor")]), GlFunction(EGLBoolean, "eglMakeCurrent", [(EGLDisplay, "dpy"), (EGLSurface, "draw"), (EGLSurface, "read"), (EGLContext, "ctx")]), - GlFunction(EGLBoolean, "eglQueryContext", [(EGLDisplay, "dpy"), (EGLContext, "ctx"), (EGLattrib, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), + GlFunction(EGLBoolean, "eglQueryContext", [(EGLDisplay, "dpy"), (EGLContext, "ctx"), (EGLint_enum, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), GlFunction(ConstCString, "eglQueryString", [(EGLDisplay, "dpy"), (EGLint_enum, "name")], sideeffects=False), - GlFunction(EGLBoolean, "eglQuerySurface", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLattrib, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), + GlFunction(EGLBoolean, "eglQuerySurface", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLint_enum, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), GlFunction(EGLBoolean, "eglSwapBuffers", [(EGLDisplay, "dpy"), (EGLSurface, "surface")]), GlFunction(EGLBoolean, "eglTerminate", [(EGLDisplay, "dpy")]), GlFunction(EGLBoolean, "eglWaitGL", []), - GlFunction(EGLBoolean, "eglWaitNative", [(EGLattrib, "engine")]), + GlFunction(EGLBoolean, "eglWaitNative", [(EGLint_enum, "engine")]), # EGL_VERSION_1_1 - GlFunction(EGLBoolean, "eglBindTexImage", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLattrib, "buffer")]), - GlFunction(EGLBoolean, "eglReleaseTexImage", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLattrib, "buffer")]), - GlFunction(EGLBoolean, "eglSurfaceAttrib", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLattrib, "attribute"), (EGLint, "value")]), + GlFunction(EGLBoolean, "eglBindTexImage", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLint_enum, "buffer")]), + GlFunction(EGLBoolean, "eglReleaseTexImage", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLint_enum, "buffer")]), + GlFunction(EGLBoolean, "eglSurfaceAttrib", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLint_enum, "attribute"), (EGLint, "value")]), GlFunction(EGLBoolean, "eglSwapInterval", [(EGLDisplay, "dpy"), (EGLint, "interval")]), # EGL_VERSION_1_2 @@ -244,14 +255,25 @@ eglapi.addFunctions([ # EGL_VERSION_1_4 GlFunction(EGLContext, "eglGetCurrentContext", [], sideeffects=False), + # EGL_VERSION_1_5 + GlFunction(EGLSync, "eglCreateSync", [(EGLDisplay, "dpy"), (EGLenum, "type"), (EGLAttribArray([]), "attrib_list")]), + GlFunction(EGLBoolean, "eglDestroySync", [(EGLDisplay, "dpy"), (EGLSync, "sync")]), + GlFunction(EGLint, "eglClientWaitSync", [(EGLDisplay, "dpy"), (EGLSync, "sync"), (EGLint, "flags"), (EGLTime, "timeout")]), + GlFunction(EGLBoolean, "eglGetSyncAttrib", [(EGLDisplay, "dpy"), (EGLSync, "sync"), (EGLint_enum, "attribute"), Out(Pointer(EGLAttrib), "value")], sideeffects=False), + GlFunction(EGLImage, "eglCreateImage", [(EGLDisplay, "dpy"), (EGLContext, "ctx"), (EGLenum, "target"), (EGLClientBuffer, "buffer"), (EGLAttribArray([('EGL_IMAGE_PRESERVED', EGLBoolean)]), "attrib_list")]), + GlFunction(EGLBoolean, "eglDestroyImage", [(EGLDisplay, "dpy"), (EGLImage, "image")]), + GlFunction(EGLDisplay, "eglGetPlatformDisplay", [(EGLenum, "platform"), (OpaquePointer(Void), "native_display"), (EGLPlatformDisplayAttribs, "attrib_list")]), + GlFunction(EGLSurface, "eglCreatePlatformWindowSurface", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_window"), (EGLAttribArray([]), "attrib_list")]), + GlFunction(EGLSurface, "eglCreatePlatformPixmapSurface", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_pixmap"), (EGLAttribArray([]), "attrib_list")]), + GlFunction(EGLBoolean, "eglWaitSync", [(EGLDisplay, "dpy"), (EGLSync, "sync"), (EGLint, "flags")]), # EGL_ANGLE_query_surface_pointer - GlFunction(EGLBoolean, "eglQuerySurfacePointerANGLE", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLattrib, "attribute"), Out(Pointer(OpaquePointer(Void)), "value")], sideeffects=False), + GlFunction(EGLBoolean, "eglQuerySurfacePointerANGLE", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLint_enum, "attribute"), Out(Pointer(OpaquePointer(Void)), "value")], sideeffects=False), # EGL_EXT_platform_base - GlFunction(EGLDisplay, "eglGetPlatformDisplayEXT", [(EGLenum, "platform"), (OpaquePointer(Void), "native_display"), (EGLPlatformDisplayAttribs, "attrib_list")]), - GlFunction(EGLSurface, "eglCreatePlatformWindowSurfaceEXT", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_window"), (EGLAttribArray([]), "attrib_list")]), - GlFunction(EGLSurface, "eglCreatePlatformPixmapSurfaceEXT", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_pixmap"), (EGLAttribArray([]), "attrib_list")]), + GlFunction(EGLDisplay, "eglGetPlatformDisplayEXT", [(EGLenum, "platform"), (OpaquePointer(Void), "native_display"), (EGLPlatformDisplayAttribsEXT, "attrib_list")]), + GlFunction(EGLSurface, "eglCreatePlatformWindowSurfaceEXT", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_window"), (EGLIntArray([]), "attrib_list")]), + GlFunction(EGLSurface, "eglCreatePlatformPixmapSurfaceEXT", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_pixmap"), (EGLIntArray([]), "attrib_list")]), # EGL_EXT_swap_buffers_with_damage GlFunction(EGLBoolean, "eglSwapBuffersWithDamageEXT", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (Array(EGLint, "n_rects*4"), "rects"), (EGLint, "n_rects")]), @@ -260,13 +282,13 @@ eglapi.addFunctions([ GlFunction(EGLSurface, "eglCreatePixmapSurfaceHI", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (Pointer(EGLClientPixmapHI), "pixmap")]), # EGL_KHR_fence_sync - GlFunction(EGLSyncKHR, "eglCreateSyncKHR", [(EGLDisplay, "dpy"), (EGLenum, "type"), (EGLAttribArray([]), "attrib_list")]), + GlFunction(EGLSyncKHR, "eglCreateSyncKHR", [(EGLDisplay, "dpy"), (EGLenum, "type"), (EGLIntArray([]), "attrib_list")]), GlFunction(EGLBoolean, "eglDestroySyncKHR", [(EGLDisplay, "dpy"), (EGLSyncKHR, "sync")]), GlFunction(EGLint, "eglClientWaitSyncKHR", [(EGLDisplay, "dpy"), (EGLSyncKHR, "sync"), (EGLint, "flags"), (EGLTimeKHR, "timeout")]), - GlFunction(EGLBoolean, "eglGetSyncAttribKHR", [(EGLDisplay, "dpy"), (EGLSyncKHR, "sync"), (EGLattrib, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), + GlFunction(EGLBoolean, "eglGetSyncAttribKHR", [(EGLDisplay, "dpy"), (EGLSyncKHR, "sync"), (EGLint_enum, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), # EGL_KHR_image - GlFunction(EGLImageKHR, "eglCreateImageKHR", [(EGLDisplay, "dpy"), (EGLContext, "ctx"), (EGLenum, "target"), (EGLClientBuffer, "buffer"), (EGLAttribArray([('EGL_IMAGE_PRESERVED_KHR', EGLBoolean)]), "attrib_list")]), + GlFunction(EGLImageKHR, "eglCreateImageKHR", [(EGLDisplay, "dpy"), (EGLContext, "ctx"), (EGLenum, "target"), (EGLClientBuffer, "buffer"), (EGLIntArray([('EGL_IMAGE_PRESERVED_KHR', EGLBoolean)]), "attrib_list")]), GlFunction(EGLBoolean, "eglDestroyImageKHR", [(EGLDisplay, "dpy"), (EGLImageKHR, "image")]), # EGL_KHR_image_base @@ -281,13 +303,16 @@ eglapi.addFunctions([ # EGL_KHR_swap_buffers_with_damage GlFunction(EGLBoolean, "eglSwapBuffersWithDamageKHR", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (Array(EGLint, "n_rects*4"), "rects"), (EGLint, "n_rects")]), + # EGL_KHR_wait_sync + GlFunction(EGLint, "eglWaitSyncKHR", [(EGLDisplay, "dpy"), (EGLSyncKHR, "sync"), (EGLint, "flags")]), + # EGL_NV_sync GlFunction(EGLSyncNV, "eglCreateFenceSyncNV", [(EGLDisplay, "dpy"), (EGLenum, "condition"), (EGLFenceSyncNVAttribs, "attrib_list")]), GlFunction(EGLBoolean, "eglDestroySyncNV", [(EGLSyncNV, "sync")]), GlFunction(EGLBoolean, "eglFenceNV", [(EGLSyncNV, "sync")]), GlFunction(EGLint, "eglClientWaitSyncNV", [(EGLSyncNV, "sync"), (EGLint, "flags"), (EGLTimeNV, "timeout")]), GlFunction(EGLBoolean, "eglSignalSyncNV", [(EGLSyncNV, "sync"), (EGLenum, "mode")]), - GlFunction(EGLBoolean, "eglGetSyncAttribNV", [(EGLSyncNV, "sync"), (EGLattrib, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), + GlFunction(EGLBoolean, "eglGetSyncAttribNV", [(EGLSyncNV, "sync"), (EGLint_enum, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False), # EGL_MESA_drm_image GlFunction(EGLImageKHR, "eglCreateDRMImageMESA", [(EGLDisplay, "dpy"), (EGLDrmImageMesaAttribs, "attrib_list")]), diff --git a/specs/eglenum.py b/specs/eglenum.py index 8b10868d..5ffbec7e 100644 --- a/specs/eglenum.py +++ b/specs/eglenum.py @@ -165,7 +165,7 @@ EGLenum = Enum("EGLenum", [ "EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR", # 0x30CD "EGL_LOWER_LEFT_KHR", # 0x30CE "EGL_UPPER_LEFT_KHR", # 0x30CF - "EGL_IMAGE_PRESERVED_KHR", # 0x30D2 + "EGL_IMAGE_PRESERVED", # 0x30D2 #"EGL_SHARED_IMAGE_NOK", # 0x30DA "EGL_COVERAGE_BUFFERS_NV", # 0x30E0 "EGL_COVERAGE_SAMPLES_NV", # 0x30E1 @@ -207,7 +207,8 @@ EGLenum = Enum("EGLenum", [ "EGL_MULTIVIEW_VIEW_COUNT_EXT", # 0x3134 "EGL_AUTO_STEREO_NV", # 0x3136 "EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT", # 0x3138 - "EGL_BUFFER_AGE_EXT", # 0x313D + "EGL_BUFFER_AGE_KHR", # 0x313D + "EGL_PLATFORM_DEVICE_EXT", # 0x313F "EGL_NATIVE_BUFFER_ANDROID", # 0x3140 "EGL_PLATFORM_ANDROID_KHR", # 0x3141 "EGL_RECORDABLE_ANDROID", # 0x3142 @@ -218,6 +219,7 @@ EGLenum = Enum("EGLenum", [ "EGL_CONTEXT_OPENGL_DEBUG", # 0x31B0 "EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE", # 0x31B1 "EGL_CONTEXT_OPENGL_ROBUST_ACCESS", # 0x31B2 + "EGL_CONTEXT_OPENGL_NO_ERROR_KHR", # 0x31B3 "EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR", # 0x31BD "EGL_NO_RESET_NOTIFICATION", # 0x31BE "EGL_LOSE_CONTEXT_ON_RESET", # 0x31BF @@ -235,6 +237,7 @@ EGLenum = Enum("EGLenum", [ "EGL_STREAM_TIME_CONSUMER_KHR", # 0x31FE "EGL_STREAM_TIME_PRODUCER_KHR", # 0x31FF "EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE", # 0x3200 + "EGL_FIXED_SIZE_ANGLE", # 0x3201 "EGL_CONSUMER_LATENCY_USEC_KHR", # 0x3210 "EGL_PRODUCER_FRAME_KHR", # 0x3212 "EGL_CONSUMER_FRAME_KHR", # 0x3213 @@ -250,6 +253,18 @@ EGLenum = Enum("EGLenum", [ #"EGL_BUFFER_COUNT_NV", # 0x321D "EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR", # 0x321E "EGL_SYNC_NEW_FRAME_NV", # 0x321F + "EGL_BAD_DEVICE_EXT", # 0x322B + "EGL_DEVICE_EXT", # 0x322C + "EGL_BAD_OUTPUT_LAYER_EXT", # 0x322D + "EGL_BAD_OUTPUT_PORT_EXT", # 0x322E + "EGL_SWAP_INTERVAL_EXT", # 0x322F + "EGL_DRM_DEVICE_FILE_EXT", # 0x3233 + "EGL_DRM_CRTC_EXT", # 0x3234 + "EGL_DRM_PLANE_EXT", # 0x3235 + "EGL_DRM_CONNECTOR_EXT", # 0x3236 + "EGL_OPENWF_DEVICE_ID_EXT", # 0x3237 + "EGL_OPENWF_PIPELINE_ID_EXT", # 0x3238 + "EGL_OPENWF_PORT_ID_EXT", # 0x3239 "EGL_LINUX_DMA_BUF_EXT", # 0x3270 "EGL_LINUX_DRM_FOURCC_EXT", # 0x3271 "EGL_DMA_BUF_PLANE0_FD_EXT", # 0x3272 @@ -274,6 +289,43 @@ EGLenum = Enum("EGLenum", [ "EGL_YUV_CHROMA_SITING_0_5_EXT", # 0x3285 "EGL_DISCARD_SAMPLES_ARM", # 0x3286 "EGL_PROTECTED_CONTENT_EXT", # 0x32C0 + "EGL_YUV_BUFFER_EXT", # 0x3300 + "EGL_YUV_ORDER_EXT", # 0x3301 + "EGL_YUV_ORDER_YUV_EXT", # 0x3302 + "EGL_YUV_ORDER_YVU_EXT", # 0x3303 + "EGL_YUV_ORDER_YUYV_EXT", # 0x3304 + "EGL_YUV_ORDER_UYVY_EXT", # 0x3305 + "EGL_YUV_ORDER_YVYU_EXT", # 0x3306 + "EGL_YUV_ORDER_VYUY_EXT", # 0x3307 + "EGL_YUV_ORDER_AYUV_EXT", # 0x3308 + "EGL_YUV_CSC_STANDARD_EXT", # 0x330A + "EGL_YUV_CSC_STANDARD_601_EXT", # 0x330B + "EGL_YUV_CSC_STANDARD_709_EXT", # 0x330C + "EGL_YUV_CSC_STANDARD_2020_EXT", # 0x330D + "EGL_YUV_NUMBER_OF_PLANES_EXT", # 0x3311 + "EGL_YUV_SUBSAMPLE_EXT", # 0x3312 + "EGL_YUV_SUBSAMPLE_4_2_0_EXT", # 0x3313 + "EGL_YUV_SUBSAMPLE_4_2_2_EXT", # 0x3314 + "EGL_YUV_SUBSAMPLE_4_4_4_EXT", # 0x3315 + "EGL_YUV_DEPTH_RANGE_EXT", # 0x3317 + "EGL_YUV_DEPTH_RANGE_LIMITED_EXT", # 0x3318 + "EGL_YUV_DEPTH_RANGE_FULL_EXT", # 0x3319 + "EGL_YUV_PLANE_BPP_EXT", # 0x331A + "EGL_YUV_PLANE_BPP_0_EXT", # 0x331B + "EGL_YUV_PLANE_BPP_8_EXT", # 0x331C + "EGL_YUV_PLANE_BPP_10_EXT", # 0x331D + "EGL_OBJECT_THREAD_KHR", # 0x33B0 + "EGL_OBJECT_DISPLAY_KHR", # 0x33B1 + "EGL_OBJECT_CONTEXT_KHR", # 0x33B2 + "EGL_OBJECT_SURFACE_KHR", # 0x33B3 + "EGL_OBJECT_IMAGE_KHR", # 0x33B4 + "EGL_OBJECT_SYNC_KHR", # 0x33B5 + "EGL_OBJECT_STREAM_KHR", # 0x33B6 + "EGL_DEBUG_CALLBACK_KHR", # 0x33B8 + "EGL_DEBUG_MSG_CRITICAL_KHR", # 0x33B9 + "EGL_DEBUG_MSG_ERROR_KHR", # 0x33BA + "EGL_DEBUG_MSG_WARN_KHR", # 0x33BB + "EGL_DEBUG_MSG_INFO_KHR", # 0x33BC "EGL_COLOR_FORMAT_HI", # 0x8F70 "EGL_COLOR_RGB_HI", # 0x8F71 "EGL_COLOR_RGBA_HI", # 0x8F72 -- cgit v1.2.3