[Mesa-dev] [PATCH 1/3] specs: Update Mesa EGL enums

Adam Jackson ajax at redhat.com
Wed Aug 2 20:24:05 UTC 2017


Note that, presumably because Khronos never got a copy of
WL_bind_wayland_display in the registry, we've double-allocated some
enums into the (now KHR) platform extensions, and we should consider
retiring the wayland extension at some point to fix it.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 docs/specs/enums.txt | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/docs/specs/enums.txt b/docs/specs/enums.txt
index 222adbc72e..f061b4c0e7 100644
--- a/docs/specs/enums.txt
+++ b/docs/specs/enums.txt
@@ -70,9 +70,27 @@ EGL_MESA_drm_image
         EGL_DRM_BUFFER_MESA			0x31D3
         EGL_DRM_BUFFER_STRIDE_MESA		0x31D4
 
+EGL_WL_bind_wayland_display
+        EGL_TEXTURE_FORMAT                      0x3080
+        /* XXX next four collide with EGL_KHR_platform_{x11,gbm,wayland} */
+        EGL_WAYLAND_BUFFER_WL                   0x31D5
+        EGL_WAYLAND_PLANE_WL                    0x31D6
+        EGL_TEXTURE_Y_U_V_WL                    0x31D7
+        EGL_TEXTURE_Y_UV_WL                     0x31D8
+        EGL_TEXTURE_Y_XUXV_WL                   0x31D9
+        EGL_TEXTURE_EXTERNAL_WL                 0x31DA
+        EGL_WAYLAND_Y_INVERTED_WL               0x31DB
+
+EGL_EXT_platform_x11
+        EGL_PLATFORM_X11_EXT                    0x31D5
+        EGL_PLATFORM_X11_SCREEN_EXT             0x31D6
+
 EGL_MESA_platform_gbm
         EGL_PLATFORM_GBM_MESA                   0x31D7
 
+EGL_EXT_platform_wayland
+        EGL_PLATFORM_WAYLAND_EXT                0x31D8
+
 EGL_MESA_platform_surfaceless
         EGL_PLATFORM_SURFACELESS_MESA           0x31DD
 
@@ -80,12 +98,3 @@ EGL_MESA_drm_image
         EGL_DRM_BUFFER_FORMAT_ARGB2101010_MESA  0x3290
         EGL_DRM_BUFFER_FORMAT_ARGB1555_MESA     0x3291
         EGL_DRM_BUFFER_FORMAT_RGB565_MESA       0x3292
-
-EGL_WL_bind_wayland_display
-        EGL_TEXTURE_FORMAT                      0x3080
-        EGL_WAYLAND_BUFFER_WL                   0x31D5
-        EGL_WAYLAND_PLANE_WL                    0x31D6
-        EGL_TEXTURE_Y_U_V_WL                    0x31D7
-        EGL_TEXTURE_Y_UV_WL                     0x31D8
-        EGL_TEXTURE_Y_XUXV_WL                   0x31D9
-        EGL_WAYLAND_Y_INVERTED_WL               0x31DB
-- 
2.13.3



More information about the mesa-dev mailing list