1The definitive source for enum values and reserved ranges are the XML files in 2the Khronos registry: 3 4 https://github.com/KhronosGroup/EGL-Registry/blob/master/api/egl.xml 5 https://github.com/KhronosGroup/OpenGL-Registry/blob/master/xml/gl.xml 6 https://github.com/KhronosGroup/OpenGL-Registry/blob/master/xml/glx.xml 7 https://github.com/KhronosGroup/OpenGL-Registry/blob/master/xml/wgl.xml 8 9GL blocks allocated to Mesa: 10 0x8750-0x875F 11 0x8BB0-0x8BBF 12 13EGL blocks allocated to Mesa: 14 0x31D0-0x31DF 15 0x3290-0x329F 16 17GL_MESA_packed_depth_stencil 18 GL_DEPTH_STENCIL_MESA 0x8750 19 GL_UNSIGNED_INT_24_8_MESA 0x8751 20 GL_UNSIGNED_INT_8_24_REV_MESA 0x8752 21 GL_UNSIGNED_SHORT_15_1_MESA 0x8753 22 GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754 23 24GL_MESA_trace: 25 GL_TRACE_ALL_BITS_MESA 0xFFFF 26 GL_TRACE_OPERATIONS_BIT_MESA 0x0001 27 GL_TRACE_PRIMITIVES_BIT_MESA 0x0002 28 GL_TRACE_ARRAYS_BIT_MESA 0x0004 29 GL_TRACE_TEXTURES_BIT_MESA 0x0008 30 GL_TRACE_PIXELS_BIT_MESA 0x0010 31 GL_TRACE_ERRORS_BIT_MESA 0x0020 32 GL_TRACE_MASK_MESA 0x8755 33 GL_TRACE_NAME_MESA 0x8756 34 35GL_MESA_ycbcr_texture: 36 GL_YCBCR_MESA 0x8757 37 GL_UNSIGNED_SHORT_8_8_MESA 0x85BA /* same as Apple's */ 38 GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB /* same as Apple's */ 39 40GL_MESA_pack_invert: 41 GL_PACK_INVERT_MESA 0x8758 42 43GL_MESA_shader_debug.spec: (obsolete) 44 GL_DEBUG_OBJECT_MESA 0x8759 45 GL_DEBUG_PRINT_MESA 0x875A 46 GL_DEBUG_ASSERT_MESA 0x875B 47 48GL_MESA_program_debug: (obsolete) 49 GL_FRAGMENT_PROGRAM_POSITION_MESA 0x8BB0 50 GL_FRAGMENT_PROGRAM_CALLBACK_MESA 0x8BB1 51 GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA 0x8BB2 52 GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA 0x8BB3 53 GL_VERTEX_PROGRAM_POSITION_MESA 0x8BB4 54 GL_VERTEX_PROGRAM_CALLBACK_MESA 0x8BB5 55 GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA 0x8BB6 56 GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA 0x8BB7 57 58GL_MESAX_texture_stack: 59 GL_TEXTURE_1D_STACK_MESAX 0x8759 60 GL_TEXTURE_2D_STACK_MESAX 0x875A 61 GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B 62 GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C 63 GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D 64 GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E 65 66GL_MESA_program_binary_formats: 67 GL_PROGRAM_BINARY_FORMAT_MESA 0x875F 68 69GL_MESA_tile_raster_order 70 GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8 71 GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9 72 GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA 73 74EGL_MESA_drm_image 75 EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 76 EGL_DRM_BUFFER_USE_MESA 0x31D1 77 EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 78 EGL_DRM_BUFFER_MESA 0x31D3 79 EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 80 81EGL_MESA_platform_gbm 82 EGL_PLATFORM_GBM_MESA 0x31D7 83 84EGL_MESA_platform_surfaceless 85 EGL_PLATFORM_SURFACELESS_MESA 0x31DD 86 87EGL_MESA_drm_image 88 EGL_DRM_BUFFER_FORMAT_ARGB2101010_MESA 0x3290 89 EGL_DRM_BUFFER_FORMAT_ARGB1555_MESA 0x3291 90 EGL_DRM_BUFFER_FORMAT_RGB565_MESA 0x3292 91 92EGL_WL_bind_wayland_display 93 EGL_TEXTURE_FORMAT 0x3080 94 EGL_WAYLAND_BUFFER_WL 0x31D5 95 EGL_WAYLAND_PLANE_WL 0x31D6 96 EGL_TEXTURE_Y_U_V_WL 0x31D7 97 EGL_TEXTURE_Y_UV_WL 0x31D8 98 EGL_TEXTURE_Y_XUXV_WL 0x31D9 99 EGL_WAYLAND_Y_INVERTED_WL 0x31DB 100