Commit 2bb491dc authored by Eric Engestrom's avatar Eric Engestrom
Browse files

egl: add a bunch more extensions

parent 7d861f3f
Pipeline #88321 failed with stages
in 1 minute and 12 seconds
......@@ -135,11 +135,70 @@ EGL_FUNCTIONS = (
# Sort by extension number
# 3 - EGL_KHR_image
_eglExt("eglCreateImageKHR", "display"),
_eglExt("eglDestroyImageKHR", "display"),
# 8 - EGL_KHR_image_base
# eglCreateImageKHR already defined in EGL_KHR_image
# eglDestroyImageKHR already defined in EGL_KHR_image
# 6 - EGL_KHR_reusable_sync
_eglExt("eglSignalSyncKHR", "display"),
# eglCreateSyncKHR already defined in EGL_KHR_fence_sync
# eglDestroySyncKHR already defined in EGL_KHR_fence_sync
# eglClientWaitSyncKHR already defined in EGL_KHR_fence_sync
# eglGetSyncAttribKHR already defined in EGL_KHR_fence_sync
# 20 - EGL_KHR_fence_sync
_eglExt("eglCreateSyncKHR", "display"),
_eglExt("eglDestroySyncKHR", "display"),
_eglExt("eglClientWaitSyncKHR", "display"),
_eglExt("eglGetSyncAttribKHR", "display"),
# 23 - EGL_NOK_swap_region
_eglExt("eglSwapBuffersRegionNOK", "display"),
# 26 - EGL_MESA_drm_image
_eglExt("eglCreateDRMImageMESA", "display"),
_eglExt("eglExportDRMImageMESA", "display"),
# 27 - EGL_NV_post_sub_buffer
_eglExt("eglPostSubBufferNV", "display"),
# 43 - EGL_KHR_wait_sync
_eglExt("eglWaitSyncKHR", "display"),
# 48 - EGL_ANDROID_blob_cache
_eglExt("eglSetBlobCacheFuncsANDROID", "display"),
# 50 - EGL_ANDROID_native_fence_sync
_eglExt("eglDupNativeFenceFDANDROID", "display"),
# 55 - EGL_EXT_swap_buffers_with_damage
_eglExt("eglSwapBuffersWithDamageEXT", "display"),
# 57 - EGL_EXT_platform_base
_eglExt("eglCreatePlatformWindowSurfaceEXT", "display"),
_eglExt("eglCreatePlatformPixmapSurfaceEXT", "display"),
_eglExt("eglGetPlatformDisplayEXT", "custom"),
# 65 - EGL_KHR_cl_event2
_eglExt("eglCreateSync64KHR", "display"),
# 72 - EGL_EXT_device_base
_eglExt("eglQueryDeviceAttribEXT", "device"),
_eglExt("eglQueryDeviceStringEXT", "device"),
_eglExt("eglQueryDevicesEXT", "none"),
_eglExt("eglQueryDisplayAttribEXT", "display"),
# 84 - EGL_KHR_swap_buffers_with_damage
_eglExt("eglSwapBuffersWithDamageKHR", "display"),
# 87 - EGL_MESA_image_dma_buf_export
_eglExt("eglExportDMABUFImageQueryMESA", "display"),
_eglExt("eglExportDMABUFImageMESA", "display"),
# 88 - EGL_EXT_device_enumeration
_eglExt("eglQueryDevicesEXT", "custom"),
......@@ -147,5 +206,13 @@ EGL_FUNCTIONS = (
_eglExt("eglDebugMessageControlKHR", "custom"),
_eglExt("eglQueryDebugKHR", "custom"),
_eglExt("eglLabelObjectKHR", "custom"),
# 105 - EGL_EXT_image_dma_buf_import_modifiers
_eglExt("eglQueryDmaBufFormatsEXT", "display"),
_eglExt("eglQueryDmaBufModifiersEXT", "display"),
# 131 - EGL_MESA_query_driver
_eglExt("eglGetDisplayDriverName", "display"),
_eglExt("eglGetDisplayDriverConfig", "display"),
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment