docs/specs: Update allocated EGL enum values
authorChad Versace <chadversary@chromium.org>
Thu, 13 Oct 2016 21:44:17 +0000 (14:44 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 14 Oct 2016 18:19:41 +0000 (11:19 -0700)
Document the EGL enum ranges for Mesa and those values allocated by the
following extensions:

    EGL_MESA_drm_image
    EGL_MESA_platform_gbm
    EGL_MESA_platform_surfaceless
    EGL_WL_bind_wayland_display

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
docs/specs/enums.txt

index 1a49db43272054607dbe7bad170e67ba80391964..1caa2845943662244bb447a6e63ab0faee40cc3e 100644 (file)
@@ -6,10 +6,13 @@ the Khronos registry:
     https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/glx.xml
     https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/wgl.xml
 
-Blocks allocated to Mesa:
+GL blocks allocated to Mesa:
        0x8750-0x875F
        0x8BB0-0x8BBF
 
+EGL blocks allocated to Mesa:
+       0x31D0-0x31DF
+       0x3290-0x329F
 
 GL_MESA_packed_depth_stencil
        GL_DEPTH_STENCIL_MESA            0x8750
@@ -59,3 +62,25 @@ GL_MESAX_texture_stack:
        GL_PROXY_TEXTURE_2D_STACK_MESAX      0x875C
        GL_TEXTURE_1D_STACK_BINDING_MESAX    0x875D
        GL_TEXTURE_2D_STACK_BINDING_MESAX    0x875E
+
+EGL_MESA_drm_image
+        EGL_DRM_BUFFER_FORMAT_MESA             0x31D0
+        EGL_DRM_BUFFER_USE_MESA                        0x31D1
+        EGL_DRM_BUFFER_FORMAT_ARGB32_MESA      0x31D2
+        EGL_DRM_BUFFER_MESA                    0x31D3
+        EGL_DRM_BUFFER_STRIDE_MESA             0x31D4
+
+EGL_MESA_platform_gbm
+        EGL_PLATFORM_GBM_MESA                   0x31D7
+
+EGL_MESA_platform_surfaceless
+        EGL_PLATFORM_SURFACELESS_MESA           0x31DD
+
+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