diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-01-26 13:45:51 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-01-26 13:45:51 +0000 |
commit | 9a275cbecce88b0cbe38f434bd0e09a6632d329b (patch) | |
tree | cd0c3875adc5f40492023bc8e0acee630b8c1b81 /dist | |
parent | 30ee5e120a0b5bf99f787d536a7dd163546e7308 (diff) |
Update to libepoxy 1.5.4. ok jsg@
Diffstat (limited to 'dist')
-rw-r--r-- | dist/libepoxy/configure.ac | 4 | ||||
-rw-r--r-- | dist/libepoxy/meson.build | 4 | ||||
-rw-r--r-- | dist/libepoxy/registry/README.md | 13 | ||||
-rw-r--r-- | dist/libepoxy/registry/egl.xml | 242 | ||||
-rw-r--r-- | dist/libepoxy/registry/gl.xml | 2373 | ||||
-rw-r--r-- | dist/libepoxy/registry/glx.xml | 29 | ||||
-rw-r--r-- | dist/libepoxy/registry/wgl.xml | 36 | ||||
-rw-r--r-- | dist/libepoxy/src/dispatch_common.c | 38 | ||||
-rw-r--r-- | dist/libepoxy/src/dispatch_common.h | 2 | ||||
-rwxr-xr-x | dist/libepoxy/src/gen_dispatch.py | 26 | ||||
-rw-r--r-- | dist/libepoxy/src/meson.build | 6 | ||||
-rw-r--r-- | dist/libepoxy/test/Makefile.am | 1 | ||||
-rw-r--r-- | dist/libepoxy/test/cgl_core.c | 54 | ||||
-rw-r--r-- | dist/libepoxy/test/cgl_epoxy_api.c | 83 | ||||
-rw-r--r-- | dist/libepoxy/test/egl_epoxy_api.c | 5 | ||||
-rw-r--r-- | dist/libepoxy/test/egl_has_extension_nocontext.c | 5 | ||||
-rw-r--r-- | dist/libepoxy/test/gl_version.c | 89 | ||||
-rw-r--r-- | dist/libepoxy/test/meson.build | 32 |
18 files changed, 2719 insertions, 323 deletions
diff --git a/dist/libepoxy/configure.ac b/dist/libepoxy/configure.ac index 83b5a5f3f..b0bb452e8 100644 --- a/dist/libepoxy/configure.ac +++ b/dist/libepoxy/configure.ac @@ -22,7 +22,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([libepoxy], - [1.5.2], + [1.5.4], [https://github.com/anholt/libepoxy], [libepoxy]) AC_CONFIG_SRCDIR([Makefile.am]) @@ -157,6 +157,8 @@ if test x$enable_x11 = xno; then AC_MSG_ERROR([GLX support is explicitly enabled, but X11 was disabled]) fi build_glx=no +else + AC_DEFINE([ENABLE_X11], [1], [Whether X11 support is enabled]) fi AM_CONDITIONAL(BUILD_EGL, test x$build_egl = xyes) diff --git a/dist/libepoxy/meson.build b/dist/libepoxy/meson.build index 550910652..91d97928d 100644 --- a/dist/libepoxy/meson.build +++ b/dist/libepoxy/meson.build @@ -1,11 +1,11 @@ -project('libepoxy', 'c', version: '1.5.2', +project('libepoxy', 'c', version: '1.5.4', default_options: [ 'buildtype=debugoptimized', 'c_std=gnu99', 'warning_level=1', ], license: 'MIT', - meson_version: '>= 0.44.0') + meson_version: '>= 0.47.0') epoxy_version = meson.project_version().split('.') epoxy_major_version = epoxy_version[0].to_int() diff --git a/dist/libepoxy/registry/README.md b/dist/libepoxy/registry/README.md index a35d9d9b7..2ade3fe6d 100644 --- a/dist/libepoxy/registry/README.md +++ b/dist/libepoxy/registry/README.md @@ -11,3 +11,16 @@ and copy them into this directory. You should follow these steps, instead: 5. check out the `master` branch and merge the `khronos-registry` branch into it with the appropriate commit message +## Updating the registry XML + +In order to update the registry XML files and retain the history you cannot +simply download the files the [Khronos website](https://khronos.org/registry/OpenGL/index_gl.php) +and copy them into this directory. You should follow these steps, instead: + + 1. check out the `khronos-registry` branch + 2. download the XML files from the Khronos repository + 3. copy them under the `registry` directory + 4. check the result for consistency and commit it + 5. check out the `master` branch and merge the `khronos-registry` branch + into it with the appropriate commit message + diff --git a/dist/libepoxy/registry/egl.xml b/dist/libepoxy/registry/egl.xml index 8fc7f669f..c27f1726b 100644 --- a/dist/libepoxy/registry/egl.xml +++ b/dist/libepoxy/registry/egl.xml @@ -468,8 +468,20 @@ <unused start="0x3111" end="0x311F"/> </enums> - <enums namespace="EGL" start="0x3120" end="0x312F" vendor="AMD" comment="Reserved for David Garcia (Khronos bug 5149)"> - <unused start="0x3120" end="0x312F"/> + <enums namespace="EGL" start="0x3120" end="0x312F" vendor="QCOM" comment="EGL_QCOM_create_image"> + <enum value="0x3120" name="EGL_NEW_IMAGE_QCOM"/> + <enum value="0x3121" name="EGL_IMAGE_FORMAT_QCOM"/> + <enum value="0x3122" name="EGL_FORMAT_RGBA_8888_QCOM"/> + <enum value="0x3123" name="EGL_FORMAT_RGB_565_QCOM"/> + <enum value="0x3124" name="EGL_FORMAT_YUYV_QCOM"/> + <enum value="0x3125" name="EGL_FORMAT_UYVY_QCOM"/> + <enum value="0x3126" name="EGL_FORMAT_YV12_QCOM"/> + <enum value="0x3127" name="EGL_FORMAT_NV21_QCOM"/> + <enum value="0x3128" name="EGL_FORMAT_NV12_TILED_QCOM"/> + <enum value="0x3129" name="EGL_FORMAT_BGRA_8888_QCOM"/> + <enum value="0x312A" name="EGL_FORMAT_BGRX_8888_QCOM"/> + <unused start="0x312B" end="0x312E"/> + <enum value="0x312F" name="EGL_FORMAT_RGBX_8888_QCOM"/> </enums> <enums namespace="EGL" start="0x3130" end="0x313F" vendor="NV" comment="Reserved for Greg Prisament (Khronos bug 5166)"> @@ -499,8 +511,9 @@ <enum value="0x3146" name="EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID"/> <enum value="0x3147" name="EGL_FRAMEBUFFER_TARGET_ANDROID"/> <unused start="0x3148" end="0x314B"/> - <enum value="0x314C" name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/> - <unused start="0x314D" end="0x314F"/> + <enum value="0x314C" name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/> + <enum value="0x314D" name="EGL_GL_COLORSPACE_DEFAULT_EXT"/> + <unused start="0x314E" end="0x314F"/> </enums> <enums namespace="EGL" start="0x3150" end="0x315F" vendor="NOK" comment="Reserved for Robert Palmer (Khronos bug 5368)"> @@ -535,8 +548,23 @@ <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_EXT" alias="EGL_LOSE_CONTEXT_ON_RESET"/> </enums> - <enums namespace="EGL" start="0x31C0" end="0x31CF" vendor="QCOM" comment="Reserved for Maurice Ribble (Khronos bug 6644) - EGL_QCOM_create_image spec TBD"> - <unused start="0x31C0" end="0x31CF"/> + <enums namespace="EGL" start="0x31C0" end="0x31CF" vendor="QCOM" comment="Reserved for Maurice Ribble (Khronos bug 6644) - EGL_QCOM_create_image spec"> + <enum value="0x31C0" name="EGL_FORMAT_R8_QCOM"/> + <enum value="0x31C1" name="EGL_FORMAT_RG88_QCOM"/> + <enum value="0x31C2" name="EGL_FORMAT_NV12_QCOM"/> + <enum value="0x31C3" name="EGL_FORMAT_SRGBX_8888_QCOM"/> + <enum value="0x31C4" name="EGL_FORMAT_SRGBA_8888_QCOM"/> + <enum value="0x31C5" name="EGL_FORMAT_YVYU_QCOM"/> + <enum value="0x31C6" name="EGL_FORMAT_VYUY_QCOM"/> + <enum value="0x31C7" name="EGL_FORMAT_IYUV_QCOM"/> + <enum value="0x31C8" name="EGL_FORMAT_RGB_888_QCOM"/> + <enum value="0x31C9" name="EGL_FORMAT_RGBA_5551_QCOM"/> + <enum value="0x31CA" name="EGL_FORMAT_RGBA_4444_QCOM"/> + <enum value="0x31CB" name="EGL_FORMAT_R_16_FLOAT_QCOM"/> + <enum value="0x31CC" name="EGL_FORMAT_RG_1616_FLOAT_QCOM"/> + <enum value="0x31CD" name="EGL_FORMAT_RGBA_16_FLOAT_QCOM"/> + <enum value="0x31CE" name="EGL_FORMAT_RGBA_1010102_QCOM"/> + <enum value="0x31CF" name="EGL_FORMAT_FLAG_QCOM"/> </enums> <enums namespace="EGL" start="0x31D0" end="0x31DF" vendor="MESA" comment="Reserved for Kristian Høgsberg (Khronos bug 6757)"> @@ -616,7 +644,9 @@ <enum value="0x322D" name="EGL_BAD_OUTPUT_LAYER_EXT"/> <enum value="0x322E" name="EGL_BAD_OUTPUT_PORT_EXT"/> <enum value="0x322F" name="EGL_SWAP_INTERVAL_EXT"/> - <unused start="0x3230" end="0x3232"/> + <enum value="0x3230" name="EGL_TRIPLE_BUFFER_NV"/> + <enum value="0x3231" name="EGL_QUADRUPLE_BUFFER_NV"/> + <unused start="0x3232"/> <enum value="0x3233" name="EGL_DRM_DEVICE_FILE_EXT"/> <enum value="0x3234" name="EGL_DRM_CRTC_EXT"/> <enum value="0x3235" name="EGL_DRM_PLANE_EXT"/> @@ -704,8 +734,23 @@ <unused start="0x32A2" end="0x32AF"/> </enums> - <enums namespace="EGL" start="0x32B0" end="0x32BF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 10663) - EGL_QCOM_lock_image spec TBD"> - <unused start="0x32B0" end="0x32BF"/> + <enums namespace="EGL" start="0x32B0" end="0x32BF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 10663) - EGL_QCOM_lock_image2 spec"> + <enum value="0x32B0" name="EGL_IMAGE_NUM_PLANES_QCOM"/> + <enum value="0x32B1" name="EGL_IMAGE_PLANE_PITCH_0_QCOM"/> + <enum value="0x32B2" name="EGL_IMAGE_PLANE_PITCH_1_QCOM"/> + <enum value="0x32B3" name="EGL_IMAGE_PLANE_PITCH_2_QCOM"/> + <enum value="0x32B4" name="EGL_IMAGE_PLANE_DEPTH_0_QCOM"/> + <enum value="0x32B5" name="EGL_IMAGE_PLANE_DEPTH_1_QCOM"/> + <enum value="0x32B6" name="EGL_IMAGE_PLANE_DEPTH_2_QCOM"/> + <enum value="0x32B7" name="EGL_IMAGE_PLANE_WIDTH_0_QCOM"/> + <enum value="0x32B8" name="EGL_IMAGE_PLANE_WIDTH_1_QCOM"/> + <enum value="0x32B9" name="EGL_IMAGE_PLANE_WIDTH_2_QCOM"/> + <enum value="0x32BA" name="EGL_IMAGE_PLANE_HEIGHT_0_QCOM"/> + <enum value="0x32BB" name="EGL_IMAGE_PLANE_HEIGHT_1_QCOM"/> + <enum value="0x32BC" name="EGL_IMAGE_PLANE_HEIGHT_2_QCOM"/> + <enum value="0x32BD" name="EGL_IMAGE_PLANE_POINTER_0_QCOM"/> + <enum value="0x32BE" name="EGL_IMAGE_PLANE_POINTER_1_QCOM"/> + <enum value="0x32BF" name="EGL_IMAGE_PLANE_POINTER_2_QCOM"/> </enums> <enums namespace="EGL" start="0x32C0" end="0x32CF" vendor="Vivante" comment="Reserved for Yanjun Zhang (Bug 11498)"> @@ -713,8 +758,10 @@ <unused start="0x32C1" end="0x32CF"/> </enums> - <enums namespace="EGL" start="0x32D0" end="0x32EF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 11735) - EGL_QCOM_gpu_perf spec TBD + Bug 12286 - EGL_QCOM_content_protection spec TBD"> - <unused start="0x32D0" end="0x32EF"/> + <enums namespace="EGL" start="0x32D0" end="0x32EF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 11735) - EGL_QCOM_gpu_perf spec"> + <enum value="0x32D0" name="EGL_GPU_PERF_HINT_QCOM"/> + <enum value="0x32D1" name="EGL_HINT_PERSISTENT_QCOM"/> + <unused start="0x32D2" end="0x32EF"/> </enums> <enums namespace="EGL" start="0x32F0" end="0x32FF" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Bug 12870)"> @@ -771,7 +818,8 @@ <enum value="0x3339" name="EGL_COLOR_COMPONENT_TYPE_EXT"/> <enum value="0x333A" name="EGL_COLOR_COMPONENT_TYPE_FIXED_EXT"/> <enum value="0x333B" name="EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT"/> - <unused start="0x333C" end="0x333E"/> + <enum value="0x333C" name="EGL_DRM_MASTER_FD_EXT"/> + <unused start="0x333D" end="0x333E"/> <enum value="0x333F" name="EGL_GL_COLORSPACE_BT2020_LINEAR_EXT"/> <enum value="0x3340" name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/> <enum value="0x3341" name="EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT"/> @@ -800,7 +848,22 @@ <enum value="0x3361" name="EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT"/> <enum value="0x3362" name="EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT"/> <enum value="0x3363" name="EGL_GL_COLORSPACE_DISPLAY_P3_EXT"/> - <unused start="0x3364" end="0x339F"/> + <enum value="0x3364" name="EGL_SYNC_CLIENT_EXT"/> + <enum value="0x3365" name="EGL_SYNC_CLIENT_SIGNAL_EXT"/> + <enum value="0x3366" name="EGL_STREAM_FRAME_ORIGIN_X_NV"/> + <enum value="0x3367" name="EGL_STREAM_FRAME_ORIGIN_Y_NV"/> + <enum value="0x3368" name="EGL_STREAM_FRAME_MAJOR_AXIS_NV"/> + <enum value="0x3369" name="EGL_CONSUMER_AUTO_ORIENTATION_NV"/> + <enum value="0x336A" name="EGL_PRODUCER_AUTO_ORIENTATION_NV"/> + <enum value="0x336B" name="EGL_LEFT_NV"/> + <enum value="0x336C" name="EGL_RIGHT_NV"/> + <enum value="0x336D" name="EGL_TOP_NV"/> + <enum value="0x336E" name="EGL_BOTTOM_NV"/> + <enum value="0x336F" name="EGL_X_AXIS_NV"/> + <enum value="0x3370" name="EGL_Y_AXIS_NV"/> + <enum value="0x3371" name="EGL_STREAM_DMA_NV"/> + <enum value="0x3372" name="EGL_STREAM_DMA_SERVER_NV"/> + <unused start="0x3373" end="0x339F"/> </enums> <enums namespace="EGL" start="0x33A0" end="0x33AF" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 13175)"> @@ -830,8 +893,54 @@ <unused start="0x33C0" end="0x33DF"/> </enums> - <enums namespace="EGL" start="0x33E0" end="0x342F" vendor="QCOM" comment="Reserved for Jeff Vigil (Bugs 10663,13364)"> - <unused start="0x33E0" end="0x342F"/> + <enums namespace="EGL" start="0x33E0" end="0x342F" vendor="QCOM" comment="EGL_QCOM_create_image and EGL_QCOM_lock_image2"> + <enum value="0x33E0" name="EGL_FORMAT_FLAG_UBWC_QCOM"/> + <enum value="0x33E1" name="EGL_FORMAT_FLAG_MACROTILE_QCOM"/> + <enum value="0x33E2" name="EGL_FORMAT_ASTC_4X4_QCOM"/> + <enum value="0x33E3" name="EGL_FORMAT_ASTC_5X4_QCOM"/> + <enum value="0x33E4" name="EGL_FORMAT_ASTC_5X5_QCOM"/> + <enum value="0x33E5" name="EGL_FORMAT_ASTC_6X5_QCOM"/> + <enum value="0x33E6" name="EGL_FORMAT_ASTC_6X6_QCOM"/> + <enum value="0x33E7" name="EGL_FORMAT_ASTC_8X5_QCOM"/> + <enum value="0x33E8" name="EGL_FORMAT_ASTC_8X6_QCOM"/> + <enum value="0x33E9" name="EGL_FORMAT_ASTC_8X8_QCOM"/> + <enum value="0x33EA" name="EGL_FORMAT_ASTC_10X5_QCOM"/> + <enum value="0x33EB" name="EGL_FORMAT_ASTC_10X6_QCOM"/> + <enum value="0x33EC" name="EGL_FORMAT_ASTC_10X8_QCOM"/> + <enum value="0x33ED" name="EGL_FORMAT_ASTC_10X10_QCOM"/> + <enum value="0x33EE" name="EGL_FORMAT_ASTC_12X10_QCOM"/> + <enum value="0x33EF" name="EGL_FORMAT_ASTC_12X12_QCOM"/> + <enum value="0x3400" name="EGL_FORMAT_ASTC_4X4_SRGB_QCOM"/> + <enum value="0x3401" name="EGL_FORMAT_ASTC_5X4_SRGB_QCOM"/> + <enum value="0x3402" name="EGL_FORMAT_ASTC_5X5_SRGB_QCOM"/> + <enum value="0x3403" name="EGL_FORMAT_ASTC_6X5_SRGB_QCOM"/> + <enum value="0x3404" name="EGL_FORMAT_ASTC_6X6_SRGB_QCOM"/> + <enum value="0x3405" name="EGL_FORMAT_ASTC_8X5_SRGB_QCOM"/> + <enum value="0x3406" name="EGL_FORMAT_ASTC_8X6_SRGB_QCOM"/> + <enum value="0x3407" name="EGL_FORMAT_ASTC_8X8_SRGB_QCOM"/> + <enum value="0x3408" name="EGL_FORMAT_ASTC_10X5_SRGB_QCOM"/> + <enum value="0x3409" name="EGL_FORMAT_ASTC_10X6_SRGB_QCOM"/> + <enum value="0x340A" name="EGL_FORMAT_ASTC_10X8_SRGB_QCOM"/> + <enum value="0x340B" name="EGL_FORMAT_ASTC_10X10_SRGB_QCOM"/> + <enum value="0x340C" name="EGL_FORMAT_ASTC_12X10_SRGB_QCOM"/> + <enum value="0x340D" name="EGL_FORMAT_ASTC_12X12_SRGB_QCOM"/> + <enum value="0x340E" name="EGL_FORMAT_TP10_QCOM"/> + <enum value="0x340F" name="EGL_FORMAT_NV12_Y_QCOM"/> + <enum value="0x3410" name="EGL_FORMAT_NV12_UV_QCOM"/> + <enum value="0x3411" name="EGL_FORMAT_NV21_VU_QCOM"/> + <enum value="0x3412" name="EGL_FORMAT_NV12_4R_QCOM"/> + <enum value="0x3413" name="EGL_FORMAT_NV12_4R_Y_QCOM"/> + <enum value="0x3414" name="EGL_FORMAT_NV12_4R_UV_QCOM"/> + <enum value="0x3415" name="EGL_FORMAT_P010_QCOM"/> + <enum value="0x3416" name="EGL_FORMAT_P010_Y_QCOM"/> + <enum value="0x3417" name="EGL_FORMAT_P010_UV_QCOM"/> + <enum value="0x3418" name="EGL_FORMAT_TP10_Y_QCOM"/> + <enum value="0x3419" name="EGL_FORMAT_TP10_UV_QCOM"/> + <unused start="0x341A" end="0x341F"/> + <enum value="0x3420" name="EGL_GENERIC_TOKEN_1_QCOM"/> + <enum value="0x3421" name="EGL_GENERIC_TOKEN_2_QCOM"/> + <enum value="0x3422" name="EGL_GENERIC_TOKEN_3_QCOM"/> + <unused start="0x3423" end="0x342F"/> </enums> <enums namespace="EGL" start="0x3430" end="0x343F" vendor="ANDROID" comment="Reserved for Pablo Ceballos (Bug 15874)"> @@ -886,6 +995,13 @@ <enum value="0x3471" name="EGL_IMPORT_IMPLICIT_SYNC_EXT"/> <enum value="0x3472" name="EGL_IMPORT_EXPLICIT_SYNC_EXT"/> </enums> + <enums namespace="EGL" start="0x3480" end="0x348F" vendor="ANGLE" comment="Reserved for Courtney Goeltzenleuchter - ANGLE (gitlab EGL bug 7)"> + <unused start="0x3480" end="0x348F"/> + </enums> + <enums namespace="EGL" start="0x3490" end="0x349F" vendor="EXT" comment="Reserved for Courtney Goeltzenleuchter - Android (gitlab EGL bug 69)"> + <enum value="0x3490" name="EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT"/> + <unused start="0x3491" end="0x349F"/> + </enums> <!-- Please remember that new enumerant allocations must be obtained by request to the Khronos API registrar (see comments at the top of this @@ -896,8 +1012,8 @@ <!-- Reservable for future use. To generate a new range, allocate multiples of 16 starting at the lowest available point in this block. --> - <enums namespace="EGL" start="0x3480" end="0x3FFF" vendor="KHR" comment="Reserved for future use"> - <unused start="0x3480" end="0x3FFF"/> + <enums namespace="EGL" start="0x34A0" end="0x3FFF" vendor="KHR" comment="Reserved for future use"> + <unused start="0x34A0" end="0x3FFF"/> </enums> <enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL."> @@ -929,6 +1045,12 @@ <param><ptype>EGLint</ptype> *<name>num_config</name></param> </command> <command> + <proto><ptype>EGLBoolean</ptype> <name>eglClientSignalSyncEXT</name></proto> + <param><ptype>EGLDisplay</ptype> <name>dpy</name></param> + <param><ptype>EGLSync</ptype> <name>sync</name></param> + <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param> + </command> + <command> <proto><ptype>EGLint</ptype> <name>eglClientWaitSync</name></proto> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLSync</ptype> <name>sync</name></param> @@ -1211,6 +1333,14 @@ <param><ptype>EGLNativeDisplayType</ptype> <name>display_id</name></param> </command> <command> + <proto>char *<name>eglGetDisplayDriverConfig</name></proto> + <param><ptype>EGLDisplay</ptype> <name>dpy</name></param> + </command> + <command> + <proto>const char *<name>eglGetDisplayDriverName</name></proto> + <param><ptype>EGLDisplay</ptype> <name>dpy</name></param> + </command> + <command> <proto><ptype>EGLint</ptype> <name>eglGetError</name></proto> </command> <command> @@ -1646,6 +1776,11 @@ <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param> </command> <command> + <proto><ptype>EGLBoolean</ptype> <name>eglStreamFlushNV</name></proto> + <param><ptype>EGLDisplay</ptype> <name>dpy</name></param> + <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param> + </command> + <command> <proto><ptype>EGLBoolean</ptype> <name>eglSurfaceAttrib</name></proto> <param><ptype>EGLDisplay</ptype> <name>dpy</name></param> <param><ptype>EGLSurface</ptype> <name>surface</name></param> @@ -1700,6 +1835,12 @@ <param><ptype>EGLSurface</ptype> <name>surface</name></param> </command> <command> + <proto><ptype>EGLBoolean</ptype> <name>eglUnsignalSyncEXT</name></proto> + <param><ptype>EGLDisplay</ptype> <name>dpy</name></param> + <param><ptype>EGLSync</ptype> <name>sync</name></param> + <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param> + </command> + <command> <proto><ptype>EGLBoolean</ptype> <name>eglWaitClient</name></proto> </command> <command> @@ -2103,6 +2244,7 @@ <enum name="EGL_RECORDABLE_ANDROID"/> </require> </extension> + <extension name="EGL_ANDROID_GLES_layers" supported="egl"/> <extension name="EGL_ANGLE_d3d_share_handle_client_buffer" supported="egl"> <require> <enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/> @@ -2145,6 +2287,13 @@ </require> </extension> <extension name="EGL_EXT_client_extensions" supported="egl"/> + <extension name="EGL_EXT_client_sync" supported="egl"> + <require> + <enum name="EGL_SYNC_CLIENT_EXT"/> + <enum name="EGL_SYNC_CLIENT_SIGNAL_EXT"/> + <command name="eglClientSignalSyncEXT"/> + </require> + </extension> <extension name="EGL_EXT_create_context_robustness" supported="egl"> <require> <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/> @@ -2167,6 +2316,7 @@ <extension name="EGL_EXT_device_drm" supported="egl"> <require> <enum name="EGL_DRM_DEVICE_FILE_EXT"/> + <enum name="EGL_DRM_MASTER_FD_EXT"/> </require> </extension> <extension name="EGL_EXT_device_enumeration" supported="egl"> @@ -2219,6 +2369,11 @@ <enum name="EGL_GL_COLORSPACE_DISPLAY_P3_EXT"/> </require> </extension> + <extension name="EGL_EXT_gl_colorspace_display_p3_passthrough" supported="egl"> + <require> + <enum name="EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT"/> + </require> + </extension> <extension name="EGL_EXT_image_dma_buf_import" supported="egl"> <require> <enum name="EGL_LINUX_DMA_BUF_EXT"/> @@ -2262,6 +2417,12 @@ <command name="eglQueryDmaBufModifiersEXT"/> </require> </extension> + <extension name="EGL_EXT_image_gl_colorspace" supported="egl"> + <require> + <enum name="EGL_GL_COLORSPACE"/> + <enum name="EGL_GL_COLORSPACE_DEFAULT_EXT"/> + </require> + </extension> <extension name="EGL_EXT_multiview_window" supported="egl"> <require> <enum name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/> @@ -2364,6 +2525,11 @@ <command name="eglSwapBuffersWithDamageEXT"/> </require> </extension> + <extension name="EGL_EXT_sync_reuse" supported="egl"> + <require> + <command name="eglUnsignalSyncEXT"/> + </require> + </extension> <extension name="EGL_EXT_yuv_surface" supported="egl"> <require> <enum name="EGL_YUV_ORDER_EXT"/> @@ -2800,6 +2966,12 @@ <enum name="EGL_PLATFORM_SURFACELESS_MESA"/> </require> </extension> + <extension name="EGL_MESA_query_driver" supported="egl"> + <require> + <command name="eglGetDisplayDriverConfig"/> + <command name="eglGetDisplayDriverName"/> + </require> + </extension> <extension name="EGL_NOK_swap_region" supported="egl"> <require> <command name="eglSwapBuffersRegionNOK"/> @@ -2874,6 +3046,11 @@ <command name="eglPostSubBufferNV"/> </require> </extension> + <extension name="EGL_NV_quadruple_buffer" supported="egl"> + <require> + <enum name="EGL_QUADRUPLE_BUFFER_NV"/> + </require> + </extension> <extension name="EGL_NV_robustness_video_memory_purge" supported="egl"> <require> <enum name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/> @@ -2914,6 +3091,12 @@ <enum name="EGL_STREAM_CROSS_SYSTEM_NV"/> </require> </extension> + <extension name="EGL_NV_stream_dma" supported="egl"> + <require> + <enum name="EGL_STREAM_DMA_NV"/> + <enum name="EGL_STREAM_DMA_SERVER_NV"/> + </require> + </extension> <extension name="EGL_NV_stream_fifo_next" supported="egl"> <require> <enum name="EGL_PENDING_FRAME_NV"/> @@ -2925,6 +3108,11 @@ <enum name="EGL_STREAM_FIFO_SYNCHRONOUS_NV"/> </require> </extension> + <extension name="EGL_NV_stream_flush" supported="egl"> + <require> + <command name="eglStreamFlushNV"/> + </require> + </extension> <extension name="EGL_NV_stream_frame_limits" supported="egl"> <require> <enum name="EGL_PRODUCER_MAX_FRAME_HINT_NV"/> @@ -3026,6 +3214,11 @@ <command name="eglGetSystemTimeNV"/> </require> </extension> + <extension name="EGL_NV_triple_buffer" supported="egl"> + <require> + <enum name="EGL_TRIPLE_BUFFER_NV"/> + </require> + </extension> <extension name="EGL_TIZEN_image_native_buffer" supported="egl"> <require> <enum name="EGL_NATIVE_BUFFER_TIZEN"/> @@ -3070,5 +3263,20 @@ <enum name="EGL_FRONT_BUFFER_EXT"/> </require> </extension> + <extension name="EGL_NV_stream_origin" supported="egl"> + <require> + <enum name="EGL_STREAM_FRAME_ORIGIN_X_NV"/> + <enum name="EGL_STREAM_FRAME_ORIGIN_Y_NV"/> + <enum name="EGL_STREAM_FRAME_MAJOR_AXIS_NV"/> + <enum name="EGL_CONSUMER_AUTO_ORIENTATION_NV"/> + <enum name="EGL_PRODUCER_AUTO_ORIENTATION_NV"/> + <enum name="EGL_LEFT_NV"/> + <enum name="EGL_RIGHT_NV"/> + <enum name="EGL_TOP_NV"/> + <enum name="EGL_BOTTOM_NV"/> + <enum name="EGL_X_AXIS_NV"/> + <enum name="EGL_Y_AXIS_NV"/> + </require> + </extension> </extensions> </registry> diff --git a/dist/libepoxy/registry/gl.xml b/dist/libepoxy/registry/gl.xml index 42fce3c1e..84fd26b79 100644 --- a/dist/libepoxy/registry/gl.xml +++ b/dist/libepoxy/registry/gl.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <registry> <comment> -Copyright (c) 2013-2017 The Khronos Group Inc. +Copyright (c) 2013-2018 The Khronos Group Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -27,60 +27,22 @@ can always be found in the Khronos Registry at <!-- SECTION: GL type definitions. --> <types> <!-- These are dependencies GL types require to be declared legally --> - <type name="stddef">#include <stddef.h></type> <type name="khrplatform">#include <KHR/khrplatform.h></type> - <type name="inttypes">#ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include <inttypes.h> -#elif defined(__sun__) || defined(__digital__) -#include <inttypes.h> -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include <inttypes.h> -#elif defined(__SCO__) || defined(__USLC__) -#include <stdint.h> -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include <stdint.h> -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include <inttypes.h> -#endif -#endif</type> <!-- These are actual GL types --> <type>typedef unsigned int <name>GLenum</name>;</type> <type>typedef unsigned char <name>GLboolean</name>;</type> <type>typedef unsigned int <name>GLbitfield</name>;</type> <type comment="Not an actual GL type, though used in headers in the past">typedef void <name>GLvoid</name>;</type> - <type>typedef signed char <name>GLbyte</name>;</type> - <type>typedef short <name>GLshort</name>;</type> + <type requires="khrplatform">typedef khronos_int8_t <name>GLbyte</name>;</type> + <type requires="khrplatform">typedef khronos_uint8_t <name>GLubyte</name>;</type> + <type requires="khrplatform">typedef khronos_int16_t <name>GLshort</name>;</type> + <type requires="khrplatform">typedef khronos_uint16_t <name>GLushort</name>;</type> <type>typedef int <name>GLint</name>;</type> - <type>typedef int <name>GLclampx</name>;</type> - <type>typedef unsigned char <name>GLubyte</name>;</type> - <type>typedef unsigned short <name>GLushort</name>;</type> <type>typedef unsigned int <name>GLuint</name>;</type> + <type requires="khrplatform">typedef khronos_int32_t <name>GLclampx</name>;</type> <type>typedef int <name>GLsizei</name>;</type> - <type>typedef float <name>GLfloat</name>;</type> - <type>typedef float <name>GLclampf</name>;</type> + <type requires="khrplatform">typedef khronos_float_t <name>GLfloat</name>;</type> + <type requires="khrplatform">typedef khronos_float_t <name>GLclampf</name>;</type> <type>typedef double <name>GLdouble</name>;</type> <type>typedef double <name>GLclampd</name>;</type> <type>typedef void *<name>GLeglClientBufferEXT</name>;</type> @@ -92,53 +54,24 @@ typedef void *GLhandleARB; #else typedef unsigned int GLhandleARB; #endif</type> - <type>typedef unsigned short <name>GLhalfARB</name>;</type> - <type>typedef unsigned short <name>GLhalf</name>;</type> - <type comment="Must be 32 bits">typedef GLint <name>GLfixed</name>;</type> - <type requires="stddef">typedef ptrdiff_t <name>GLintptr</name>;</type> - <type requires="stddef">typedef ptrdiff_t <name>GLsizeiptr</name>;</type> - <type requires="inttypes">typedef int64_t <name>GLint64</name>;</type> - <type requires="inttypes">typedef uint64_t <name>GLuint64</name>;</type> - <type requires="stddef">typedef ptrdiff_t <name>GLintptrARB</name>;</type> - <type requires="stddef">typedef ptrdiff_t <name>GLsizeiptrARB</name>;</type> - <type requires="inttypes">typedef int64_t <name>GLint64EXT</name>;</type> - <type requires="inttypes">typedef uint64_t <name>GLuint64EXT</name>;</type> + <type requires="khrplatform">typedef khronos_uint16_t <name>GLhalf</name>;</type> + <type requires="khrplatform">typedef khronos_uint16_t <name>GLhalfARB</name>;</type> + <type requires="khrplatform">typedef khronos_int32_t <name>GLfixed</name>;</type> + <type requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type> + <type requires="khrplatform">typedef khronos_intptr_t <name>GLintptrARB</name>;</type> + <type requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type> + <type requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptrARB</name>;</type> + <type requires="khrplatform">typedef khronos_int64_t <name>GLint64</name>;</type> + <type requires="khrplatform">typedef khronos_int64_t <name>GLint64EXT</name>;</type> + <type requires="khrplatform">typedef khronos_uint64_t <name>GLuint64</name>;</type> + <type requires="khrplatform">typedef khronos_uint64_t <name>GLuint64EXT</name>;</type> <type>typedef struct __GLsync *<name>GLsync</name>;</type> <type comment="compatible with OpenCL cl_context"><name>struct _cl_context</name>;</type> <type comment="compatible with OpenCL cl_event"><name>struct _cl_event</name>;</type> <type>typedef void (<apientry/> *<name>GLDEBUGPROC</name>)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);</type> <type>typedef void (<apientry/> *<name>GLDEBUGPROCARB</name>)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);</type> <type>typedef void (<apientry/> *<name>GLDEBUGPROCKHR</name>)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);</type> - <!-- GLES 1 types --> - <type api="gles1" requires="khrplatform">typedef khronos_int32_t <name>GLclampx</name>;</type> - <!-- GLES 1/2 types (tagged for GLES 1) --> - <type api="gles1" requires="khrplatform">typedef khronos_int8_t <name>GLbyte</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_uint8_t <name>GLubyte</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_float_t <name>GLfloat</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_float_t <name>GLclampf</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_int32_t <name>GLfixed</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_int64_t <name>GLint64</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_uint64_t <name>GLuint64</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type> - <type api="gles1" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type> - <!-- GLES 1/2 types (tagged for GLES 2 - attribute syntax is limited) --> - <type api="gles2" requires="khrplatform">typedef khronos_int8_t <name>GLbyte</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_uint8_t <name>GLubyte</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_float_t <name>GLfloat</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_float_t <name>GLclampf</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_int32_t <name>GLfixed</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_int64_t <name>GLint64</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_uint64_t <name>GLuint64</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_int64_t <name>GLint64EXT</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_uint64_t <name>GLuint64EXT</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type> - <type api="gles2" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type> - <!-- GLES 2 types (none currently) --> - <!-- GLSC 2 types --> - <type api="glsc2" requires="khrplatform">typedef khronos_uint8_t <name>GLubyte</name>;</type> - <type api="glsc2" requires="khrplatform">typedef khronos_float_t <name>GLfloat</name>;</type> - <type api="glsc2" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type> - <type api="glsc2" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type> + <!-- Vendor extension types --> <type>typedef void (<apientry/> *<name>GLDEBUGPROCAMD</name>)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);</type> <type>typedef unsigned short <name>GLhalfNV</name>;</type> @@ -149,6 +82,636 @@ typedef unsigned int GLhandleARB; <!-- SECTION: GL parameter class type definitions. --> <groups> + <group name="EvalMapsModeNV"> + <enum name="GL_FILL_NV"/> + </group> + + <group name="ProgramTarget"> + <enum name="GL_TEXT_FRAGMENT_SHADER"/> + </group> + + <group name="CombinerStageNV"> + <enum name="GL_COMBINER0_NV"/> + <enum name="GL_COMBINER1_NV"/> + <enum name="GL_COMBINER2_NV"/> + <enum name="GL_COMBINER3_NV"/> + <enum name="GL_COMBINER4_NV"/> + <enum name="GL_COMBINER5_NV"/> + <enum name="GL_COMBINER6_NV"/> + <enum name="GL_COMBINER7_NV"/> + </group> + + <group name="CombinerPortionNV"> + <enum name="GL_RGB_NV"/> + <enum name="GL_ALPHA_NV"/> + </group> + + <group name="MapTypeNV"> + <enum name="GL_FLOAT_NV"/> + <enum name="GL_DOUBLE_NV"/> + </group> + + <group name="ScalarType"> + <enum name="GL_UNSIGNED_BYTE"/> + <enum name="GL_UNSIGNED_SHORT"/> + <enum name="GL_UNSIGNED_INT"/> + </group> + + <group name="VertexShaderTextureUnitParameter"> + <enum name="GL_CURRENT_TEXTURE_COORDS"/> + <enum name="GL_TEXTURE_MATRIX"/> + </group> + + <group name="ProgramStringProperty"> + <enum name="GL_PROGRAM_STRING"/> + </group> + + <group name="ProgramFormat"> + <enum name="GL_PROGRAM_FORMAT_ASCII"/> + </group> + + <group name="PathColorFormat"> + <enum name="GL_NONE"/> + <enum name="GL_LUMINANCE"/> + <enum name="GL_ALPHA"/> + <enum name="GL_INTENSITY"/> + <enum name="GL_LUMINANCE_ALPHA"/> + <enum name="GL_RGB"/> + <enum name="GL_RGBA"/> + </group> + + <group name="ReplacementCodeTypeSUN"> + <enum name="GL_UNSIGNED_BYTE_SUN"/> + <enum name="GL_UNSIGNED_SHORT_SUN"/> + <enum name="GL_UNSIGNED_INT_SUN"/> + </group> + + <group name="SecondaryColorPointerTypeIBM"> + <enum name="GL_SHORT_IBM"/> + <enum name="GL_INT_IBM"/> + <enum name="GL_FLOAT_IBM"/> + <enum name="GL_DOUBLE_IBM"/> + </group> + + <group name="FragmentLightNameSGIX"> + <enum name="GL_FRAGMENT_LIGHT0_SGIX"/> + <enum name="GL_FRAGMENT_LIGHT1_SGIX"/> + <enum name="GL_FRAGMENT_LIGHT2_SGIX"/> + <enum name="GL_FRAGMENT_LIGHT3_SGIX"/> + <enum name="GL_FRAGMENT_LIGHT4_SGIX"/> + <enum name="GL_FRAGMENT_LIGHT5_SGIX"/> + <enum name="GL_FRAGMENT_LIGHT6_SGIX"/> + <enum name="GL_FRAGMENT_LIGHT7_SGIX"/> + </group> + + <group name="FragmentLightParameterSGIX"> + <enum name="GL_SPOT_EXPONENT_SGIX"/> + <enum name="GL_SPOT_CUTOFF_SGIX"/> + <enum name="GL_CONSTANT_ATTENUATION_SGIX"/> + <enum name="GL_LINEAR_ATTENUATION_SGIX"/> + <enum name="GL_QUADRATIC_ATTENUATION_SGIX"/> + <enum name="GL_AMBIENT_SGIX"/> + <enum name="GL_DIFFUSE_SGIX"/> + <enum name="GL_SPECULAR_SGIX"/> + <enum name="GL_POSITION_SGIX"/> + <enum name="GL_SPOT_DIRECTION_SGIX"/> + <enum name="GL_SPOT_EXPONENT_SGIX"/> + <enum name="GL_SPOT_CUTOFF_SGIX"/> + <enum name="GL_CONSTANT_ATTENUATION_SGIX"/> + <enum name="GL_LINEAR_ATTENUATION_SGIX"/> + <enum name="GL_QUADRATIC_ATTENUATION_SGIX"/> + </group> + + <group name="ElementPointerTypeATI"> + <enum name="GL_UNSIGNED_BYTE_ATI"/> + <enum name="GL_UNSIGNED_SHORT_ATI"/> + <enum name="GL_UNSIGNED_INT_ATI"/> + </group> + + <group name="MatrixIndexPointerTypeARB"> + <enum name="GL_UNSIGNED_BYTE_ARB"/> + <enum name="GL_UNSIGNED_SHORT_ARB"/> + <enum name="GL_UNSIGNED_INT_ARB"/> + </group> + + <group name="WeightPointerTypeARB"> + <enum name="GL_BYTE_ARB"/> + <enum name="GL_UNSIGNED_BYTE_ARB"/> + <enum name="GL_SHORT_ARB"/> + <enum name="GL_UNSIGNED_SHORT_ARB"/> + <enum name="GL_INT_ARB"/> + <enum name="GL_UNSIGNED_INT_ARB"/> + <enum name="GL_FLOAT_ARB"/> + <enum name="GL_DOUBLE_ARB"/> + </group> + + <group name="CullParameterEXT"> + <enum name="GL_CULL_VERTEX_EYE_POSITION_EXT"/> + <enum name="GL_CULL_VERTEX_OBJECT_POSITION_EXT"/> + </group> + + <group name="DataTypeEXT"> + <enum name="GL_SCALAR_EXT"/> + <enum name="GL_VECTOR_EXT"/> + <enum name="GL_MATRIX_EXT"/> + </group> + + <group name="ParameterRangeEXT"> + <enum name="GL_NORMALIZED_RANGE_EXT"/> + <enum name="GL_FULL_RANGE_EXT"/> + </group> + + <group name="GetVariantValueEXT"> + <enum name="GL_VARIANT_VALUE_EXT"/> + <enum name="GL_VARIANT_DATATYPE_EXT"/> + <enum name="GL_VARIANT_ARRAY_STRIDE_EXT"/> + <enum name="GL_VARIANT_ARRAY_TYPE_EXT"/> + </group> + + <group name="IndexFunctionEXT"> + <enum name="GL_NEVER_EXT"/> + <enum name="GL_ALWAYS_EXT"/> + <enum name="GL_LESS_EXT"/> + <enum name="GL_LEQUAL_EXT"/> + <enum name="GL_EQUAL_EXT"/> + <enum name="GL_GEQUAL_EXT"/> + <enum name="GL_GREATER_EXT"/> + <enum name="GL_NOTEQUAL_EXT"/> + </group> + + <group name="IndexMaterialParameterEXT"> + <enum name="GL_INDEX_OFFSET"/> + </group> + + <group name="VariantCapEXT"> + <enum name="GL_VARIANT_ARRAY_EXT"/> + </group> + + <group name="PixelTransformTargetEXT"> + <enum name="GL_PIXEL_TRANSFORM_2D_EXT"/> + </group> + + <group name="PixelTransformPNameEXT"> + <enum name="GL_PIXEL_MAG_FILTER_EXT"/> + <enum name="GL_PIXEL_MIN_FILTER_EXT"/> + <enum name="GL_PIXEL_CUBIC_WEIGHT_EXT"/> + </group> + + <group name="VertexWeightPointerTypeEXT"> + <enum name="GL_FLOAT_EXT"/> + </group> + + <group name="VertexShaderWriteMaskEXT"> + <enum name="GL_TRUE_EXT"/> + <enum name="GL_FALSE_EXT"/> + </group> + + <group name="CombinerComponentUsageNV"> + <enum name="GL_RGB_NV"/> + <enum name="GL_ALPHA_NV"/> + <enum name="GL_BLUE_NV"/> + </group> + + <group name="TangentPointerTypeEXT"> + <enum name="GL_BYTE_EXT"/> + <enum name="GL_SHORT_EXT"/> + <enum name="GL_FLOAT_EXT"/> + <enum name="GL_DOUBLE_EXT"/> + </group> + + <group name="BinormalPointerTypeEXT"> + <enum name="GL_BYTE_EXT"/> + <enum name="GL_SHORT_EXT"/> + <enum name="GL_FLOAT_EXT"/> + <enum name="GL_DOUBLE_EXT"/> + </group> + + <group name="TextureNormalModeEXT"> + <enum name="GL_PERTURB_EXT"/> + </group> + + <group name="LightTexturePNameEXT"> + <enum name="GL_ATTENUATION_EXT"/> + <enum name="GL_SHADOW_ATTENUATION_EXT"/> + </group> + + <group name="VertexShaderCoordOutEXT"> + <enum name="GL_X_EXT"/> + <enum name="GL_Y_EXT"/> + <enum name="GL_Z_EXT"/> + <enum name="GL_W_EXT"/> + <enum name="GL_NEGATIVE_X_EXT"/> + <enum name="GL_NEGATIVE_Y_EXT"/> + <enum name="GL_NEGATIVE_Z_EXT"/> + <enum name="GL_NEGATIVE_W_EXT"/> + <enum name="GL_ZERO_EXT"/> + <enum name="GL_ONE_EXT"/> + <enum name="GL_NEGATIVE_ONE_EXT"/> + </group> + + <group name="SamplePatternEXT"> + <enum name="GL_1PASS_EXT"/> + <enum name="GL_2PASS_0_EXT"/> + <enum name="GL_2PASS_1_EXT"/> + <enum name="GL_4PASS_0_EXT"/> + <enum name="GL_4PASS_1_EXT"/> + <enum name="GL_4PASS_2_EXT"/> + <enum name="GL_4PASS_3_EXT"/> + </group> + + <group name="VertexShaderStorageTypeEXT"> + <enum name="GL_VARIANT_EXT"/> + <enum name="GL_INVARIANT_EXT"/> + <enum name="GL_LOCAL_CONSTANT_EXT"/> + <enum name="GL_LOCAL_EXT"/> + </group> + + <group name="VertexShaderParameterEXT"> + <enum name="GL_CURRENT_VERTEX_EXT"/> + <enum name="GL_MVP_MATRIX_EXT"/> + </group> + + <group name="LightTextureModeEXT"> + <enum name="GL_FRAGMENT_MATERIAL_EXT"/> + <enum name="GL_FRAGMENT_NORMAL_EXT"/> + <enum name="GL_FRAGMENT_DEPTH_EXT"/> + <enum name="GL_FRAGMENT_COLOR_EXT"/> + </group> + + <group name="VertexShaderOpEXT"> + <enum name="GL_OP_INDEX_EXT"/> + <enum name="GL_OP_NEGATE_EXT"/> + <enum name="GL_OP_DOT3_EXT"/> + <enum name="GL_OP_DOT4_EXT"/> + <enum name="GL_OP_MUL_EXT"/> + <enum name="GL_OP_ADD_EXT"/> + <enum name="GL_OP_MADD_EXT"/> + <enum name="GL_OP_FRAC_EXT"/> + <enum name="GL_OP_MAX_EXT"/> + <enum name="GL_OP_MIN_EXT"/> + <enum name="GL_OP_SET_GE_EXT"/> + <enum name="GL_OP_SET_LT_EXT"/> + <enum name="GL_OP_CLAMP_EXT"/> + <enum name="GL_OP_FLOOR_EXT"/> + <enum name="GL_OP_ROUND_EXT"/> + <enum name="GL_OP_EXP_BASE_2_EXT"/> + <enum name="GL_OP_LOG_BASE_2_EXT"/> + <enum name="GL_OP_POWER_EXT"/> + <enum name="GL_OP_RECIP_EXT"/> + <enum name="GL_OP_RECIP_SQRT_EXT"/> + <enum name="GL_OP_SUB_EXT"/> + <enum name="GL_OP_CROSS_PRODUCT_EXT"/> + <enum name="GL_OP_MULTIPLY_MATRIX_EXT"/> + <enum name="GL_OP_MOV_EXT"/> + </group> + + <group name="ProgramFormatARB"> + <enum name="GL_PROGRAM_FORMAT_ASCII_ARB"/> + </group> + + <group name="PointParameterNameARB"> + <enum name="GL_POINT_SIZE_MIN_EXT"/> + <enum name="GL_POINT_SIZE_MAX_EXT"/> + <enum name="GL_POINT_FADE_THRESHOLD_SIZE_EXT"/> + <enum name="GL_POINT_FADE_THRESHOLD_SIZE"/> + </group> + + <group name="VertexAttribPropertyARB"> + <enum name="GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_ENABLED"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_SIZE"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_STRIDE"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_TYPE"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_INTEGER"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_LONG"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_DIVISOR"/> + <enum name="GL_VERTEX_ATTRIB_BINDING"/> + <enum name="GL_VERTEX_ATTRIB_RELATIVE_OFFSET"/> + <enum name="GL_CURRENT_VERTEX_ATTRIB"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT"/> + </group> + + <group name="VertexAttribPointerPropertyARB"> + <enum name="GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_POINTER"/> + </group> + + <group name="ProgramStringPropertyARB"> + <enum name="GL_PROGRAM_STRING_ARB"/> + </group> + + <group name="BufferPointerNameARB"> + <enum name="GL_BUFFER_MAP_POINTER_ARB"/> + <enum name="GL_BUFFER_MAP_POINTER"/> + </group> + + <group name="BufferPNameARB"> + <enum name="GL_BUFFER_SIZE_ARB"/> + <enum name="GL_BUFFER_USAGE_ARB"/> + <enum name="GL_BUFFER_ACCESS_ARB"/> + <enum name="GL_BUFFER_MAPPED_ARB"/> + <enum name="GL_BUFFER_SIZE"/> + <enum name="GL_BUFFER_USAGE"/> + <enum name="GL_BUFFER_ACCESS"/> + <enum name="GL_BUFFER_ACCESS_FLAGS"/> + <enum name="GL_BUFFER_IMMUTABLE_STORAGE"/> + <enum name="GL_BUFFER_MAPPED"/> + <enum name="GL_BUFFER_MAP_OFFSET"/> + <enum name="GL_BUFFER_MAP_LENGTH"/> + <enum name="GL_BUFFER_STORAGE_FLAGS"/> + </group> + + <group name="ClampColorModeARB"> + <enum name="GL_FIXED_ONLY_ARB"/> + <enum name="GL_FALSE"/> + <enum name="GL_TRUE"/> + <enum name="GL_TRUE"/> + <enum name="GL_FALSE"/> + <enum name="GL_FIXED_ONLY"/> + </group> + + <group name="ClampColorTargetARB"> + <enum name="GL_CLAMP_VERTEX_COLOR_ARB"/> + <enum name="GL_CLAMP_FRAGMENT_COLOR_ARB"/> + <enum name="GL_CLAMP_READ_COLOR_ARB"/> + <enum name="GL_CLAMP_READ_COLOR"/> + </group> + + <group name="ProgramTargetARB"> + <enum name="GL_TEXT_FRAGMENT_SHADER_ATI"/> + </group> + + <group name="VertexArrayPNameAPPLE"> + <enum name="GL_STORAGE_CLIENT_APPLE"/> + <enum name="GL_STORAGE_CACHED_APPLE"/> + <enum name="GL_STORAGE_SHARED_APPLE"/> + </group> + + <group name="ObjectTypeAPPLE"> + <enum name="GL_DRAW_PIXELS_APPLE"/> + <enum name="GL_FENCE_APPLE"/> + </group> + + <group name="PreserveModeATI"> + <enum name="GL_PRESERVE_ATI"/> + <enum name="GL_DISCARD_ATI"/> + </group> + + <group name="TexBumpParameterATI"> + <enum name="GL_BUMP_ROT_MATRIX_ATI"/> + </group> + + <group name="SwizzleOpATI"> + <enum name="GL_SWIZZLE_STR_ATI"/> + <enum name="GL_SWIZZLE_STQ_ATI"/> + <enum name="GL_SWIZZLE_STR_DR_ATI"/> + <enum name="GL_SWIZZLE_STQ_DQ_ATI"/> + </group> + + <group name="PNTrianglesPNameATI"> + <enum name="GL_PN_TRIANGLES_POINT_MODE_ATI"/> + <enum name="GL_PN_TRIANGLES_NORMAL_MODE_ATI"/> + <enum name="GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI"/> + </group> + + <group name="ArrayObjectUsageATI"> + <enum name="GL_STATIC_ATI"/> + <enum name="GL_DYNAMIC_ATI"/> + </group> + + <group name="GetTexBumpParameterATI"> + <enum name="GL_BUMP_ROT_MATRIX_ATI"/> + <enum name="GL_BUMP_ROT_MATRIX_SIZE_ATI"/> + <enum name="GL_BUMP_NUM_TEX_UNITS_ATI"/> + <enum name="GL_BUMP_TEX_UNITS_ATI"/> + </group> + + <group name="ArrayObjectPNameATI"> + <enum name="GL_OBJECT_BUFFER_SIZE_ATI"/> + <enum name="GL_OBJECT_BUFFER_USAGE_ATI"/> + </group> + + <group name="DrawBufferModeATI"> + <enum name="GL_COLOR_ATTACHMENT0_NV"/> + <enum name="GL_COLOR_ATTACHMENT1_NV"/> + <enum name="GL_COLOR_ATTACHMENT2_NV"/> + <enum name="GL_COLOR_ATTACHMENT3_NV"/> + <enum name="GL_COLOR_ATTACHMENT4_NV"/> + <enum name="GL_COLOR_ATTACHMENT5_NV"/> + <enum name="GL_COLOR_ATTACHMENT6_NV"/> + <enum name="GL_COLOR_ATTACHMENT7_NV"/> + <enum name="GL_COLOR_ATTACHMENT8_NV"/> + <enum name="GL_COLOR_ATTACHMENT9_NV"/> + <enum name="GL_COLOR_ATTACHMENT10_NV"/> + <enum name="GL_COLOR_ATTACHMENT11_NV"/> + <enum name="GL_COLOR_ATTACHMENT12_NV"/> + <enum name="GL_COLOR_ATTACHMENT13_NV"/> + <enum name="GL_COLOR_ATTACHMENT14_NV"/> + <enum name="GL_COLOR_ATTACHMENT15_NV"/> + </group> + + <group name="VertexStreamATI"> + <enum name="GL_VERTEX_STREAM0_ATI"/> + <enum name="GL_VERTEX_STREAM1_ATI"/> + <enum name="GL_VERTEX_STREAM2_ATI"/> + <enum name="GL_VERTEX_STREAM3_ATI"/> + <enum name="GL_VERTEX_STREAM4_ATI"/> + <enum name="GL_VERTEX_STREAM5_ATI"/> + <enum name="GL_VERTEX_STREAM6_ATI"/> + <enum name="GL_VERTEX_STREAM7_ATI"/> + </group> + + <group name="SpriteParameterNameSGIX"> + <enum name="GL_SPRITE_MODE_SGIX"/> + </group> + + <group name="PixelTexGenModeSGIX"> + <enum name="GL_PIXEL_TEX_GEN_Q_CEILING_SGIX"/> + <enum name="GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX"/> + <enum name="GL_PIXEL_TEX_GEN_Q_ROUND_SGIX"/> + <enum name="GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX"/> + <enum name="GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX"/> + </group> + + <group name="IglooFunctionSelectSGIX"> + <enum name="GL_IGLOO_FULLSCREEN_SGIX"/> + <enum name="GL_IGLOO_VIEWPORT_OFFSET_SGIX"/> + <enum name="GL_IGLOO_SWAPTMESH_SGIX"/> + <enum name="GL_IGLOO_COLORNORMAL_SGIX"/> + <enum name="GL_IGLOO_IRISGL_MODE_SGIX"/> + <enum name="GL_IGLOO_LMC_COLOR_SGIX"/> + <enum name="GL_IGLOO_TMESHMODE_SGIX"/> + </group> + + <group name="HintTargetPGI"> + <enum name="GL_VERTEX_DATA_HINT_PGI"/> + <enum name="GL_VERTEX_CONSISTENT_HINT_PGI"/> + <enum name="GL_MATERIAL_SIDE_HINT_PGI"/> + <enum name="GL_MAX_VERTEX_HINT_PGI"/> + </group> + + <group name="ImageTransformPNameHP"> + <enum name="GL_IMAGE_SCALE_X_HP"/> + <enum name="GL_IMAGE_SCALE_Y_HP"/> + <enum name="GL_IMAGE_TRANSLATE_X_HP"/> + <enum name="GL_IMAGE_TRANSLATE_Y_HP"/> + <enum name="GL_IMAGE_ROTATE_ANGLE_HP"/> + <enum name="GL_IMAGE_ROTATE_ORIGIN_X_HP"/> + <enum name="GL_IMAGE_ROTATE_ORIGIN_Y_HP"/> + <enum name="GL_IMAGE_MAG_FILTER_HP"/> + <enum name="GL_IMAGE_MIN_FILTER_HP"/> + <enum name="GL_IMAGE_CUBIC_WEIGHT_HP"/> + </group> + + <group name="ImageTransformTargetHP"> + <enum name="GL_IMAGE_TRANSFORM_2D_HP"/> + </group> + + <group name="TextureFilterSGIS"> + <enum name="GL_FILTER4_SGIS"/> + </group> + + <group name="OcclusionQueryParameterNameNV"> + <enum name="GL_PIXEL_COUNT_NV"/> + <enum name="GL_PIXEL_COUNT_AVAILABLE_NV"/> + </group> + + <group name="GetMultisamplePNameNV"> + <enum name="GL_SAMPLE_POSITION"/> + <enum name="GL_SAMPLE_LOCATION_ARB"/> + <enum name="GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB"/> + </group> + + <group name="MapParameterNV"> + <enum name="GL_MAP_TESSELLATION_NV"/> + </group> + + <group name="MapAttribParameterNV"> + <enum name="GL_MAP_ATTRIB_U_ORDER_NV"/> + <enum name="GL_MAP_ATTRIB_V_ORDER_NV"/> + </group> + + <group name="FenceParameterNameNV"> + <enum name="GL_FENCE_STATUS_NV"/> + <enum name="GL_FENCE_CONDITION_NV"/> + </group> + + <group name="CombinerParameterNV"> + <enum name="GL_COMBINER_INPUT_NV"/> + <enum name="GL_COMBINER_MAPPING_NV"/> + <enum name="GL_COMBINER_COMPONENT_USAGE_NV"/> + </group> + + <group name="CombinerBiasNV"> + <enum name="GL_NONE"/> + <enum name="GL_BIAS_BY_NEGATIVE_ONE_HALF_NV"/> + </group> + + <group name="CombinerScaleNV"> + <enum name="GL_NONE"/> + <enum name="GL_SCALE_BY_TWO_NV"/> + <enum name="GL_SCALE_BY_FOUR_NV"/> + <enum name="GL_SCALE_BY_ONE_HALF_NV"/> + </group> + + <group name="CombinerMappingNV"> + <enum name="GL_UNSIGNED_IDENTITY_NV"/> + <enum name="GL_UNSIGNED_INVERT_NV"/> + <enum name="GL_EXPAND_NORMAL_NV"/> + <enum name="GL_EXPAND_NEGATE_NV"/> + <enum name="GL_HALF_BIAS_NORMAL_NV"/> + <enum name="GL_HALF_BIAS_NEGATE_NV"/> + <enum name="GL_SIGNED_IDENTITY_NV"/> + <enum name="GL_SIGNED_NEGATE_NV"/> + </group> + + <group name="CombinerRegisterNV"> + <enum name="GL_DISCARD_NV"/> + <enum name="GL_PRIMARY_COLOR_NV"/> + <enum name="GL_SECONDARY_COLOR_NV"/> + <enum name="GL_SPARE0_NV"/> + <enum name="GL_SPARE1_NV"/> + <enum name="GL_TEXTURE0_ARB"/> + <enum name="GL_TEXTURE1_ARB"/> + </group> + + <group name="CombinerVariableNV"> + <enum name="GL_VARIABLE_A_NV"/> + <enum name="GL_VARIABLE_B_NV"/> + <enum name="GL_VARIABLE_C_NV"/> + <enum name="GL_VARIABLE_D_NV"/> + <enum name="GL_VARIABLE_E_NV"/> + <enum name="GL_VARIABLE_F_NV"/> + <enum name="GL_VARIABLE_G_NV"/> + </group> + + <group name="PixelDataRangeTargetNV"> + <enum name="GL_WRITE_PIXEL_DATA_RANGE_NV"/> + <enum name="GL_READ_PIXEL_DATA_RANGE_NV"/> + </group> + + <group name="EvalTargetNV"> + <enum name="GL_EVAL_2D_NV"/> + <enum name="GL_EVAL_TRIANGULAR_2D_NV"/> + </group> + + <group name="VertexAttribEnumNV"> + <enum name="GL_PROGRAM_PARAMETER_NV"/> + </group> + + <group name="FenceConditionNV"> + <enum name="GL_ALL_COMPLETED_NV"/> + </group> + + <group name="PathCoordType"> + <enum name="GL_CLOSE_PATH_NV"/> + <enum name="GL_MOVE_TO_NV"/> + <enum name="GL_RELATIVE_MOVE_TO_NV"/> + <enum name="GL_LINE_TO_NV"/> + <enum name="GL_RELATIVE_LINE_TO_NV"/> + <enum name="GL_HORIZONTAL_LINE_TO_NV"/> + <enum name="GL_RELATIVE_HORIZONTAL_LINE_TO_NV"/> + <enum name="GL_VERTICAL_LINE_TO_NV"/> + <enum name="GL_RELATIVE_VERTICAL_LINE_TO_NV"/> + <enum name="GL_QUADRATIC_CURVE_TO_NV"/> + <enum name="GL_RELATIVE_QUADRATIC_CURVE_TO_NV"/> + <enum name="GL_CUBIC_CURVE_TO_NV"/> + <enum name="GL_RELATIVE_CUBIC_CURVE_TO_NV"/> + <enum name="GL_SMOOTH_QUADRATIC_CURVE_TO_NV"/> + <enum name="GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV"/> + <enum name="GL_SMOOTH_CUBIC_CURVE_TO_NV"/> + <enum name="GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV"/> + <enum name="GL_SMALL_CCW_ARC_TO_NV"/> + <enum name="GL_RELATIVE_SMALL_CCW_ARC_TO_NV"/> + <enum name="GL_SMALL_CW_ARC_TO_NV"/> + <enum name="GL_RELATIVE_SMALL_CW_ARC_TO_NV"/> + <enum name="GL_LARGE_CCW_ARC_TO_NV"/> + <enum name="GL_RELATIVE_LARGE_CCW_ARC_TO_NV"/> + <enum name="GL_LARGE_CW_ARC_TO_NV"/> + <enum name="GL_RELATIVE_LARGE_CW_ARC_TO_NV"/> + <enum name="GL_CONIC_CURVE_TO_NV"/> + <enum name="GL_RELATIVE_CONIC_CURVE_TO_NV"/> + <enum name="GL_ROUNDED_RECT_NV"/> + <enum name="GL_RELATIVE_ROUNDED_RECT_NV"/> + <enum name="GL_ROUNDED_RECT2_NV"/> + <enum name="GL_RELATIVE_ROUNDED_RECT2_NV"/> + <enum name="GL_ROUNDED_RECT4_NV"/> + <enum name="GL_RELATIVE_ROUNDED_RECT4_NV"/> + <enum name="GL_ROUNDED_RECT8_NV"/> + <enum name="GL_RELATIVE_ROUNDED_RECT8_NV"/> + <enum name="GL_RESTART_PATH_NV"/> + <enum name="GL_DUP_FIRST_CUBIC_CURVE_TO_NV"/> + <enum name="GL_DUP_LAST_CUBIC_CURVE_TO_NV"/> + <enum name="GL_RECT_NV"/> + <enum name="GL_RELATIVE_RECT_NV"/> + <enum name="GL_CIRCULAR_CCW_ARC_TO_NV"/> + <enum name="GL_CIRCULAR_CW_ARC_TO_NV"/> + <enum name="GL_CIRCULAR_TANGENT_ARC_TO_NV"/> + <enum name="GL_ARC_TO_NV"/> + <enum name="GL_RELATIVE_ARC_TO_NV"/> + </group> + <group name="AccumOp"> <enum name="GL_ACCUM"/> <enum name="GL_LOAD"/> @@ -199,11 +762,15 @@ typedef unsigned int GLhandleARB; <group name="BlendEquationModeEXT"> <enum name="GL_ALPHA_MAX_SGIX"/> <enum name="GL_ALPHA_MIN_SGIX"/> + <enum name="GL_FUNC_ADD"/> <enum name="GL_FUNC_ADD_EXT"/> + <enum name="GL_FUNC_REVERSE_SUBTRACT"/> <enum name="GL_FUNC_REVERSE_SUBTRACT_EXT"/> + <enum name="GL_FUNC_SUBTRACT"/> <enum name="GL_FUNC_SUBTRACT_EXT"/> - <enum name="GL_LOGIC_OP"/> + <enum name="GL_MAX"/> <enum name="GL_MAX_EXT"/> + <enum name="GL_MIN"/> <enum name="GL_MIN_EXT"/> <enum name="GL_FUNC_ADD"/> <enum name="GL_FUNC_REVERSE_SUBTRACT"/> @@ -265,6 +832,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE_BUFFER" /> <enum name="GL_TRANSFORM_FEEDBACK_BUFFER" /> <enum name="GL_UNIFORM_BUFFER" /> + <enum name="GL_PARAMETER_BUFFER" /> </group> <group name="BufferUsageARB"> @@ -285,23 +853,22 @@ typedef unsigned int GLhandleARB; <enum name="GL_READ_WRITE"/> </group> - <group name="BufferAccessMask"> + <group name="BufferStorageMask"> + <enum name="GL_CLIENT_STORAGE_BIT"/> + <enum name="GL_CLIENT_STORAGE_BIT_EXT"/> + <enum name="GL_DYNAMIC_STORAGE_BIT"/> + <enum name="GL_DYNAMIC_STORAGE_BIT_EXT"/> <enum name="GL_MAP_COHERENT_BIT"/> <enum name="GL_MAP_COHERENT_BIT_EXT"/> - <enum name="GL_MAP_FLUSH_EXPLICIT_BIT"/> - <enum name="GL_MAP_FLUSH_EXPLICIT_BIT_EXT"/> - <enum name="GL_MAP_INVALIDATE_BUFFER_BIT"/> - <enum name="GL_MAP_INVALIDATE_BUFFER_BIT_EXT"/> - <enum name="GL_MAP_INVALIDATE_RANGE_BIT"/> - <enum name="GL_MAP_INVALIDATE_RANGE_BIT_EXT"/> <enum name="GL_MAP_PERSISTENT_BIT"/> <enum name="GL_MAP_PERSISTENT_BIT_EXT"/> <enum name="GL_MAP_READ_BIT"/> <enum name="GL_MAP_READ_BIT_EXT"/> - <enum name="GL_MAP_UNSYNCHRONIZED_BIT"/> - <enum name="GL_MAP_UNSYNCHRONIZED_BIT_EXT"/> <enum name="GL_MAP_WRITE_BIT"/> <enum name="GL_MAP_WRITE_BIT_EXT"/> + <enum name="GL_SPARSE_STORAGE_BIT_ARB"/> + <enum name="GL_LGPU_SEPARATE_STORAGE_BIT_NVX"/> + <enum name="GL_PER_GPU_STORAGE_BIT_NV"/> </group> <group name="ClearBufferMask"> @@ -456,6 +1023,44 @@ typedef unsigned int GLhandleARB; <enum name="GL_NONE"/> <enum name="GL_NONE_OES"/> <enum name="GL_RIGHT"/> + <enum name="GL_COLOR_ATTACHMENT0"/> + <enum name="GL_COLOR_ATTACHMENT1"/> + <enum name="GL_COLOR_ATTACHMENT2"/> + <enum name="GL_COLOR_ATTACHMENT3"/> + <enum name="GL_COLOR_ATTACHMENT4"/> + <enum name="GL_COLOR_ATTACHMENT5"/> + <enum name="GL_COLOR_ATTACHMENT6"/> + <enum name="GL_COLOR_ATTACHMENT7"/> + <enum name="GL_COLOR_ATTACHMENT8"/> + <enum name="GL_COLOR_ATTACHMENT9"/> + <enum name="GL_COLOR_ATTACHMENT10"/> + <enum name="GL_COLOR_ATTACHMENT11"/> + <enum name="GL_COLOR_ATTACHMENT12"/> + <enum name="GL_COLOR_ATTACHMENT13"/> + <enum name="GL_COLOR_ATTACHMENT14"/> + <enum name="GL_COLOR_ATTACHMENT15"/> + <enum name="GL_COLOR_ATTACHMENT16"/> + <enum name="GL_COLOR_ATTACHMENT17"/> + <enum name="GL_COLOR_ATTACHMENT18"/> + <enum name="GL_COLOR_ATTACHMENT19"/> + <enum name="GL_COLOR_ATTACHMENT20"/> + <enum name="GL_COLOR_ATTACHMENT21"/> + <enum name="GL_COLOR_ATTACHMENT22"/> + <enum name="GL_COLOR_ATTACHMENT23"/> + <enum name="GL_COLOR_ATTACHMENT24"/> + <enum name="GL_COLOR_ATTACHMENT25"/> + <enum name="GL_COLOR_ATTACHMENT26"/> + <enum name="GL_COLOR_ATTACHMENT27"/> + <enum name="GL_COLOR_ATTACHMENT28"/> + <enum name="GL_COLOR_ATTACHMENT29"/> + <enum name="GL_COLOR_ATTACHMENT30"/> + <enum name="GL_COLOR_ATTACHMENT31"/> + </group> + + <group name="DrawElementsType"> + <enum name="GL_UNSIGNED_BYTE"/> + <enum name="GL_UNSIGNED_SHORT"/> + <enum name="GL_UNSIGNED_INT"/> </group> <group name="DrawElementsType"> @@ -473,6 +1078,14 @@ typedef unsigned int GLhandleARB; <enum name="GL_AUTO_NORMAL"/> <enum name="GL_BLEND"/> <enum name="GL_CALLIGRAPHIC_FRAGMENT_SGIX"/> + <enum name="GL_CLIP_DISTANCE0"/> + <enum name="GL_CLIP_DISTANCE1"/> + <enum name="GL_CLIP_DISTANCE2"/> + <enum name="GL_CLIP_DISTANCE3"/> + <enum name="GL_CLIP_DISTANCE4"/> + <enum name="GL_CLIP_DISTANCE5"/> + <enum name="GL_CLIP_DISTANCE6"/> + <enum name="GL_CLIP_DISTANCE7"/> <enum name="GL_CLIP_PLANE0"/> <enum name="GL_CLIP_PLANE1"/> <enum name="GL_CLIP_PLANE2"/> @@ -486,6 +1099,9 @@ typedef unsigned int GLhandleARB; <enum name="GL_CONVOLUTION_1D_EXT"/> <enum name="GL_CONVOLUTION_2D_EXT"/> <enum name="GL_CULL_FACE"/> + <enum name="GL_DEBUG_OUTPUT"/> + <enum name="GL_DEBUG_OUTPUT_SYNCHRONOUS"/> + <enum name="GL_DEPTH_CLAMP"/> <enum name="GL_DEPTH_TEST"/> <enum name="GL_DITHER"/> <enum name="GL_EDGE_FLAG_ARRAY"/> @@ -501,6 +1117,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRAGMENT_LIGHT6_SGIX"/> <enum name="GL_FRAGMENT_LIGHT7_SGIX"/> <enum name="GL_FRAGMENT_LIGHTING_SGIX"/> + <enum name="GL_FRAMEBUFFER_SRGB"/> <enum name="GL_FRAMEZOOM_SGIX"/> <enum name="GL_HISTOGRAM_EXT"/> <enum name="GL_INDEX_ARRAY"/> @@ -537,6 +1154,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_MAP2_VERTEX_3"/> <enum name="GL_MAP2_VERTEX_4"/> <enum name="GL_MINMAX_EXT"/> + <enum name="GL_MULTISAMPLE"/> <enum name="GL_MULTISAMPLE_SGIS"/> <enum name="GL_NORMALIZE"/> <enum name="GL_NORMAL_ARRAY"/> @@ -550,11 +1168,20 @@ typedef unsigned int GLhandleARB; <enum name="GL_POLYGON_STIPPLE"/> <enum name="GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI"/> <enum name="GL_POST_CONVOLUTION_COLOR_TABLE_SGI"/> + <enum name="GL_PRIMITIVE_RESTART"/> + <enum name="GL_PRIMITIVE_RESTART_FIXED_INDEX"/> + <enum name="GL_PROGRAM_POINT_SIZE"/> + <enum name="GL_RASTERIZER_DISCARD"/> <enum name="GL_REFERENCE_PLANE_SGIX"/> <enum name="GL_RESCALE_NORMAL_EXT"/> + <enum name="GL_SAMPLE_ALPHA_TO_COVERAGE"/> <enum name="GL_SAMPLE_ALPHA_TO_MASK_SGIS"/> + <enum name="GL_SAMPLE_ALPHA_TO_ONE"/> <enum name="GL_SAMPLE_ALPHA_TO_ONE_SGIS"/> + <enum name="GL_SAMPLE_COVERAGE"/> + <enum name="GL_SAMPLE_MASK"/> <enum name="GL_SAMPLE_MASK_SGIS"/> + <enum name="GL_SAMPLE_SHADING"/> <enum name="GL_SCISSOR_TEST"/> <enum name="GL_SEPARABLE_2D_EXT"/> <enum name="GL_SHARED_TEXTURE_PALETTE_EXT"/> @@ -566,6 +1193,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE_4D_SGIS"/> <enum name="GL_TEXTURE_COLOR_TABLE_SGI"/> <enum name="GL_TEXTURE_COORD_ARRAY"/> + <enum name="GL_TEXTURE_CUBE_MAP_SEAMLESS"/> <enum name="GL_TEXTURE_GEN_Q"/> <enum name="GL_TEXTURE_GEN_R"/> <enum name="GL_TEXTURE_GEN_S"/> @@ -778,6 +1406,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_ACCUM_CLEAR_VALUE"/> <enum name="GL_ACCUM_GREEN_BITS"/> <enum name="GL_ACCUM_RED_BITS"/> + <enum name="GL_ACTIVE_TEXTURE"/> <enum name="GL_ALIASED_LINE_WIDTH_RANGE"/> <enum name="GL_ALIASED_POINT_SIZE_RANGE"/> <enum name="GL_ALPHA_BIAS"/> @@ -789,6 +1418,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_ALPHA_TEST_QCOM"/> <enum name="GL_ALPHA_TEST_REF"/> <enum name="GL_ALPHA_TEST_REF_QCOM"/> + <enum name="GL_ARRAY_BUFFER_BINDING"/> <enum name="GL_ASYNC_DRAW_PIXELS_SGIX"/> <enum name="GL_ASYNC_HISTOGRAM_SGIX"/> <enum name="GL_ASYNC_MARKER_SGIX"/> @@ -798,10 +1428,17 @@ typedef unsigned int GLhandleARB; <enum name="GL_AUTO_NORMAL"/> <enum name="GL_AUX_BUFFERS"/> <enum name="GL_BLEND"/> + <enum name="GL_BLEND_COLOR"/> <enum name="GL_BLEND_COLOR_EXT"/> <enum name="GL_BLEND_DST"/> + <enum name="GL_BLEND_DST_ALPHA"/> + <enum name="GL_BLEND_DST_RGB"/> + <enum name="GL_BLEND_EQUATION_ALPHA"/> <enum name="GL_BLEND_EQUATION_EXT"/> + <enum name="GL_BLEND_EQUATION_RGB"/> <enum name="GL_BLEND_SRC"/> + <enum name="GL_BLEND_SRC_ALPHA"/> + <enum name="GL_BLEND_SRC_RGB"/> <enum name="GL_BLUE_BIAS"/> <enum name="GL_BLUE_BITS"/> <enum name="GL_BLUE_SCALE"/> @@ -827,6 +1464,8 @@ typedef unsigned int GLhandleARB; <enum name="GL_COLOR_MATRIX_STACK_DEPTH_SGI"/> <enum name="GL_COLOR_TABLE_SGI"/> <enum name="GL_COLOR_WRITEMASK"/> + <enum name="GL_COMPRESSED_TEXTURE_FORMATS"/> + <enum name="GL_CONTEXT_FLAGS"/> <enum name="GL_CONVOLUTION_1D_EXT"/> <enum name="GL_CONVOLUTION_2D_EXT"/> <enum name="GL_CONVOLUTION_HINT_SGIX"/> @@ -835,6 +1474,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_CURRENT_COLOR"/> <enum name="GL_CURRENT_INDEX"/> <enum name="GL_CURRENT_NORMAL"/> + <enum name="GL_CURRENT_PROGRAM"/> <enum name="GL_CURRENT_RASTER_COLOR"/> <enum name="GL_CURRENT_RASTER_DISTANCE"/> <enum name="GL_CURRENT_RASTER_INDEX"/> @@ -842,6 +1482,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_CURRENT_RASTER_POSITION_VALID"/> <enum name="GL_CURRENT_RASTER_TEXTURE_COORDS"/> <enum name="GL_CURRENT_TEXTURE_COORDS"/> + <enum name="GL_DEBUG_GROUP_STACK_DEPTH"/> <enum name="GL_DEFORMATIONS_MASK_SGIX"/> <enum name="GL_DEPTH_BIAS"/> <enum name="GL_DEPTH_BITS"/> @@ -855,16 +1496,19 @@ typedef unsigned int GLhandleARB; <enum name="GL_DEVICE_LUID_EXT"/> <enum name="GL_DEVICE_NODE_MASK_EXT"/> <enum name="GL_DEVICE_UUID_EXT"/> + <enum name="GL_DISPATCH_INDIRECT_BUFFER_BINDING"/> <enum name="GL_DISTANCE_ATTENUATION_SGIS"/> <enum name="GL_DITHER"/> <enum name="GL_DOUBLEBUFFER"/> <enum name="GL_DRAW_BUFFER"/> <enum name="GL_DRAW_BUFFER_EXT"/> + <enum name="GL_DRAW_FRAMEBUFFER_BINDING"/> <enum name="GL_DRIVER_UUID_EXT"/> <enum name="GL_EDGE_FLAG"/> <enum name="GL_EDGE_FLAG_ARRAY"/> <enum name="GL_EDGE_FLAG_ARRAY_COUNT_EXT"/> <enum name="GL_EDGE_FLAG_ARRAY_STRIDE"/> + <enum name="GL_ELEMENT_ARRAY_BUFFER_BINDING"/> <enum name="GL_FEEDBACK_BUFFER_SIZE"/> <enum name="GL_FEEDBACK_BUFFER_TYPE"/> <enum name="GL_FOG"/> @@ -887,6 +1531,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX"/> <enum name="GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX"/> <enum name="GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX"/> + <enum name="GL_FRAGMENT_SHADER_DERIVATIVE_HINT"/> <enum name="GL_FRAMEZOOM_FACTOR_SGIX"/> <enum name="GL_FRAMEZOOM_SGIX"/> <enum name="GL_FRONT_FACE"/> @@ -895,6 +1540,8 @@ typedef unsigned int GLhandleARB; <enum name="GL_GREEN_BITS"/> <enum name="GL_GREEN_SCALE"/> <enum name="GL_HISTOGRAM_EXT"/> + <enum name="GL_IMPLEMENTATION_COLOR_READ_FORMAT"/> + <enum name="GL_IMPLEMENTATION_COLOR_READ_TYPE"/> <enum name="GL_INDEX_ARRAY"/> <enum name="GL_INDEX_ARRAY_COUNT_EXT"/> <enum name="GL_INDEX_ARRAY_STRIDE"/> @@ -909,6 +1556,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_INSTRUMENT_MEASUREMENTS_SGIX"/> <enum name="GL_INTERLACE_SGIX"/> <enum name="GL_IR_INSTRUMENT1_SGIX"/> + <enum name="GL_LAYER_PROVOKING_VERTEX"/> <enum name="GL_LIGHT0"/> <enum name="GL_LIGHT1"/> <enum name="GL_LIGHT2"/> @@ -936,6 +1584,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_LIST_MODE"/> <enum name="GL_LOGIC_OP"/> <enum name="GL_LOGIC_OP_MODE"/> + <enum name="GL_MAJOR_VERSION"/> <enum name="GL_MAP1_COLOR_4"/> <enum name="GL_MAP1_GRID_DOMAIN"/> <enum name="GL_MAP1_GRID_SEGMENTS"/> @@ -961,9 +1610,11 @@ typedef unsigned int GLhandleARB; <enum name="GL_MAP_COLOR"/> <enum name="GL_MAP_STENCIL"/> <enum name="GL_MATRIX_MODE"/> + <enum name="GL_MAX_3D_TEXTURE_SIZE"/> <enum name="GL_MAX_3D_TEXTURE_SIZE_EXT"/> <enum name="GL_MAX_4D_TEXTURE_SIZE_SGIS"/> <enum name="GL_MAX_ACTIVE_LIGHTS_SGIX"/> + <enum name="GL_MAX_ARRAY_TEXTURE_LAYERS"/> <enum name="GL_MAX_ASYNC_DRAW_PIXELS_SGIX"/> <enum name="GL_MAX_ASYNC_HISTOGRAM_SGIX"/> <enum name="GL_MAX_ASYNC_READ_PIXELS_SGIX"/> @@ -975,20 +1626,98 @@ typedef unsigned int GLhandleARB; <enum name="GL_MAX_CLIP_DISTANCES"/> <enum name="GL_MAX_CLIP_PLANES"/> <enum name="GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI"/> + <enum name="GL_MAX_COLOR_TEXTURE_SAMPLES"/> + <enum name="GL_MAX_COMBINED_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_COMBINED_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_COMPUTE_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS"/> + <enum name="GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_COMPUTE_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_COMPUTE_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_COMPUTE_WORK_GROUP_COUNT"/> + <enum name="GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS"/> + <enum name="GL_MAX_COMPUTE_WORK_GROUP_SIZE"/> + <enum name="GL_MAX_CUBE_MAP_TEXTURE_SIZE"/> + <enum name="GL_MAX_DEBUG_GROUP_STACK_DEPTH"/> + <enum name="GL_MAX_DEPTH_TEXTURE_SAMPLES"/> + <enum name="GL_MAX_DRAW_BUFFERS"/> + <enum name="GL_MAX_DUAL_SOURCE_DRAW_BUFFERS"/> + <enum name="GL_MAX_ELEMENTS_INDICES"/> + <enum name="GL_MAX_ELEMENTS_VERTICES"/> + <enum name="GL_MAX_ELEMENT_INDEX"/> <enum name="GL_MAX_EVAL_ORDER"/> <enum name="GL_MAX_FOG_FUNC_POINTS_SGIS"/> + <enum name="GL_MAX_FRAGMENT_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_FRAGMENT_INPUT_COMPONENTS"/> <enum name="GL_MAX_FRAGMENT_LIGHTS_SGIX"/> + <enum name="GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_FRAGMENT_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_FRAGMENT_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_FRAGMENT_UNIFORM_VECTORS"/> + <enum name="GL_MAX_FRAMEBUFFER_HEIGHT"/> + <enum name="GL_MAX_FRAMEBUFFER_LAYERS"/> + <enum name="GL_MAX_FRAMEBUFFER_SAMPLES"/> + <enum name="GL_MAX_FRAMEBUFFER_WIDTH"/> <enum name="GL_MAX_FRAMEZOOM_FACTOR_SGIX"/> + <enum name="GL_MAX_GEOMETRY_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_GEOMETRY_INPUT_COMPONENTS"/> + <enum name="GL_MAX_GEOMETRY_OUTPUT_COMPONENTS"/> + <enum name="GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_GEOMETRY_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_GEOMETRY_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_INTEGER_SAMPLES"/> + <enum name="GL_MAX_LABEL_LENGTH"/> <enum name="GL_MAX_LIGHTS"/> <enum name="GL_MAX_LIST_NESTING"/> <enum name="GL_MAX_MODELVIEW_STACK_DEPTH"/> <enum name="GL_MAX_NAME_STACK_DEPTH"/> <enum name="GL_MAX_PIXEL_MAP_TABLE"/> + <enum name="GL_MAX_PROGRAM_TEXEL_OFFSET"/> <enum name="GL_MAX_PROJECTION_STACK_DEPTH"/> + <enum name="GL_MAX_RECTANGLE_TEXTURE_SIZE"/> + <enum name="GL_MAX_RENDERBUFFER_SIZE"/> + <enum name="GL_MAX_SAMPLE_MASK_WORDS"/> + <enum name="GL_MAX_SERVER_WAIT_TIMEOUT"/> + <enum name="GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS"/> + <enum name="GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_TEXTURE_BUFFER_SIZE"/> + <enum name="GL_MAX_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_TEXTURE_LOD_BIAS"/> <enum name="GL_MAX_TEXTURE_SIZE"/> <enum name="GL_MAX_TEXTURE_STACK_DEPTH"/> + <enum name="GL_MAX_UNIFORM_BLOCK_SIZE"/> + <enum name="GL_MAX_UNIFORM_BUFFER_BINDINGS"/> + <enum name="GL_MAX_UNIFORM_LOCATIONS"/> + <enum name="GL_MAX_VARYING_COMPONENTS"/> + <enum name="GL_MAX_VARYING_FLOATS"/> + <enum name="GL_MAX_VARYING_VECTORS"/> + <enum name="GL_MAX_VERTEX_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_VERTEX_ATTRIBS"/> + <enum name="GL_MAX_VERTEX_ATTRIB_BINDINGS"/> + <enum name="GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET"/> + <enum name="GL_MAX_VERTEX_OUTPUT_COMPONENTS"/> + <enum name="GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_VERTEX_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_VERTEX_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_VERTEX_UNIFORM_VECTORS"/> + <enum name="GL_MAX_VIEWPORTS"/> <enum name="GL_MAX_VIEWPORT_DIMS"/> <enum name="GL_MINMAX_EXT"/> + <enum name="GL_MINOR_VERSION"/> + <enum name="GL_MIN_MAP_BUFFER_ALIGNMENT"/> + <enum name="GL_MIN_PROGRAM_TEXEL_OFFSET"/> <enum name="GL_MODELVIEW0_MATRIX_EXT"/> <enum name="GL_MODELVIEW0_STACK_DEPTH_EXT"/> <enum name="GL_MODELVIEW_MATRIX"/> @@ -1000,14 +1729,20 @@ typedef unsigned int GLhandleARB; <enum name="GL_NORMAL_ARRAY_COUNT_EXT"/> <enum name="GL_NORMAL_ARRAY_STRIDE"/> <enum name="GL_NORMAL_ARRAY_TYPE"/> + <enum name="GL_NUM_COMPRESSED_TEXTURE_FORMATS"/> <enum name="GL_NUM_DEVICE_UUIDS_EXT"/> + <enum name="GL_NUM_EXTENSIONS"/> + <enum name="GL_NUM_PROGRAM_BINARY_FORMATS"/> + <enum name="GL_NUM_SHADER_BINARY_FORMATS"/> <enum name="GL_PACK_ALIGNMENT"/> <enum name="GL_PACK_CMYK_HINT_EXT"/> <enum name="GL_PACK_IMAGE_DEPTH_SGIS"/> + <enum name="GL_PACK_IMAGE_HEIGHT"/> <enum name="GL_PACK_IMAGE_HEIGHT_EXT"/> <enum name="GL_PACK_LSB_FIRST"/> <enum name="GL_PACK_RESAMPLE_SGIX"/> <enum name="GL_PACK_ROW_LENGTH"/> + <enum name="GL_PACK_SKIP_IMAGES"/> <enum name="GL_PACK_SKIP_IMAGES_EXT"/> <enum name="GL_PACK_SKIP_PIXELS"/> <enum name="GL_PACK_SKIP_ROWS"/> @@ -1025,6 +1760,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_PIXEL_MAP_I_TO_R_SIZE"/> <enum name="GL_PIXEL_MAP_R_TO_R_SIZE"/> <enum name="GL_PIXEL_MAP_S_TO_S_SIZE"/> + <enum name="GL_PIXEL_PACK_BUFFER_BINDING"/> <enum name="GL_PIXEL_TEXTURE_SGIS"/> <enum name="GL_PIXEL_TEX_GEN_MODE_SGIX"/> <enum name="GL_PIXEL_TEX_GEN_SGIX"/> @@ -1036,6 +1772,8 @@ typedef unsigned int GLhandleARB; <enum name="GL_PIXEL_TILE_GRID_WIDTH_SGIX"/> <enum name="GL_PIXEL_TILE_HEIGHT_SGIX"/> <enum name="GL_PIXEL_TILE_WIDTH_SGIX"/> + <enum name="GL_PIXEL_UNPACK_BUFFER_BINDING"/> + <enum name="GL_POINT_FADE_THRESHOLD_SIZE"/> <enum name="GL_POINT_FADE_THRESHOLD_SIZE_SGIS"/> <enum name="GL_POINT_SIZE"/> <enum name="GL_POINT_SIZE_GRANULARITY"/> @@ -1074,23 +1812,35 @@ typedef unsigned int GLhandleARB; <enum name="GL_POST_CONVOLUTION_RED_SCALE_EXT"/> <enum name="GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX"/> <enum name="GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX"/> + <enum name="GL_PRIMITIVE_RESTART_INDEX"/> + <enum name="GL_PROGRAM_BINARY_FORMATS"/> + <enum name="GL_PROGRAM_PIPELINE_BINDING"/> + <enum name="GL_PROGRAM_POINT_SIZE"/> <enum name="GL_PROJECTION_MATRIX"/> <enum name="GL_PROJECTION_STACK_DEPTH"/> + <enum name="GL_PROVOKING_VERTEX"/> <enum name="GL_READ_BUFFER"/> <enum name="GL_READ_BUFFER_EXT"/> <enum name="GL_READ_BUFFER_NV"/> + <enum name="GL_READ_FRAMEBUFFER_BINDING"/> <enum name="GL_RED_BIAS"/> <enum name="GL_RED_BITS"/> <enum name="GL_RED_SCALE"/> <enum name="GL_REFERENCE_PLANE_EQUATION_SGIX"/> <enum name="GL_REFERENCE_PLANE_SGIX"/> + <enum name="GL_RENDERBUFFER_BINDING"/> <enum name="GL_RENDER_MODE"/> <enum name="GL_RESCALE_NORMAL_EXT"/> <enum name="GL_RGBA_MODE"/> + <enum name="GL_SAMPLER_BINDING"/> + <enum name="GL_SAMPLES"/> <enum name="GL_SAMPLES_SGIS"/> <enum name="GL_SAMPLE_ALPHA_TO_MASK_SGIS"/> <enum name="GL_SAMPLE_ALPHA_TO_ONE_SGIS"/> + <enum name="GL_SAMPLE_BUFFERS"/> <enum name="GL_SAMPLE_BUFFERS_SGIS"/> + <enum name="GL_SAMPLE_COVERAGE_INVERT"/> + <enum name="GL_SAMPLE_COVERAGE_VALUE"/> <enum name="GL_SAMPLE_MASK_INVERT_SGIS"/> <enum name="GL_SAMPLE_MASK_SGIS"/> <enum name="GL_SAMPLE_MASK_VALUE_SGIS"/> @@ -1099,6 +1849,11 @@ typedef unsigned int GLhandleARB; <enum name="GL_SCISSOR_TEST"/> <enum name="GL_SELECTION_BUFFER_SIZE"/> <enum name="GL_SEPARABLE_2D_EXT"/> + <enum name="GL_SHADER_COMPILER"/> + <enum name="GL_SHADER_STORAGE_BUFFER_BINDING"/> + <enum name="GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT"/> + <enum name="GL_SHADER_STORAGE_BUFFER_SIZE"/> + <enum name="GL_SHADER_STORAGE_BUFFER_START"/> <enum name="GL_SHADE_MODEL"/> <enum name="GL_SHARED_TEXTURE_PALETTE_EXT"/> <enum name="GL_SMOOTH_LINE_WIDTH_GRANULARITY"/> @@ -1109,6 +1864,13 @@ typedef unsigned int GLhandleARB; <enum name="GL_SPRITE_MODE_SGIX"/> <enum name="GL_SPRITE_SGIX"/> <enum name="GL_SPRITE_TRANSLATION_SGIX"/> + <enum name="GL_STENCIL_BACK_FAIL"/> + <enum name="GL_STENCIL_BACK_FUNC"/> + <enum name="GL_STENCIL_BACK_PASS_DEPTH_FAIL"/> + <enum name="GL_STENCIL_BACK_PASS_DEPTH_PASS"/> + <enum name="GL_STENCIL_BACK_REF"/> + <enum name="GL_STENCIL_BACK_VALUE_MASK"/> + <enum name="GL_STENCIL_BACK_WRITEMASK"/> <enum name="GL_STENCIL_BITS"/> <enum name="GL_STENCIL_CLEAR_VALUE"/> <enum name="GL_STENCIL_FAIL"/> @@ -1128,9 +1890,18 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE_4D_BINDING_SGIS"/> <enum name="GL_TEXTURE_4D_SGIS"/> <enum name="GL_TEXTURE_BINDING_1D"/> + <enum name="GL_TEXTURE_BINDING_1D_ARRAY"/> <enum name="GL_TEXTURE_BINDING_2D"/> + <enum name="GL_TEXTURE_BINDING_2D_ARRAY"/> + <enum name="GL_TEXTURE_BINDING_2D_MULTISAMPLE"/> + <enum name="GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY"/> <enum name="GL_TEXTURE_BINDING_3D"/> + <enum name="GL_TEXTURE_BINDING_BUFFER"/> + <enum name="GL_TEXTURE_BINDING_CUBE_MAP"/> + <enum name="GL_TEXTURE_BINDING_RECTANGLE"/> + <enum name="GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT"/> <enum name="GL_TEXTURE_COLOR_TABLE_SGI"/> + <enum name="GL_TEXTURE_COMPRESSION_HINT"/> <enum name="GL_TEXTURE_COORD_ARRAY"/> <enum name="GL_TEXTURE_COORD_ARRAY_COUNT_EXT"/> <enum name="GL_TEXTURE_COORD_ARRAY_SIZE"/> @@ -1142,13 +1913,23 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE_GEN_T"/> <enum name="GL_TEXTURE_MATRIX"/> <enum name="GL_TEXTURE_STACK_DEPTH"/> + <enum name="GL_TIMESTAMP"/> + <enum name="GL_TRANSFORM_FEEDBACK_BUFFER_BINDING"/> + <enum name="GL_TRANSFORM_FEEDBACK_BUFFER_SIZE"/> + <enum name="GL_TRANSFORM_FEEDBACK_BUFFER_START"/> + <enum name="GL_UNIFORM_BUFFER_BINDING"/> + <enum name="GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT"/> + <enum name="GL_UNIFORM_BUFFER_SIZE"/> + <enum name="GL_UNIFORM_BUFFER_START"/> <enum name="GL_UNPACK_ALIGNMENT"/> <enum name="GL_UNPACK_CMYK_HINT_EXT"/> <enum name="GL_UNPACK_IMAGE_DEPTH_SGIS"/> + <enum name="GL_UNPACK_IMAGE_HEIGHT"/> <enum name="GL_UNPACK_IMAGE_HEIGHT_EXT"/> <enum name="GL_UNPACK_LSB_FIRST"/> <enum name="GL_UNPACK_RESAMPLE_SGIX"/> <enum name="GL_UNPACK_ROW_LENGTH"/> + <enum name="GL_UNPACK_SKIP_IMAGES"/> <enum name="GL_UNPACK_SKIP_IMAGES_EXT"/> <enum name="GL_UNPACK_SKIP_PIXELS"/> <enum name="GL_UNPACK_SKIP_ROWS"/> @@ -1156,13 +1937,20 @@ typedef unsigned int GLhandleARB; <enum name="GL_UNPACK_SUBSAMPLE_RATE_SGIX"/> <enum name="GL_UNPACK_SWAP_BYTES"/> <enum name="GL_VERTEX_ARRAY"/> + <enum name="GL_VERTEX_ARRAY_BINDING"/> <enum name="GL_VERTEX_ARRAY_COUNT_EXT"/> <enum name="GL_VERTEX_ARRAY_SIZE"/> <enum name="GL_VERTEX_ARRAY_STRIDE"/> <enum name="GL_VERTEX_ARRAY_TYPE"/> + <enum name="GL_VERTEX_BINDING_DIVISOR"/> + <enum name="GL_VERTEX_BINDING_OFFSET"/> + <enum name="GL_VERTEX_BINDING_STRIDE"/> <enum name="GL_VERTEX_PRECLIP_HINT_SGIX"/> <enum name="GL_VERTEX_PRECLIP_SGIX"/> <enum name="GL_VIEWPORT"/> + <enum name="GL_VIEWPORT_BOUNDS_RANGE"/> + <enum name="GL_VIEWPORT_INDEX_PROVOKING_VERTEX"/> + <enum name="GL_VIEWPORT_SUBPIXEL_BITS"/> <enum name="GL_ZOOM_X"/> <enum name="GL_ZOOM_Y"/> </group> @@ -1435,11 +2223,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_XOR"/> </group> - <group name="MapBufferUsageMask"> - <enum name="GL_CLIENT_STORAGE_BIT"/> - <enum name="GL_CLIENT_STORAGE_BIT_EXT"/> - <enum name="GL_DYNAMIC_STORAGE_BIT"/> - <enum name="GL_DYNAMIC_STORAGE_BIT_EXT"/> + <group name="MapBufferAccessMask"> <enum name="GL_MAP_COHERENT_BIT"/> <enum name="GL_MAP_COHERENT_BIT_EXT"/> <enum name="GL_MAP_FLUSH_EXPLICIT_BIT"/> @@ -1588,18 +2372,30 @@ typedef unsigned int GLhandleARB; <group name="PixelFormat"> <enum name="GL_ABGR_EXT"/> <enum name="GL_ALPHA"/> + <enum name="GL_BGR"/> + <enum name="GL_BGR_INTEGER"/> + <enum name="GL_BGRA"/> + <enum name="GL_BGRA_INTEGER"/> <enum name="GL_BLUE"/> + <enum name="GL_BLUE_INTEGER"/> <enum name="GL_CMYKA_EXT"/> <enum name="GL_CMYK_EXT"/> <enum name="GL_COLOR_INDEX"/> <enum name="GL_DEPTH_COMPONENT"/> + <enum name="GL_DEPTH_STENCIL"/> <enum name="GL_GREEN"/> + <enum name="GL_GREEN_INTEGER"/> <enum name="GL_LUMINANCE"/> <enum name="GL_LUMINANCE_ALPHA"/> <enum name="GL_RED"/> <enum name="GL_RED_EXT"/> + <enum name="GL_RED_INTEGER"/> + <enum name="GL_RG"/> + <enum name="GL_RG_INTEGER"/> <enum name="GL_RGB"/> + <enum name="GL_RGB_INTEGER"/> <enum name="GL_RGBA"/> + <enum name="GL_RGBA_INTEGER"/> <enum name="GL_STENCIL_INDEX"/> <enum name="GL_UNSIGNED_INT"/> <enum name="GL_UNSIGNED_SHORT"/> @@ -1724,6 +2520,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_RGB16F_EXT"/> <enum name="GL_RGB16_SNORM"/> <enum name="GL_RGB16_SNORM_EXT"/> + <enum name="GL_RGB32F"/> <enum name="GL_RGB8I"/> <enum name="GL_RGB16I"/> <enum name="GL_RGB32I"/> @@ -1791,7 +2588,6 @@ typedef unsigned int GLhandleARB; <enum name="GL_DEPTH_COMPONENT32_SGIX"/> <enum name="GL_DEPTH_COMPONENT32F"/> <enum name="GL_DEPTH_COMPONENT32F_NV"/> - <enum name="GL_DEPTH_COMPONENT32F_NV"/> <!-- Base internal format: GL_DEPTH_STENCIL --> <enum name="GL_DEPTH_STENCIL"/> <enum name="GL_DEPTH_STENCIL_EXT"/> @@ -1803,6 +2599,20 @@ typedef unsigned int GLhandleARB; <enum name="GL_DEPTH24_STENCIL8_OES"/> <enum name="GL_DEPTH32F_STENCIL8"/> <enum name="GL_DEPTH32F_STENCIL8_NV"/> + <!-- Base internal format: GL_STENCIL_INDEX --> + <enum name="GL_STENCIL_INDEX"/> + <enum name="GL_STENCIL_INDEX_OES"/> + <enum name="GL_STENCIL_INDEX1"/> + <enum name="GL_STENCIL_INDEX1_OES"/> + <enum name="GL_STENCIL_INDEX1_EXT"/> + <enum name="GL_STENCIL_INDEX4"/> + <enum name="GL_STENCIL_INDEX4_OES"/> + <enum name="GL_STENCIL_INDEX4_EXT"/> + <enum name="GL_STENCIL_INDEX8"/> + <enum name="GL_STENCIL_INDEX8_OES"/> + <enum name="GL_STENCIL_INDEX8_EXT"/> + <enum name="GL_STENCIL_INDEX16"/> + <enum name="GL_STENCIL_INDEX16_EXT"/> <!-- Compressed base internal formats --> <enum name="GL_COMPRESSED_RED"/> <enum name="GL_COMPRESSED_RG"/> @@ -1838,6 +2648,83 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT"/> <enum name="GL_COMPRESSED_RGBA_S3TC_DXT5_EXT"/> <enum name="GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT"/> + <!-- Compressed ASTC internal formats --> + <enum name="GL_COMPRESSED_RGBA_ASTC_3x3x3_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_4x3x3_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_4x4"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_4x4_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_4x4x3_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_4x4x4_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x4"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x4_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x4x4_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x5_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x5x4_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x5x5_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x5_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x5x5_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x6"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x6_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x6x5_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x6x6_OES"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x5_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x6"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x6_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x8"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x8_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x10"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x10_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x5_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x6"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x6_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x8"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x8_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_12x10"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_12x10_KHR"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_12x12"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_12x12_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR"/> </group> <group name="PixelMap"> @@ -2068,6 +2955,22 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRONT_RIGHT"/> <enum name="GL_LEFT"/> <enum name="GL_RIGHT"/> + <enum name="GL_COLOR_ATTACHMENT0"/> + <enum name="GL_COLOR_ATTACHMENT1"/> + <enum name="GL_COLOR_ATTACHMENT2"/> + <enum name="GL_COLOR_ATTACHMENT3"/> + <enum name="GL_COLOR_ATTACHMENT4"/> + <enum name="GL_COLOR_ATTACHMENT5"/> + <enum name="GL_COLOR_ATTACHMENT6"/> + <enum name="GL_COLOR_ATTACHMENT7"/> + <enum name="GL_COLOR_ATTACHMENT8"/> + <enum name="GL_COLOR_ATTACHMENT9"/> + <enum name="GL_COLOR_ATTACHMENT10"/> + <enum name="GL_COLOR_ATTACHMENT11"/> + <enum name="GL_COLOR_ATTACHMENT12"/> + <enum name="GL_COLOR_ATTACHMENT13"/> + <enum name="GL_COLOR_ATTACHMENT14"/> + <enum name="GL_COLOR_ATTACHMENT15"/> </group> <group name="RenderingMode"> @@ -2126,7 +3029,9 @@ typedef unsigned int GLhandleARB; <group name="StencilOp"> <enum name="GL_DECR"/> + <enum name="GL_DECR_WRAP"/> <enum name="GL_INCR"/> + <enum name="GL_INCR_WRAP"/> <enum name="GL_INVERT"/> <enum name="GL_KEEP"/> <enum name="GL_REPLACE"/> @@ -2369,6 +3274,8 @@ typedef unsigned int GLhandleARB; <enum name="GL_CLAMP_TO_EDGE"/> <enum name="GL_CLAMP_TO_EDGE_SGIS"/> <enum name="GL_REPEAT"/> + <enum name="GL_LINEAR_MIPMAP_LINEAR"/> + <enum name="GL_MIRRORED_REPEAT"/> </group> <group name="UseProgramStageMask"> @@ -2386,10 +3293,24 @@ typedef unsigned int GLhandleARB; <enum name="GL_TESS_EVALUATION_SHADER_BIT_EXT"/> <enum name="GL_TESS_EVALUATION_SHADER_BIT_OES"/> <enum name="GL_COMPUTE_SHADER_BIT"/> + <enum name="GL_MESH_SHADER_BIT_NV"/> + <enum name="GL_TASK_SHADER_BIT_NV"/> <enum name="GL_ALL_SHADER_BITS"/> <enum name="GL_ALL_SHADER_BITS_EXT"/> </group> + <group name="SubgroupSupportedFeatures"> + <enum name="GL_SUBGROUP_FEATURE_BASIC_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_VOTE_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_QUAD_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV"/> + </group> + <group name="VertexPointerType"> <enum name="GL_DOUBLE"/> <enum name="GL_FLOAT"/> @@ -2467,6 +3388,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COLOR_ATTACHMENT30"/> <enum name="GL_COLOR_ATTACHMENT31"/> <enum name="GL_DEPTH_ATTACHMENT"/> + <enum name="GL_DEPTH_STENCIL_ATTACHMENT"/> <enum name="GL_DEPTH_ATTACHMENT_EXT"/> <enum name="GL_DEPTH_ATTACHMENT_OES"/> </group> @@ -2516,11 +3438,15 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE31"/> </group> - <group name="TypeEnum"> + <group name="ConditionalRenderMode"> <enum name="GL_QUERY_WAIT"/> <enum name="GL_QUERY_NO_WAIT"/> <enum name="GL_QUERY_BY_REGION_WAIT"/> <enum name="GL_QUERY_BY_REGION_NO_WAIT"/> + <enum name="GL_QUERY_WAIT_INVERTED"/> + <enum name="GL_QUERY_NO_WAIT_INVERTED"/> + <enum name="GL_QUERY_BY_REGION_WAIT_INVERTED"/> + <enum name="GL_QUERY_BY_REGION_NO_WAIT_INVERTED"/> </group> <group name="FragmentOpATI"> @@ -2571,6 +3497,14 @@ typedef unsigned int GLhandleARB; <enum name="GL_PRIMITIVES_GENERATED"/> <enum name="GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN"/> <enum name="GL_TIME_ELAPSED"/> + <enum name="GL_TRANSFORM_FEEDBACK_OVERFLOW"/> + <enum name="GL_VERTICES_SUBMITTED"/> + <enum name="GL_PRIMITIVES_SUBMITTED"/> + <enum name="GL_VERTEX_SHADER_INVOCATIONS"/> + </group> + + <group name="QueryCounterTarget"> + <enum name="GL_TIMESTAMP"/> </group> <group name="ConvolutionTarget"> @@ -2728,6 +3662,20 @@ typedef unsigned int GLhandleARB; <enum name="GL_UNIFORM_BUFFER"/> </group> + <group name="CopyImageSubDataTarget"> + <enum name="GL_RENDERBUFFER"/> + <enum name="GL_TEXTURE_1D"/> + <enum name="GL_TEXTURE_2D"/> + <enum name="GL_TEXTURE_3D"/> + <enum name="GL_TEXTURE_RECTANGLE"/> + <enum name="GL_TEXTURE_CUBE_MAP"/> + <enum name="GL_TEXTURE_CUBE_MAP_ARRAY"/> + <enum name="GL_TEXTURE_1D_ARRAY"/> + <enum name="GL_TEXTURE_2D_ARRAY"/> + <enum name="GL_TEXTURE_2D_MULTISAMPLE"/> + <enum name="GL_TEXTURE_2D_MULTISAMPLE_ARRAY"/> + </group> + <group name="ShaderType"> <enum name="GL_COMPUTE_SHADER"/> <enum name="GL_VERTEX_SHADER"/> @@ -2766,6 +3714,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_DEBUG_SEVERITY_LOW"/> <enum name="GL_DEBUG_SEVERITY_MEDIUM"/> <enum name="GL_DEBUG_SEVERITY_HIGH"/> + <enum name="GL_DEBUG_SEVERITY_NOTIFICATION"/> <enum name="GL_DONT_CARE"/> </group> @@ -2821,17 +3770,21 @@ typedef unsigned int GLhandleARB; <enum name="GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX"/> </group> - <group name="SamplerParameterName"> + <group name="SamplerParameterI"> <enum name="GL_TEXTURE_WRAP_S"/> <enum name="GL_TEXTURE_WRAP_T"/> <enum name="GL_TEXTURE_WRAP_R"/> <enum name="GL_TEXTURE_MIN_FILTER"/> <enum name="GL_TEXTURE_MAG_FILTER"/> + <enum name="GL_TEXTURE_COMPARE_MODE"/> + <enum name="GL_TEXTURE_COMPARE_FUNC"/> + </group> + + <group name="SamplerParameterF"> <enum name="GL_TEXTURE_BORDER_COLOR"/> <enum name="GL_TEXTURE_MIN_LOD"/> <enum name="GL_TEXTURE_MAX_LOD"/> - <enum name="GL_TEXTURE_COMPARE_MODE"/> - <enum name="GL_TEXTURE_COMPARE_FUNC"/> + <enum name="GL_TEXTURE_MAX_ANISOTROPY"/> </group> <group name="VertexProvokingMode"> @@ -2870,7 +3823,6 @@ typedef unsigned int GLhandleARB; <enum name="GL_LEFT"/> <enum name="GL_RIGHT"/> <enum name="GL_FRONT_AND_BACK"/> - <enum name="GL_NONE"/> <enum name="GL_COLOR_ATTACHMENT0"/> <enum name="GL_COLOR_ATTACHMENT1"/> <enum name="GL_COLOR_ATTACHMENT2"/> @@ -3054,24 +4006,6 @@ typedef unsigned int GLhandleARB; <enum name="GL_FLOAT_MAT3_ARB"/> <enum name="GL_FLOAT_MAT4"/> <enum name="GL_FLOAT_MAT4_ARB"/> - <enum name="GL_SAMPLER_1D"/> - <enum name="GL_SAMPLER_1D_ARB"/> - <enum name="GL_SAMPLER_2D"/> - <enum name="GL_SAMPLER_2D_ARB"/> - <enum name="GL_SAMPLER_3D"/> - <enum name="GL_SAMPLER_3D_ARB"/> - <enum name="GL_SAMPLER_3D_OES"/> - <enum name="GL_SAMPLER_CUBE"/> - <enum name="GL_SAMPLER_CUBE_ARB"/> - <enum name="GL_SAMPLER_1D_SHADOW"/> - <enum name="GL_SAMPLER_1D_SHADOW_ARB"/> - <enum name="GL_SAMPLER_2D_SHADOW"/> - <enum name="GL_SAMPLER_2D_SHADOW_ARB"/> - <enum name="GL_SAMPLER_2D_SHADOW_EXT"/> - <enum name="GL_SAMPLER_2D_RECT"/> - <enum name="GL_SAMPLER_2D_RECT_ARB"/> - <enum name="GL_SAMPLER_2D_RECT_SHADOW"/> - <enum name="GL_SAMPLER_2D_RECT_SHADOW_ARB"/> <enum name="GL_FLOAT_MAT2x3"/> <enum name="GL_FLOAT_MAT2x3_NV"/> <enum name="GL_FLOAT_MAT2x4"/> @@ -3086,6 +4020,87 @@ typedef unsigned int GLhandleARB; <enum name="GL_FLOAT_MAT4x3_NV"/> </group> + <group name="UniformType"> + <enum name="GL_INT"/> + <enum name="GL_UNSIGNED_INT"/> + <enum name="GL_FLOAT"/> + <enum name="GL_DOUBLE"/> + <enum name="GL_FLOAT_VEC2"/> + <enum name="GL_FLOAT_VEC3"/> + <enum name="GL_FLOAT_VEC4"/> + <enum name="GL_INT_VEC2"/> + <enum name="GL_INT_VEC3"/> + <enum name="GL_INT_VEC4"/> + <enum name="GL_BOOL"/> + <enum name="GL_BOOL_VEC2"/> + <enum name="GL_BOOL_VEC3"/> + <enum name="GL_BOOL_VEC4"/> + <enum name="GL_FLOAT_MAT2"/> + <enum name="GL_FLOAT_MAT3"/> + <enum name="GL_FLOAT_MAT4"/> + <enum name="GL_SAMPLER_1D"/> + <enum name="GL_SAMPLER_2D"/> + <enum name="GL_SAMPLER_3D"/> + <enum name="GL_SAMPLER_CUBE"/> + <enum name="GL_SAMPLER_1D_SHADOW"/> + <enum name="GL_SAMPLER_2D_SHADOW"/> + <enum name="GL_SAMPLER_2D_RECT"/> + <enum name="GL_SAMPLER_2D_RECT_SHADOW"/> + <enum name="GL_FLOAT_MAT2X3"/> + <enum name="GL_FLOAT_MAT2X4"/> + <enum name="GL_FLOAT_MAT3X2"/> + <enum name="GL_FLOAT_MAT3X4"/> + <enum name="GL_FLOAT_MAT4X2"/> + <enum name="GL_FLOAT_MAT4X3"/> + <enum name="GL_SAMPLER_1D_ARRAY"/> + <enum name="GL_SAMPLER_2D_ARRAY"/> + <enum name="GL_SAMPLER_BUFFER"/> + <enum name="GL_SAMPLER_1D_ARRAY_SHADOW"/> + <enum name="GL_SAMPLER_2D_ARRAY_SHADOW"/> + <enum name="GL_SAMPLER_CUBE_SHADOW"/> + <enum name="GL_UNSIGNED_INT_VEC2"/> + <enum name="GL_UNSIGNED_INT_VEC3"/> + <enum name="GL_UNSIGNED_INT_VEC4"/> + <enum name="GL_INT_SAMPLER_1D"/> + <enum name="GL_INT_SAMPLER_2D"/> + <enum name="GL_INT_SAMPLER_3D"/> + <enum name="GL_INT_SAMPLER_CUBE"/> + <enum name="GL_INT_SAMPLER_2D_RECT"/> + <enum name="GL_INT_SAMPLER_1D_ARRAY"/> + <enum name="GL_INT_SAMPLER_2D_ARRAY"/> + <enum name="GL_INT_SAMPLER_BUFFER"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_1D"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_3D"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_CUBE"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_RECT"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_1D_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_BUFFER"/> + <enum name="GL_DOUBLE_MAT2"/> + <enum name="GL_DOUBLE_MAT3"/> + <enum name="GL_DOUBLE_MAT4"/> + <enum name="GL_DOUBLE_MAT2x3"/> + <enum name="GL_DOUBLE_MAT2x4"/> + <enum name="GL_DOUBLE_MAT3x2"/> + <enum name="GL_DOUBLE_MAT3x4"/> + <enum name="GL_DOUBLE_MAT4x2"/> + <enum name="GL_DOUBLE_MAT4x3"/> + <enum name="GL_DOUBLE_VEC2"/> + <enum name="GL_DOUBLE_VEC3"/> + <enum name="GL_DOUBLE_VEC4"/> + <enum name="GL_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW"/> + <enum name="GL_INT_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_SAMPLER_2D_MULTISAMPLE"/> + <enum name="GL_INT_SAMPLER_2D_MULTISAMPLE"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE"/> + <enum name="GL_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + </group> + <group name="InternalFormatPName"> <enum name="GL_NUM_SAMPLE_COUNTS"/> <enum name="GL_SAMPLES"/> @@ -3384,6 +4399,182 @@ typedef unsigned int GLhandleARB; <enum name="GL_GEOMETRY_INPUT_TYPE" /> <enum name="GL_GEOMETRY_OUTPUT_TYPE" /> </group> + + <group name="GlslTypeToken" comment="OpenGL 4.6 Table 7.3: OpenGL Shading Language type tokens"> + <enum name="GL_FLOAT"/> + <enum name="GL_FLOAT_VEC2"/> + <enum name="GL_FLOAT_VEC3"/> + <enum name="GL_FLOAT_VEC4"/> + <enum name="GL_DOUBLE"/> + <enum name="GL_DOUBLE_VEC2"/> + <enum name="GL_DOUBLE_VEC3"/> + <enum name="GL_DOUBLE_VEC4"/> + <enum name="GL_INT"/> + <enum name="GL_INT_VEC2"/> + <enum name="GL_INT_VEC3"/> + <enum name="GL_INT_VEC4"/> + <enum name="GL_UNSIGNED_INT"/> + <enum name="GL_UNSIGNED_INT_VEC2"/> + <enum name="GL_UNSIGNED_INT_VEC3"/> + <enum name="GL_UNSIGNED_INT_VEC4"/> + <enum name="GL_BOOL"/> + <enum name="GL_BOOL_VEC2"/> + <enum name="GL_BOOL_VEC3"/> + <enum name="GL_BOOL_VEC4"/> + <enum name="GL_FLOAT_MAT2"/> + <enum name="GL_FLOAT_MAT3"/> + <enum name="GL_FLOAT_MAT4"/> + <enum name="GL_FLOAT_MAT2x3"/> + <enum name="GL_FLOAT_MAT2x4"/> + <enum name="GL_FLOAT_MAT3x2"/> + <enum name="GL_FLOAT_MAT3x4"/> + <enum name="GL_FLOAT_MAT4x2"/> + <enum name="GL_FLOAT_MAT4x3"/> + <enum name="GL_DOUBLE_MAT2"/> + <enum name="GL_DOUBLE_MAT3"/> + <enum name="GL_DOUBLE_MAT4"/> + <enum name="GL_SAMPLER_1D"/> + <enum name="GL_SAMPLER_2D"/> + <enum name="GL_SAMPLER_3D"/> + <enum name="GL_SAMPLER_CUBE"/> + <enum name="GL_SAMPLER_1D_SHADOW"/> + <enum name="GL_SAMPLER_2D_SHADOW"/> + <enum name="GL_SAMPLER_1D_ARRAY"/> + <enum name="GL_SAMPLER_2D_ARRAY"/> + <enum name="GL_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_SAMPLER_1D_ARRAY_SHADOW"/> + <enum name="GL_SAMPLER_2D_ARRAY_SHADOW"/> + <enum name="GL_SAMPLER_2D_MULTISAMPLE"/> + <enum name="GL_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_SAMPLER_CUBE_SHADOW"/> + <enum name="GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW"/> + <enum name="GL_SAMPLER_BUFFER"/> + <enum name="GL_SAMPLER_2D_RECT"/> + <enum name="GL_SAMPLER_2D_RECT_SHADOW"/> + <enum name="GL_INT_SAMPLER_1D"/> + <enum name="GL_INT_SAMPLER_2D"/> + <enum name="GL_INT_SAMPLER_3D"/> + <enum name="GL_INT_SAMPLER_CUBE"/> + <enum name="GL_INT_SAMPLER_1D_ARRAY"/> + <enum name="GL_INT_SAMPLER_2D_ARRAY"/> + <enum name="GL_INT_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_INT_SAMPLER_2D_MULTISAMPLE"/> + <enum name="GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_INT_SAMPLER_BUFFER"/> + <enum name="GL_INT_SAMPLER_2D_RECT"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_1D"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_3D"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_CUBE"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_1D_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_BUFFER"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_RECT"/> + <enum name="GL_IMAGE_1D"/> + <enum name="GL_IMAGE_2D"/> + <enum name="GL_IMAGE_3D"/> + <enum name="GL_IMAGE_2D_RECT"/> + <enum name="GL_IMAGE_CUBE"/> + <enum name="GL_IMAGE_BUFFER"/> + <enum name="GL_IMAGE_1D_ARRAY"/> + <enum name="GL_IMAGE_2D_ARRAY"/> + <enum name="GL_IMAGE_CUBE_MAP_ARRAY"/> + <enum name="GL_IMAGE_2D_MULTISAMPLE"/> + <enum name="GL_IMAGE_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_INT_IMAGE_1D"/> + <enum name="GL_INT_IMAGE_2D"/> + <enum name="GL_INT_IMAGE_3D"/> + <enum name="GL_INT_IMAGE_2D_RECT"/> + <enum name="GL_INT_IMAGE_CUBE"/> + <enum name="GL_INT_IMAGE_BUFFER"/> + <enum name="GL_INT_IMAGE_1D_ARRAY"/> + <enum name="GL_INT_IMAGE_2D_ARRAY"/> + <enum name="GL_INT_IMAGE_CUBE_MAP_ARRAY"/> + <enum name="GL_INT_IMAGE_2D_MULTISAMPLE"/> + <enum name="GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_UNSIGNED_INT_IMAGE_1D"/> + <enum name="GL_UNSIGNED_INT_IMAGE_2D"/> + <enum name="GL_UNSIGNED_INT_IMAGE_3D"/> + <enum name="GL_UNSIGNED_INT_IMAGE_2D_RECT"/> + <enum name="GL_UNSIGNED_INT_IMAGE_CUBE"/> + <enum name="GL_UNSIGNED_INT_IMAGE_BUFFER"/> + <enum name="GL_UNSIGNED_INT_IMAGE_1D_ARRAY"/> + <enum name="GL_UNSIGNED_INT_IMAGE_2D_ARRAY"/> + <enum name="GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY"/> + <enum name="GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE"/> + <enum name="GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_UNSIGNED_INT_ATOMIC_COUNTER"/> + </group> + + <group name="TransformFeedbackBufferMode" comment="See glTransformFeedbackVaryings()"> + <enum name="GL_INTERLEAVED_ATTRIBS"/> + <enum name="GL_SEPARATE_ATTRIBS"/> + </group> + + <group name="VertexAttribIType"> + <enum name="GL_BYTE"/> + <enum name="GL_UNSIGNED_BYTE"/> + <enum name="GL_SHORT"/> + <enum name="GL_UNSIGNED_SHORT"/> + <enum name="GL_INT"/> + <enum name="GL_UNSIGNED_INT"/> + </group> + + <group name="VertexAttribLType"> + <enum name="GL_DOUBLE"/> + </group> + + <group name="ProgramResourceProperty"> + <enum name="GL_ACTIVE_VARIABLES"/> + <enum name="GL_BUFFER_BINDING"/> + <enum name="GL_NUM_ACTIVE_VARIABLES"/> + <enum name="GL_ARRAY_SIZE"/> + <enum name="GL_ARRAY_STRIDE"/> + <enum name="GL_BLOCK_INDEX"/> + <enum name="GL_IS_ROW_MAJOR"/> + <enum name="GL_MATRIX_STRIDE"/> + <enum name="GL_ATOMIC_COUNTER_BUFFER_INDEX"/> + <enum name="GL_BUFFER_DATA_SIZE"/> + <enum name="GL_NUM_COMPATIBLE_SUBROUTINES"/> + <enum name="GL_COMPATIBLE_SUBROUTINES"/> + <enum name="GL_IS_PER_PATCH"/> + <enum name="GL_LOCATION"/> + <enum name="GL_UNIFORM"/> + <enum name="GL_LOCATION_COMPONENT"/> + <enum name="GL_LOCATION_INDEX"/> + <enum name="GL_NAME_LENGTH"/> + <enum name="GL_OFFSET"/> + <enum name="GL_REFERENCED_BY_VERTEX_SHADER"/> + <enum name="GL_REFERENCED_BY_TESS_CONTROL_SHADER"/> + <enum name="GL_REFERENCED_BY_TESS_EVALUATION_SHADER"/> + <enum name="GL_REFERENCED_BY_GEOMETRY_SHADER"/> + <enum name="GL_REFERENCED_BY_FRAGMENT_SHADER"/> + <enum name="GL_REFERENCED_BY_COMPUTE_SHADER"/> + <enum name="GL_TRANSFORM_FEEDBACK_BUFFER_INDEX"/> + <enum name="GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE"/> + <enum name="GL_TOP_LEVEL_ARRAY_SIZE"/> + <enum name="GL_TOP_LEVEL_ARRAY_STRIDE"/> + <enum name="GL_TYPE"/> + </group> + + <group name="TextureCompareMode"> + <enum name="GL_NONE"/> + <enum name="GL_COMPARE_REF_TO_TEXTURE"/> + <enum name="GL_COMPARE_R_TO_TEXTURE"/> + </group> + + <group name="TextureSwizzle"> + <enum name="GL_RED"/> + <enum name="GL_GREEN"/> + <enum name="GL_BLUE"/> + <enum name="GL_ALPHA"/> + <enum name="GL_ZERO"/> + <enum name="GL_ONE"/> + </group> + </groups> <!-- SECTION: GL enumerant (token) definitions. --> @@ -3416,11 +4607,20 @@ typedef unsigned int GLhandleARB; <enum value="0x20000000" name="GL_MULTISAMPLE_BIT_ARB"/> <enum value="0x20000000" name="GL_MULTISAMPLE_BIT_EXT"/> <enum value="0x20000000" name="GL_MULTISAMPLE_BIT_3DFX"/> - <enum value="0x000FFFFF" name="GL_ALL_ATTRIB_BITS" comment="Guaranteed to mark all attribute groups at once"/> + <enum value="0xFFFFFFFF" name="GL_ALL_ATTRIB_BITS" comment="Guaranteed to mark all attribute groups at once"/> </enums> - <enums namespace="GL" group="BufferAccessMask" type="bitmask" comment="GL_MAP_{COHERENT,FLUSH_EXPLICIT,INVALIDATE_BUFFER,INVALIDATE_RANGE,PERSISTENT,READ,UNSYNCHRONIZED,WRITE}_{BIT,BIT_EXT} also lie in this namespace"> - <!-- Also used: 0x000000ff for bits reused from MapBufferUsageMask below --> + <enums namespace="GL" group="BufferStorageMask" type="bitmask" comment="GL_MAP_{COHERENT,PERSISTENT,READ,WRITE}_{BIT,BIT_EXT} also lie in this namespace"> + <enum value="0x0100" name="GL_DYNAMIC_STORAGE_BIT"/> + <enum value="0x0100" name="GL_DYNAMIC_STORAGE_BIT_EXT"/> + <enum value="0x0200" name="GL_CLIENT_STORAGE_BIT"/> + <enum value="0x0200" name="GL_CLIENT_STORAGE_BIT_EXT"/> + <enum value="0x0400" name="GL_SPARSE_STORAGE_BIT_ARB"/> + <enum value="0x0800" name="GL_LGPU_SEPARATE_STORAGE_BIT_NVX"/> + <enum value="0x0800" name="GL_PER_GPU_STORAGE_BIT_NV"/> + <unused start="0x1000" end="0x1000" comment="Reserved for NVIDIA"/> + <enum value="0x2000" name="GL_EXTERNAL_STORAGE_BIT_NVX"/> + <!-- Also used: 0x000000ff for bits reused from MapBufferAccessMask below --> </enums> <enums namespace="GL" group="ClearBufferMask" type="bitmask" comment="GL_{DEPTH,ACCUM,STENCIL,COLOR}_BUFFER_BIT also lie in this namespace"> @@ -3450,7 +4650,7 @@ typedef unsigned int GLhandleARB; <enum value="0x00000002" name="GL_CONTEXT_COMPATIBILITY_PROFILE_BIT"/> </enums> - <enums namespace="GL" group="MapBufferUsageMask" type="bitmask"> + <enums namespace="GL" group="MapBufferAccessMask" type="bitmask"> <enum value="0x0001" name="GL_MAP_READ_BIT"/> <enum value="0x0001" name="GL_MAP_READ_BIT_EXT"/> <enum value="0x0002" name="GL_MAP_WRITE_BIT"/> @@ -3467,15 +4667,6 @@ typedef unsigned int GLhandleARB; <enum value="0x0040" name="GL_MAP_PERSISTENT_BIT_EXT"/> <enum value="0x0080" name="GL_MAP_COHERENT_BIT"/> <enum value="0x0080" name="GL_MAP_COHERENT_BIT_EXT"/> - <enum value="0x0100" name="GL_DYNAMIC_STORAGE_BIT"/> - <enum value="0x0100" name="GL_DYNAMIC_STORAGE_BIT_EXT"/> - <enum value="0x0200" name="GL_CLIENT_STORAGE_BIT"/> - <enum value="0x0200" name="GL_CLIENT_STORAGE_BIT_EXT"/> - <enum value="0x0400" name="GL_SPARSE_STORAGE_BIT_ARB"/> - <enum value="0x0800" name="GL_LGPU_SEPARATE_STORAGE_BIT_NVX"/> - <enum value="0x0800" name="GL_PER_GPU_STORAGE_BIT_NV"/> - <unused start="0x1000" end="0x1000" comment="Reserved for NVIDIA"/> - <enum value="0x2000" name="GL_EXTERNAL_STORAGE_BIT_NVX"/> </enums> <enums namespace="GL" group="MemoryBarrierMask" type="bitmask"> @@ -3540,10 +4731,24 @@ typedef unsigned int GLhandleARB; <enum value="0x00000010" name="GL_TESS_EVALUATION_SHADER_BIT_EXT"/> <enum value="0x00000010" name="GL_TESS_EVALUATION_SHADER_BIT_OES"/> <enum value="0x00000020" name="GL_COMPUTE_SHADER_BIT"/> + <enum value="0x00000040" name="GL_MESH_SHADER_BIT_NV"/> + <enum value="0x00000080" name="GL_TASK_SHADER_BIT_NV"/> <enum value="0xFFFFFFFF" name="GL_ALL_SHADER_BITS"/> <enum value="0xFFFFFFFF" name="GL_ALL_SHADER_BITS_EXT"/> </enums> + <enums namespace="GL" group="SubgroupSupportedFeatures" type="bitmask"> + <enum value="0x00000001" name="GL_SUBGROUP_FEATURE_BASIC_BIT_KHR"/> + <enum value="0x00000002" name="GL_SUBGROUP_FEATURE_VOTE_BIT_KHR"/> + <enum value="0x00000004" name="GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR"/> + <enum value="0x00000008" name="GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR"/> + <enum value="0x00000010" name="GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR"/> + <enum value="0x00000020" name="GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR"/> + <enum value="0x00000040" name="GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR"/> + <enum value="0x00000080" name="GL_SUBGROUP_FEATURE_QUAD_BIT_KHR"/> + <enum value="0x00000100" name="GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV"/> + </enums> + <!-- Bitmasks defined by vendor extensions --> <enums namespace="GL" group="TextureStorageMaskAMD" type="bitmask"> @@ -3675,6 +4880,7 @@ typedef unsigned int GLhandleARB; <enums namespace="GL" group="FoveationConfigBitQCOM" type="bitmask"> <enum value="0x00000001" name="GL_FOVEATION_ENABLE_BIT_QCOM"/> <enum value="0x00000002" name="GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM"/> + <enum value="0x00000004" name="GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM"/> </enums> <enums namespace="GL" group="FfdMaskSGIX" type="bitmask"> @@ -5779,7 +6985,8 @@ typedef unsigned int GLhandleARB; <enum value="0x83F9" name="GL_PERFQUERY_DONOT_FLUSH_INTEL"/> <enum value="0x83FA" name="GL_PERFQUERY_FLUSH_INTEL"/> <enum value="0x83FB" name="GL_PERFQUERY_WAIT_INTEL"/> - <unused start="0x83FC" end="0x83FD" vendor="INTEL"/> + <enum value="0x83FC" name="GL_BLACKHOLE_RENDER_INTEL"/> + <unused start="0x83FD" vendor="INTEL"/> <enum value="0x83FE" name="GL_CONSERVATIVE_RASTERIZATION_INTEL"/> <enum value="0x83FF" name="GL_TEXTURE_MEMORY_LAYOUT_INTEL"/> </enums> @@ -6492,6 +7699,7 @@ typedef unsigned int GLhandleARB; <enum value="0x864E" name="GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV"/> <enum value="0x864F" name="GL_DEPTH_CLAMP"/> <enum value="0x864F" name="GL_DEPTH_CLAMP_NV"/> + <enum value="0x864F" name="GL_DEPTH_CLAMP_EXT"/> <enum value="0x8650" name="GL_VERTEX_ATTRIB_ARRAY0_NV"/> <enum value="0x8651" name="GL_VERTEX_ATTRIB_ARRAY1_NV"/> <enum value="0x8652" name="GL_VERTEX_ATTRIB_ARRAY2_NV"/> @@ -7832,6 +9040,7 @@ typedef unsigned int GLhandleARB; <enum value="0x8BB8" name="GL_TILE_RASTER_ORDER_FIXED_MESA"/> <enum value="0x8BB9" name="GL_TILE_RASTER_ORDER_INCREASING_X_MESA"/> <enum value="0x8BBA" name="GL_TILE_RASTER_ORDER_INCREASING_Y_MESA"/> + <enum value="0x8BBB" name="GL_FRAMEBUFFER_FLIP_Y_MESA" /> </enums> <enums namespace="GL" start="0x8BC0" end="0x8BFF" vendor="QCOM" comment="Reassigned from AMD to QCOM"> @@ -8652,7 +9861,22 @@ typedef unsigned int GLhandleARB; <enum value="0x8E5F" name="GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET"/> <enum value="0x8E5F" name="GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB"/> <enum value="0x8E5F" name="GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV"/> - <unused start="0x8E60" end="0x8E6F" vendor="NV"/> + <enum value="0x8E60" name="GL_MAX_MESH_UNIFORM_BLOCKS_NV"/> + <enum value="0x8E61" name="GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV"/> + <enum value="0x8E62" name="GL_MAX_MESH_IMAGE_UNIFORMS_NV"/> + <enum value="0x8E63" name="GL_MAX_MESH_UNIFORM_COMPONENTS_NV"/> + <enum value="0x8E64" name="GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV"/> + <enum value="0x8E65" name="GL_MAX_MESH_ATOMIC_COUNTERS_NV"/> + <enum value="0x8E66" name="GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV"/> + <enum value="0x8E67" name="GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV"/> + <enum value="0x8E68" name="GL_MAX_TASK_UNIFORM_BLOCKS_NV"/> + <enum value="0x8E69" name="GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV"/> + <enum value="0x8E6A" name="GL_MAX_TASK_IMAGE_UNIFORMS_NV"/> + <enum value="0x8E6B" name="GL_MAX_TASK_UNIFORM_COMPONENTS_NV"/> + <enum value="0x8E6C" name="GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV"/> + <enum value="0x8E6D" name="GL_MAX_TASK_ATOMIC_COUNTERS_NV"/> + <enum value="0x8E6E" name="GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV"/> + <enum value="0x8E6F" name="GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV"/> <enum value="0x8E70" name="GL_MAX_TRANSFORM_FEEDBACK_BUFFERS"/> <enum value="0x8E71" name="GL_MAX_VERTEX_STREAMS"/> <enum value="0x8E72" name="GL_PATCH_VERTICES"/> @@ -8901,7 +10125,8 @@ typedef unsigned int GLhandleARB; <enums namespace="GL" start="0x8FA0" end="0x8FBF" vendor="QCOM" comment="For Maurice Ribble, bug 4512"> <enum value="0x8FA0" name="GL_PERFMON_GLOBAL_MODE_QCOM"/> - <unused start="0x8FA1" end="0x8FAF" vendor="QCOM"/> + <enum value="0x8FA1" name="GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM"/> + <unused start="0x8FA2" end="0x8FAF" vendor="QCOM"/> <enum value="0x8FB0" name="GL_BINNING_CONTROL_HINT_QCOM"/> <enum value="0x8FB1" name="GL_CPU_OPTIMIZED_QCOM"/> <enum value="0x8FB2" name="GL_GPU_OPTIMIZED_QCOM"/> @@ -8911,7 +10136,7 @@ typedef unsigned int GLhandleARB; <unused start="0x8FBC" vendor="QCOM"/> <enum value="0x8FBD" name="GL_SR8_EXT"/> <enum value="0x8FBE" name="GL_SRG8_EXT"/> - <unused start="0x8FBF" vendor="QCOM"/> + <enum value="0x8FBF" name="GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT"/> </enums> <enums namespace="GL" start="0x8FC0" end="0x8FDF" vendor="VIV" comment="For Frido Garritsen, bug 4526"> @@ -9460,7 +10685,13 @@ typedef unsigned int GLhandleARB; <enum value="0x91B0" name="GL_MAX_SHADER_COMPILER_THREADS_ARB" alias="GL_MAX_SHADER_COMPILER_THREADS_KHR"/> <enum value="0x91B1" name="GL_COMPLETION_STATUS_KHR"/> <enum value="0x91B1" name="GL_COMPLETION_STATUS_ARB" alias="GL_COMPLETION_STATUS_KHR"/> - <unused start="0x91B2" end="0x91B8" vendor="AMD"/> + <enum value="0x91B2" name="GL_RENDERBUFFER_STORAGE_SAMPLES_AMD"/> + <enum value="0x91B3" name="GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD"/> + <enum value="0x91B4" name="GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD"/> + <enum value="0x91B5" name="GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD"/> + <enum value="0x91B6" name="GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD"/> + <enum value="0x91B7" name="GL_SUPPORTED_MULTISAMPLE_MODES_AMD"/> + <unused start="0x91B8" end="0x91B8" vendor="AMD"/> <enum value="0x91B9" name="GL_COMPUTE_SHADER"/> <unused start="0x91BA" vendor="AMD"/> <enum value="0x91BB" name="GL_MAX_COMPUTE_UNIFORM_BLOCKS"/> @@ -9664,7 +10895,7 @@ typedef unsigned int GLhandleARB; <enum value="0x92DC" name="GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS"/> <enum value="0x92DD" name="GL_FRAGMENT_COVERAGE_TO_COLOR_NV"/> <enum value="0x92DE" name="GL_FRAGMENT_COVERAGE_COLOR_NV"/> - <unused start="0x92DF" end="0x92DF" vendor="NV"/> + <enum value="0x92DF" name="GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV"/> <enum value="0x92E0" name="GL_DEBUG_OUTPUT"/> <enum value="0x92E0" name="GL_DEBUG_OUTPUT_KHR"/> <enum value="0x92E1" name="GL_UNIFORM"/> @@ -9827,7 +11058,7 @@ typedef unsigned int GLhandleARB; <enum value="0x937C" name="GL_VIEWPORT_POSITION_W_SCALE_NV"/> <enum value="0x937D" name="GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV"/> <enum value="0x937E" name="GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV"/> - <unused start="0x937F" vendor="NV"/> + <enum value="0x937F" name="GL_REPRESENTATIVE_FRAGMENT_TEST_NV"/> </enums> <enums namespace="GL" start="0x9380" end="0x939F" vendor="ARB"> @@ -9836,7 +11067,36 @@ typedef unsigned int GLhandleARB; <enum value="0x9381" name="GL_MULTISAMPLE_LINE_WIDTH_RANGE"/> <enum value="0x9382" name="GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB"/> <enum value="0x9382" name="GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY"/> - <unused start="0x9383" end="0x939F" vendor="ARB"/> + <enum value="0x9383" name="GL_VIEW_CLASS_EAC_R11"/> + <enum value="0x9384" name="GL_VIEW_CLASS_EAC_RG11"/> + <enum value="0x9385" name="GL_VIEW_CLASS_ETC2_RGB"/> + <enum value="0x9386" name="GL_VIEW_CLASS_ETC2_RGBA"/> + <enum value="0x9387" name="GL_VIEW_CLASS_ETC2_EAC_RGBA"/> + <enum value="0x9388" name="GL_VIEW_CLASS_ASTC_4x4_RGBA"/> + <enum value="0x9389" name="GL_VIEW_CLASS_ASTC_5x4_RGBA"/> + <enum value="0x938A" name="GL_VIEW_CLASS_ASTC_5x5_RGBA"/> + <enum value="0x938B" name="GL_VIEW_CLASS_ASTC_6x5_RGBA"/> + <enum value="0x938C" name="GL_VIEW_CLASS_ASTC_6x6_RGBA"/> + <enum value="0x938D" name="GL_VIEW_CLASS_ASTC_8x5_RGBA"/> + <enum value="0x938E" name="GL_VIEW_CLASS_ASTC_8x6_RGBA"/> + <enum value="0x938F" name="GL_VIEW_CLASS_ASTC_8x8_RGBA"/> + <enum value="0x9390" name="GL_VIEW_CLASS_ASTC_10x5_RGBA"/> + <enum value="0x9391" name="GL_VIEW_CLASS_ASTC_10x6_RGBA"/> + <enum value="0x9392" name="GL_VIEW_CLASS_ASTC_10x8_RGBA"/> + <enum value="0x9393" name="GL_VIEW_CLASS_ASTC_10x10_RGBA"/> + <enum value="0x9394" name="GL_VIEW_CLASS_ASTC_12x10_RGBA"/> + <enum value="0x9395" name="GL_VIEW_CLASS_ASTC_12x12_RGBA"/> + <unused start="0x9396" end="0x939F" vendor="ARB" comment="reserved for ASTC 3D interactions with ARB_ifq2"/> + <!-- <enum value="0x9396" name="GL_VIEW_CLASS_ASTC_3x3x3_RGBA"/> --> + <!-- <enum value="0x9397" name="GL_VIEW_CLASS_ASTC_4x3x3_RGBA"/> --> + <!-- <enum value="0x9398" name="GL_VIEW_CLASS_ASTC_4x4x3_RGBA"/> --> + <!-- <enum value="0x9399" name="GL_VIEW_CLASS_ASTC_4x4x4_RGBA"/> --> + <!-- <enum value="0x939A" name="GL_VIEW_CLASS_ASTC_5x4x4_RGBA"/> --> + <!-- <enum value="0x939B" name="GL_VIEW_CLASS_ASTC_5x5x4_RGBA"/> --> + <!-- <enum value="0x939C" name="GL_VIEW_CLASS_ASTC_5x5x5_RGBA"/> --> + <!-- <enum value="0x939D" name="GL_VIEW_CLASS_ASTC_6x5x5_RGBA"/> --> + <!-- <enum value="0x939E" name="GL_VIEW_CLASS_ASTC_6x6x5_RGBA"/> --> + <!-- <enum value="0x939F" name="GL_VIEW_CLASS_ASTC_6x6x6_RGBA"/> --> </enums> <enums namespace="GL" start="0x93A0" end="0x93AF" vendor="ANGLE" comment="Khronos bug 8100"> @@ -9966,18 +11226,32 @@ typedef unsigned int GLhandleARB; <enums namespace="GL" start="0x9530" end="0x962F" vendor="NV" comment="Khronos bug 12977"> <enum value="0x9530" name="GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT"/> <enum value="0x9531" name="GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT"/> - <unused start="0x9532" end="0x953F" vendor="NV"/> + <enum value="0x9532" name="GL_SUBGROUP_SIZE_KHR"/> + <enum value="0x9533" name="GL_SUBGROUP_SUPPORTED_STAGES_KHR"/> + <enum value="0x9534" name="GL_SUBGROUP_SUPPORTED_FEATURES_KHR"/> + <enum value="0x9535" name="GL_SUBGROUP_QUAD_ALL_STAGES_KHR"/> + <enum value="0x9536" name="GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV"/> + <enum value="0x9537" name="GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV"/> + <enum value="0x9538" name="GL_MAX_MESH_OUTPUT_VERTICES_NV"/> + <enum value="0x9539" name="GL_MAX_MESH_OUTPUT_PRIMITIVES_NV"/> + <enum value="0x953A" name="GL_MAX_TASK_OUTPUT_COUNT_NV"/> + <enum value="0x953B" name="GL_MAX_MESH_WORK_GROUP_SIZE_NV"/> + <enum value="0x953C" name="GL_MAX_TASK_WORK_GROUP_SIZE_NV"/> + <enum value="0x953D" name="GL_MAX_DRAW_MESH_TASKS_COUNT_NV"/> + <enum value="0x953E" name="GL_MESH_WORK_GROUP_SIZE_NV"/> + <enum value="0x953F" name="GL_TASK_WORK_GROUP_SIZE_NV"/> <enum value="0x9540" name="GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV"/> <unused start="0x9541" vendor="NV"/> <enum value="0x9542" name="GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV"/> - <unused start="0x9543" vendor="NV"/> + <enum value="0x9543" name="GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV"/> <enum value="0x9544" name="GL_QUERY_RESOURCE_SYS_RESERVED_NV"/> <enum value="0x9545" name="GL_QUERY_RESOURCE_TEXTURE_NV"/> <enum value="0x9546" name="GL_QUERY_RESOURCE_RENDERBUFFER_NV"/> <enum value="0x9547" name="GL_QUERY_RESOURCE_BUFFEROBJECT_NV"/> <enum value="0x9548" name="GL_PER_GPU_STORAGE_NV"/> <enum value="0x9549" name="GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV"/> - <unused start="0x954A" end="0x954C" vendor="NV"/> + <enum value="0x954A" name="GL_UPLOAD_GPU_MASK_NVX"/> + <unused start="0x954B" end="0x954C" vendor="NV"/> <enum value="0x954D" name="GL_CONSERVATIVE_RASTER_MODE_NV"/> <enum value="0x954E" name="GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV"/> <enum value="0x954F" name="GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV"/> @@ -9988,9 +11262,39 @@ typedef unsigned int GLhandleARB; <enum value="0x9552" name="GL_SPIR_V_BINARY_ARB" alias="GL_SPIR_V_BINARY"/> <enum value="0x9553" name="GL_SPIR_V_EXTENSIONS"/> <enum value="0x9554" name="GL_NUM_SPIR_V_EXTENSIONS"/> - <unused start="0x9555" end="0x9557" vendor="NV"/> + <enum value="0x9555" name="GL_SCISSOR_TEST_EXCLUSIVE_NV"/> + <enum value="0x9556" name="GL_SCISSOR_BOX_EXCLUSIVE_NV"/> + <enum value="0x9557" name="GL_MAX_MESH_VIEWS_NV"/> <enum value="0x9558" name="GL_RENDER_GPU_MASK_NV"/> - <unused start="0x9559" end="0x957F" vendor="NV"/> + <enum value="0x9559" name="GL_MESH_SHADER_NV"/> + <enum value="0x955A" name="GL_TASK_SHADER_NV"/> + <enum value="0x955B" name="GL_SHADING_RATE_IMAGE_BINDING_NV"/> + <enum value="0x955C" name="GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV"/> + <enum value="0x955D" name="GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV"/> + <enum value="0x955E" name="GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV"/> + <enum value="0x955F" name="GL_MAX_COARSE_FRAGMENT_SAMPLES_NV"/> + <unused start="0x9560" end="0x9562" vendor="NV"/> + <enum value="0x9563" name="GL_SHADING_RATE_IMAGE_NV"/> + <enum value="0x9564" name="GL_SHADING_RATE_NO_INVOCATIONS_NV"/> + <enum value="0x9565" name="GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV"/> + <enum value="0x9566" name="GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV"/> + <enum value="0x9567" name="GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV"/> + <enum value="0x9568" name="GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV"/> + <enum value="0x9569" name="GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV"/> + <enum value="0x956A" name="GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV"/> + <enum value="0x956B" name="GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV"/> + <enum value="0x956C" name="GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV"/> + <enum value="0x956D" name="GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV"/> + <enum value="0x956E" name="GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV"/> + <enum value="0x956F" name="GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV"/> + <unused start="0x9570" end="0x9578" vendor="NV"/> + <enum value="0x9579" name="GL_MESH_VERTICES_OUT_NV"/> + <enum value="0x957A" name="GL_MESH_PRIMITIVES_OUT_NV"/> + <enum value="0x957B" name="GL_MESH_OUTPUT_TYPE_NV"/> + <enum value="0x957C" name="GL_MESH_SUBROUTINE_NV"/> + <enum value="0x957D" name="GL_TASK_SUBROUTINE_NV"/> + <enum value="0x957E" name="GL_MESH_SUBROUTINE_UNIFORM_NV"/> + <enum value="0x957F" name="GL_TASK_SUBROUTINE_UNIFORM_NV"/> <enum value="0x9580" name="GL_TEXTURE_TILING_EXT"/> <enum value="0x9581" name="GL_DEDICATED_MEMORY_OBJECT_EXT"/> <enum value="0x9582" name="GL_NUM_TILING_TYPES_EXT"/> @@ -10019,7 +11323,28 @@ typedef unsigned int GLhandleARB; <enum value="0x9599" name="GL_DEVICE_LUID_EXT"/> <enum value="0x959A" name="GL_DEVICE_NODE_MASK_EXT"/> <enum value="0x959B" name="GL_PROTECTED_MEMORY_OBJECT_EXT"/> - <unused start="0x959C" end="0x962F" vendor="NV"/> + <enum value="0x959C" name="GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV"/> + <enum value="0x959D" name="GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV"/> + <enum value="0x959E" name="GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV"/> + <enum value="0x959F" name="GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV"/> + <enum value="0x95A0" name="GL_REFERENCED_BY_MESH_SHADER_NV"/> + <enum value="0x95A1" name="GL_REFERENCED_BY_TASK_SHADER_NV"/> + <enum value="0x95A2" name="GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV"/> + <enum value="0x95A3" name="GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV"/> + <enum value="0x95A4" name="GL_ATTACHED_MEMORY_OBJECT_NV"/> + <enum value="0x95A5" name="GL_ATTACHED_MEMORY_OFFSET_NV"/> + <enum value="0x95A6" name="GL_MEMORY_ATTACHABLE_ALIGNMENT_NV"/> + <enum value="0x95A7" name="GL_MEMORY_ATTACHABLE_SIZE_NV"/> + <enum value="0x95A8" name="GL_MEMORY_ATTACHABLE_NV"/> + <enum value="0x95A9" name="GL_DETACHED_MEMORY_INCARNATION_NV"/> + <enum value="0x95AA" name="GL_DETACHED_TEXTURES_NV"/> + <enum value="0x95AB" name="GL_DETACHED_BUFFERS_NV"/> + <enum value="0x95AC" name="GL_MAX_DETACHED_TEXTURES_NV"/> + <enum value="0x95AD" name="GL_MAX_DETACHED_BUFFERS_NV"/> + <enum value="0x95AE" name="GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV"/> + <enum value="0x95AF" name="GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV"/> + <enum value="0x95B0" name="GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV"/> + <unused start="0x9581" end="0x962F" vendor="NV"/> </enums> <enums namespace="GL" start="0x9630" end="0x963F" vendor="Oculus" comment="Email from Cass Everitt"> @@ -10050,7 +11375,8 @@ typedef unsigned int GLhandleARB; <enums namespace="GL" start="0x96A0" end="0x96AF" vendor="Qualcomm" comment="contact Maurice Ribble"> <unused start="0x96A0" end="0x96A1" vendor="Qualcomm"/> <enum value="0x96A2" name="GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM"/> - <unused start="0x96A3" end="0x96AF" vendor="Qualcomm"/> + <enum value="0x96A3" name="GL_VALIDATE_SHADER_BINARY_QCOM"/> + <unused start="0x96A4" end="0x96AF" vendor="Qualcomm"/> </enums> <!-- Enums reservable for future use. To reserve a new range, allocate one @@ -10289,6 +11615,48 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>offset</name></param> </command> <command> + <proto><ptype>GLuint</ptype> <name>glAsyncCopyBufferSubDataNVX</name></proto> + <param><ptype>GLsizei</ptype> <name>waitSemaphoreCount</name></param> + <param len="waitSemaphoreCount">const <ptype>GLuint</ptype> *<name>waitSemaphoreArray</name></param> + <param len="waitSemaphoreCount">const <ptype>GLuint64</ptype> *<name>fenceValueArray</name></param> + <param><ptype>GLuint</ptype> <name>readGpu</name></param> + <param><ptype>GLbitfield</ptype> <name>writeGpuMask</name></param> + <param><ptype>GLuint</ptype> <name>readBuffer</name></param> + <param><ptype>GLuint</ptype> <name>writeBuffer</name></param> + <param><ptype>GLintptr</ptype> <name>readOffset</name></param> + <param><ptype>GLintptr</ptype> <name>writeOffset</name></param> + <param><ptype>GLsizeiptr</ptype> <name>size</name></param> + <param><ptype>GLsizei</ptype> <name>signalSemaphoreCount</name></param> + <param len="signalSemaphoreCount">const <ptype>GLuint</ptype> *<name>signalSemaphoreArray</name></param> + <param len="signalSemaphoreCount">const <ptype>GLuint64</ptype> *<name>signalValueArray</name></param> + </command> + <command> + <proto><ptype>GLuint</ptype> <name>glAsyncCopyImageSubDataNVX</name></proto> + <param><ptype>GLsizei</ptype> <name>waitSemaphoreCount</name></param> + <param len="waitSemaphoreCount">const <ptype>GLuint</ptype> *<name>waitSemaphoreArray</name></param> + <param len="waitSemaphoreCount">const <ptype>GLuint64</ptype> *<name>waitValueArray</name></param> + <param><ptype>GLuint</ptype> <name>srcGpu</name></param> + <param><ptype>GLbitfield</ptype> <name>dstGpuMask</name></param> + <param><ptype>GLuint</ptype> <name>srcName</name></param> + <param><ptype>GLenum</ptype> <name>srcTarget</name></param> + <param><ptype>GLint</ptype> <name>srcLevel</name></param> + <param><ptype>GLint</ptype> <name>srcX</name></param> + <param><ptype>GLint</ptype> <name>srcY</name></param> + <param><ptype>GLint</ptype> <name>srcZ</name></param> + <param><ptype>GLuint</ptype> <name>dstName</name></param> + <param><ptype>GLenum</ptype> <name>dstTarget</name></param> + <param><ptype>GLint</ptype> <name>dstLevel</name></param> + <param><ptype>GLint</ptype> <name>dstX</name></param> + <param><ptype>GLint</ptype> <name>dstY</name></param> + <param><ptype>GLint</ptype> <name>dstZ</name></param> + <param><ptype>GLsizei</ptype> <name>srcWidth</name></param> + <param><ptype>GLsizei</ptype> <name>srcHeight</name></param> + <param><ptype>GLsizei</ptype> <name>srcDepth</name></param> + <param><ptype>GLsizei</ptype> <name>signalSemaphoreCount</name></param> + <param len="signalSemaphoreCount">const <ptype>GLuint</ptype> *<name>signalSemaphoreArray</name></param> + <param len="signalSemaphoreCount">const <ptype>GLuint64</ptype> *<name>signalValueArray</name></param> + </command> + <command> <proto>void <name>glAsyncMarkerSGIX</name></proto> <param><ptype>GLuint</ptype> <name>marker</name></param> </command> @@ -10311,12 +11679,12 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glBeginConditionalRender</name></proto> <param><ptype>GLuint</ptype> <name>id</name></param> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>mode</name></param> + <param group="ConditionalRenderMode"><ptype>GLenum</ptype> <name>mode</name></param> </command> <command> <proto>void <name>glBeginConditionalRenderNV</name></proto> <param><ptype>GLuint</ptype> <name>id</name></param> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>mode</name></param> + <param group="ConditionalRenderMode"><ptype>GLenum</ptype> <name>mode</name></param> <alias name="glBeginConditionalRender"/> <glx type="render" opcode="348"/> </command> @@ -10632,6 +12000,10 @@ typedef unsigned int GLhandleARB; <param len="count">const <ptype>GLuint</ptype> *<name>samplers</name></param> </command> <command> + <proto>void <name>glBindShadingRateImageNV</name></proto> + <param><ptype>GLuint</ptype> <name>texture</name></param> + </command> + <command> <proto><ptype>GLuint</ptype> <name>glBindTexGenParameterEXT</name></proto> <param group="TextureUnit"><ptype>GLenum</ptype> <name>unit</name></param> <param group="TextureCoordName"><ptype>GLenum</ptype> <name>coord</name></param> @@ -11139,6 +12511,12 @@ typedef unsigned int GLhandleARB; <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>length</name></param> </command> <command> + <proto>void <name>glBufferAttachMemoryNV</name></proto> + <param group="BufferTargetARB"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLuint</ptype> <name>memory</name></param> + <param><ptype>GLuint64</ptype> <name>offset</name></param> + </command> + <command> <proto>void <name>glBufferData</name></proto> <param group="BufferTargetARB"><ptype>GLenum</ptype> <name>target</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param> @@ -11171,14 +12549,14 @@ typedef unsigned int GLhandleARB; <param group="BufferStorageTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLsizeiptr</ptype> <name>size</name></param> <param len="size">const void *<name>data</name></param> - <param group="MapBufferUsageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> + <param group="BufferStorageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> </command> <command> <proto>void <name>glBufferStorageEXT</name></proto> <param group="BufferStorageTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLsizeiptr</ptype> <name>size</name></param> <param len="size">const void *<name>data</name></param> - <param group="MapBufferUsageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> + <param group="BufferStorageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> <alias name="glBufferStorage"/> </command> <command> @@ -11187,7 +12565,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLintptr</ptype> <name>offset</name></param> <param><ptype>GLsizeiptr</ptype> <name>size</name></param> <param><ptype>GLeglClientBufferEXT</ptype> <name>clientBuffer</name></param> - <param group="MapBufferUsageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> + <param group="BufferStorageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> </command> <command> <proto>void <name>glBufferStorageMemEXT</name></proto> @@ -11295,7 +12673,7 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glClearBufferSubData</name></proto> - <param><ptype>GLenum</ptype> <name>target</name></param> + <param group="BufferTargetARB"><ptype>GLenum</ptype> <name>target</name></param> <param group="InternalFormat"><ptype>GLenum</ptype> <name>internalformat</name></param> <param group="BufferOffset"><ptype>GLintptr</ptype> <name>offset</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param> @@ -11543,6 +12921,12 @@ typedef unsigned int GLhandleARB; <param group="ClientAttribMask"><ptype>GLbitfield</ptype> <name>mask</name></param> </command> <command> + <proto>void <name>glClientWaitSemaphoreui64NVX</name></proto> + <param><ptype>GLsizei</ptype> <name>fenceObjectCount</name></param> + <param len="fenceObjectCount">const <ptype>GLuint</ptype> *<name>semaphoreArray</name></param> + <param len="fenceObjectCount">const <ptype>GLuint64</ptype> *<name>fenceValueArray</name></param> + </command> + <command> <proto group="SyncStatus"><ptype>GLenum</ptype> <name>glClientWaitSync</name></proto> <param group="sync"><ptype>GLsync</ptype> <name>sync</name></param> <param group="SyncObjectMask"><ptype>GLbitfield</ptype> <name>flags</name></param> @@ -12824,13 +14208,13 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glCopyImageSubData</name></proto> <param><ptype>GLuint</ptype> <name>srcName</name></param> - <param group="CopyBufferSubDataTarget"><ptype>GLenum</ptype> <name>srcTarget</name></param> + <param group="CopyImageSubDataTarget"><ptype>GLenum</ptype> <name>srcTarget</name></param> <param><ptype>GLint</ptype> <name>srcLevel</name></param> <param><ptype>GLint</ptype> <name>srcX</name></param> <param><ptype>GLint</ptype> <name>srcY</name></param> <param><ptype>GLint</ptype> <name>srcZ</name></param> <param><ptype>GLuint</ptype> <name>dstName</name></param> - <param group="CopyBufferSubDataTarget"><ptype>GLenum</ptype> <name>dstTarget</name></param> + <param group="CopyImageSubDataTarget"><ptype>GLenum</ptype> <name>dstTarget</name></param> <param><ptype>GLint</ptype> <name>dstLevel</name></param> <param><ptype>GLint</ptype> <name>dstX</name></param> <param><ptype>GLint</ptype> <name>dstY</name></param> @@ -13291,6 +14675,9 @@ typedef unsigned int GLhandleARB; <param len="n"><ptype>GLuint</ptype> *<name>pipelines</name></param> </command> <command> + <proto><ptype>GLuint</ptype> <name>glCreateProgressFenceNVX</name></proto> + </command> + <command> <proto>void <name>glCreateQueries</name></proto> <param group="QueryTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLsizei</ptype> <name>n</name></param> @@ -13785,8 +15172,8 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glDepthRange</name></proto> - <param><ptype>GLdouble</ptype> <name>near</name></param> - <param><ptype>GLdouble</ptype> <name>far</name></param> + <param><ptype>GLdouble</ptype> <name>n</name></param> + <param><ptype>GLdouble</ptype> <name>f</name></param> <glx type="render" opcode="174"/> </command> <command> @@ -14066,19 +15453,19 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glDrawBuffers</name></proto> <param><ptype>GLsizei</ptype> <name>n</name></param> - <param group="DrawBufferModeATI" len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> + <param group="DrawBufferMode" len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> <glx type="render" opcode="233"/> </command> <command> <proto>void <name>glDrawBuffersARB</name></proto> <param><ptype>GLsizei</ptype> <name>n</name></param> - <param group="DrawBufferModeATI" len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> + <param group="DrawBufferMode" len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> <alias name="glDrawBuffers"/> </command> <command> <proto>void <name>glDrawBuffersATI</name></proto> <param><ptype>GLsizei</ptype> <name>n</name></param> - <param group="DrawBufferModeATI" len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> + <param group="DrawBufferMode" len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> <alias name="glDrawBuffers"/> <glx type="render" opcode="233"/> </command> @@ -14239,7 +15626,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glDrawElementsInstancedBaseVertexBaseInstance</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> - <param group="PrimitiveType"><ptype>GLenum</ptype> <name>type</name></param> + <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> <param len="count">const void *<name>indices</name></param> <param><ptype>GLsizei</ptype> <name>instancecount</name></param> <param><ptype>GLint</ptype> <name>basevertex</name></param> @@ -14249,7 +15636,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glDrawElementsInstancedBaseVertexBaseInstanceEXT</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> - <param group="PrimitiveType"><ptype>GLenum</ptype> <name>type</name></param> + <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> <param len="count">const void *<name>indices</name></param> <param><ptype>GLsizei</ptype> <name>instancecount</name></param> <param><ptype>GLint</ptype> <name>basevertex</name></param> @@ -14302,6 +15689,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>width</name></param> </command> <command> + <proto>void <name>glDrawMeshTasksNV</name></proto> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLuint</ptype> <name>count</name></param> + </command> + <command> + <proto>void <name>glDrawMeshTasksIndirectNV</name></proto> + <param><ptype>GLintptr</ptype> <name>indirect</name></param> + </command> + <command> <proto>void <name>glDrawPixels</name></proto> <param><ptype>GLsizei</ptype> <name>width</name></param> <param><ptype>GLsizei</ptype> <name>height</name></param> @@ -14384,10 +15780,11 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfloat</ptype> <name>z</name></param> <param><ptype>GLfloat</ptype> <name>width</name></param> <param><ptype>GLfloat</ptype> <name>height</name></param> + <vecequiv name="glDrawTexfvOES"/> </command> <command> <proto>void <name>glDrawTexfvOES</name></proto> - <param>const <ptype>GLfloat</ptype> *<name>coords</name></param> + <param len="5">const <ptype>GLfloat</ptype> *<name>coords</name></param> </command> <command> <proto>void <name>glDrawTexiOES</name></proto> @@ -14396,10 +15793,11 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>z</name></param> <param><ptype>GLint</ptype> <name>width</name></param> <param><ptype>GLint</ptype> <name>height</name></param> + <vecequiv name="glDrawTexivOES"/> </command> <command> <proto>void <name>glDrawTexivOES</name></proto> - <param>const <ptype>GLint</ptype> *<name>coords</name></param> + <param len="5">const <ptype>GLint</ptype> *<name>coords</name></param> </command> <command> <proto>void <name>glDrawTexsOES</name></proto> @@ -14408,10 +15806,11 @@ typedef unsigned int GLhandleARB; <param><ptype>GLshort</ptype> <name>z</name></param> <param><ptype>GLshort</ptype> <name>width</name></param> <param><ptype>GLshort</ptype> <name>height</name></param> + <vecequiv name="glDrawTexsvOES"/> </command> <command> <proto>void <name>glDrawTexsvOES</name></proto> - <param>const <ptype>GLshort</ptype> *<name>coords</name></param> + <param len="5">const <ptype>GLshort</ptype> *<name>coords</name></param> </command> <command> <proto>void <name>glDrawTextureNV</name></proto> @@ -14434,10 +15833,11 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfixed</ptype> <name>z</name></param> <param><ptype>GLfixed</ptype> <name>width</name></param> <param><ptype>GLfixed</ptype> <name>height</name></param> + <vecequiv name="glDrawTexxvOES"/> </command> <command> <proto>void <name>glDrawTexxvOES</name></proto> - <param>const <ptype>GLfixed</ptype> *<name>coords</name></param> + <param len="5">const <ptype>GLfixed</ptype> *<name>coords</name></param> </command> <command> <proto>void <name>glDrawTransformFeedback</name></proto> @@ -14488,11 +15888,23 @@ typedef unsigned int GLhandleARB; <param><ptype>GLeglImageOES</ptype> <name>image</name></param> </command> <command> + <proto>void <name>glEGLImageTargetTexStorageEXT</name></proto> + <param><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLeglImageOES</ptype> <name>image</name></param> + <param>const <ptype>GLint</ptype>* <name>attrib_list</name></param> + </command> + <command> <proto>void <name>glEGLImageTargetTexture2DOES</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLeglImageOES</ptype> <name>image</name></param> </command> <command> + <proto>void <name>glEGLImageTargetTextureStorageEXT</name></proto> + <param><ptype>GLuint</ptype> <name>texture</name></param> + <param><ptype>GLeglImageOES</ptype> <name>image</name></param> + <param>const <ptype>GLint</ptype>* <name>attrib_list</name></param> + </command> + <command> <proto>void <name>glEdgeFlag</name></proto> <param group="Boolean"><ptype>GLboolean</ptype> <name>flag</name></param> <vecequiv name="glEdgeFlagv"/> @@ -15221,6 +16633,9 @@ typedef unsigned int GLhandleARB; <param group="DrawBufferMode" len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> </command> <command> + <proto>void <name>glFramebufferFetchBarrierEXT</name></proto> + </command> + <command> <proto>void <name>glFramebufferFetchBarrierQCOM</name></proto> </command> <command> @@ -15855,7 +17270,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLint</ptype> *<name>size</name></param> - <param len="1" group="AttributeType"><ptype>GLenum</ptype> *<name>type</name></param> + <param len="1" group="UniformType"><ptype>GLenum</ptype> *<name>type</name></param> <param len="bufSize"><ptype>GLchar</ptype> *<name>name</name></param> </command> <command> @@ -15865,7 +17280,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>maxLength</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLint</ptype> *<name>size</name></param> - <param len="1" group="AttributeType"><ptype>GLenum</ptype> *<name>type</name></param> + <param len="1" group="UniformType"><ptype>GLenum</ptype> *<name>type</name></param> <param len="maxLength"><ptype>GLcharARB</ptype> *<name>name</name></param> <alias name="glGetActiveUniform"/> </command> @@ -16329,7 +17744,7 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glGetDoubleIndexedvEXT</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="COMPSIZE(target)"><ptype>GLdouble</ptype> *<name>data</name></param> <alias name="glGetDoublei_v"/> @@ -16342,7 +17757,7 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glGetDoublei_vEXT</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="COMPSIZE(pname)"><ptype>GLdouble</ptype> *<name>params</name></param> <alias name="glGetDoublei_v"/> @@ -16407,34 +17822,34 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glGetFloatIndexedvEXT</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="COMPSIZE(target)"><ptype>GLfloat</ptype> *<name>data</name></param> <alias name="glGetFloati_v"/> </command> <command> <proto>void <name>glGetFloati_v</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="COMPSIZE(target)"><ptype>GLfloat</ptype> *<name>data</name></param> </command> <command> <proto>void <name>glGetFloati_vEXT</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="COMPSIZE(pname)"><ptype>GLfloat</ptype> *<name>params</name></param> <alias name="glGetFloati_v"/> </command> <command> <proto>void <name>glGetFloati_vNV</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="COMPSIZE(target)"><ptype>GLfloat</ptype> *<name>data</name></param> <alias name="glGetFloati_v"/> </command> <command> <proto>void <name>glGetFloati_vOES</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="COMPSIZE(target)"><ptype>GLfloat</ptype> *<name>data</name></param> <alias name="glGetFloati_v"/> @@ -16552,6 +17967,7 @@ typedef unsigned int GLhandleARB; </command> <command> <proto group="GraphicsResetStatus"><ptype>GLenum</ptype> <name>glGetGraphicsResetStatusEXT</name></proto> + <alias name="glGetGraphicsResetStatus"/> </command> <command> <proto group="GraphicsResetStatus"><ptype>GLenum</ptype> <name>glGetGraphicsResetStatusKHR</name></proto> @@ -16908,6 +18324,14 @@ typedef unsigned int GLhandleARB; <param len="COMPSIZE(pname)"><ptype>GLfixed</ptype> *<name>params</name></param> </command> <command> + <proto>void <name>glGetMemoryObjectDetachedResourcesuivNV</name></proto> + <param><ptype>GLuint</ptype> <name>memory</name></param> + <param><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param><ptype>GLuint</ptype> *<name>params</name></param> + </command> + <command> <proto>void <name>glGetMemoryObjectParameterivEXT</name></proto> <param><ptype>GLuint</ptype> <name>memoryObject</name></param> <param group="MemoryObjectParameterName"><ptype>GLenum</ptype> <name>pname</name></param> @@ -17234,7 +18658,7 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glGetObjectLabel</name></proto> - <param><ptype>GLenum</ptype> <name>identifier</name></param> + <param group="ObjectIdentifier"><ptype>GLenum</ptype> <name>identifier</name></param> <param><ptype>GLuint</ptype> <name>name</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> @@ -17524,13 +18948,13 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glGetPointerIndexedvEXT</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="1">void **<name>data</name></param> </command> <command> <proto>void <name>glGetPointeri_vEXT</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="1">void **<name>params</name></param> </command> @@ -17746,7 +19170,7 @@ typedef unsigned int GLhandleARB; <param group="ProgramInterface"><ptype>GLenum</ptype> <name>programInterface</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLsizei</ptype> <name>propCount</name></param> - <param len="propCount">const <ptype>GLenum</ptype> *<name>props</name></param> + <param group="ProgramResourceProperty" len="propCount">const <ptype>GLenum</ptype> *<name>props</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="bufSize"><ptype>GLint</ptype> *<name>params</name></param> @@ -17827,7 +19251,7 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glGetQueryIndexediv</name></proto> - <param><ptype>GLenum</ptype> <name>target</name></param> + <param group="QueryTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param group="QueryParameterName"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> @@ -17864,7 +19288,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glGetQueryObjectivEXT</name></proto> <param><ptype>GLuint</ptype> <name>id</name></param> <param group="QueryObjectParameterName"><ptype>GLenum</ptype> <name>pname</name></param> - <param><ptype>GLint</ptype> *<name>params</name></param> + <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> <alias name="glGetQueryObjectiv"/> </command> <command> @@ -17899,7 +19323,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glGetQueryObjectuivEXT</name></proto> <param><ptype>GLuint</ptype> <name>id</name></param> <param group="QueryObjectParameterName"><ptype>GLenum</ptype> <name>pname</name></param> - <param><ptype>GLuint</ptype> *<name>params</name></param> + <param len="COMPSIZE(pname)"><ptype>GLuint</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetQueryiv</name></proto> @@ -17919,7 +19343,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glGetQueryivEXT</name></proto> <param group="QueryTarget"><ptype>GLenum</ptype> <name>target</name></param> <param group="QueryParameterName"><ptype>GLenum</ptype> <name>pname</name></param> - <param><ptype>GLint</ptype> *<name>params</name></param> + <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetRenderbufferParameteriv</name></proto> @@ -17945,53 +19369,53 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glGetSamplerParameterIiv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetSamplerParameterIivEXT</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> <alias name="glGetSamplerParameterIiv"/> </command> <command> <proto>void <name>glGetSamplerParameterIivOES</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> <alias name="glGetSamplerParameterIiv"/> </command> <command> <proto>void <name>glGetSamplerParameterIuiv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLuint</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetSamplerParameterIuivEXT</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLuint</ptype> *<name>params</name></param> <alias name="glGetSamplerParameterIuiv"/> </command> <command> <proto>void <name>glGetSamplerParameterIuivOES</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLuint</ptype> *<name>params</name></param> <alias name="glGetSamplerParameterIuiv"/> </command> <command> <proto>void <name>glGetSamplerParameterfv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterF"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLfloat</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetSamplerParameteriv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> </command> <command> @@ -18059,6 +19483,19 @@ typedef unsigned int GLhandleARB; <glx type="single" opcode="198"/> </command> <command> + <proto>void <name>glGetShadingRateImagePaletteNV</name></proto> + <param><ptype>GLuint</ptype> <name>viewport</name></param> + <param><ptype>GLuint</ptype> <name>entry</name></param> + <param len="1"><ptype>GLenum</ptype> *<name>rate</name></param> + </command> + <command> + <proto>void <name>glGetShadingRateSampleLocationivNV</name></proto> + <param><ptype>GLenum</ptype> <name>rate</name></param> + <param><ptype>GLuint</ptype> <name>samples</name></param> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param len="3"><ptype>GLint</ptype> *<name>location</name></param> + </command> + <command> <proto>void <name>glGetSharpenTexFuncSGIS</name></proto> <param group="TextureTarget"><ptype>GLenum</ptype> <name>target</name></param> <param len="COMPSIZE(target)"><ptype>GLfloat</ptype> *<name>points</name></param> @@ -18456,7 +19893,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>size</name></param> - <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> + <param group="GlslTypeToken" len="1"><ptype>GLenum</ptype> *<name>type</name></param> <param len="bufSize"><ptype>GLchar</ptype> *<name>name</name></param> <glx type="single" opcode="213"/> </command> @@ -18467,7 +19904,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>size</name></param> - <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> + <param group="GlslTypeToken" len="1"><ptype>GLenum</ptype> *<name>type</name></param> <param len="bufSize"><ptype>GLchar</ptype> *<name>name</name></param> <alias name="glGetTransformFeedbackVarying"/> </command> @@ -19121,7 +20558,7 @@ typedef unsigned int GLhandleARB; <param group="PixelFormat"><ptype>GLenum</ptype> <name>format</name></param> <param group="PixelType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param>void *<name>pixels</name></param> + <param len="bufSize">void *<name>pixels</name></param> </command> <command> <proto>void <name>glGetnTexImageARB</name></proto> @@ -19137,7 +20574,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLdouble</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLdouble</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformdvARB</name></proto> @@ -19151,7 +20588,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLfloat</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLfloat</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformfvARB</name></proto> @@ -19173,7 +20610,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLfloat</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLfloat</ptype> *<name>params</name></param> <alias name="glGetnUniformfv"/> </command> <command> @@ -19181,14 +20618,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLint64</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLint64</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformiv</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLint</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLint</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformivARB</name></proto> @@ -19210,7 +20647,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLint</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLint</ptype> *<name>params</name></param> <alias name="glGetnUniformiv"/> </command> <command> @@ -19218,14 +20655,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLuint64</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLuint64</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformuiv</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLuint</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLuint</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformuivARB</name></proto> @@ -19239,7 +20676,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLuint</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLuint</ptype> *<name>params</name></param> <alias name="glGetnUniformuiv"/> </command> <command> @@ -19523,7 +20960,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glInvalidateFramebuffer</name></proto> <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLsizei</ptype> <name>numAttachments</name></param> - <param len="numAttachments">const <ptype>GLenum</ptype> *<name>attachments</name></param> + <param group="FramebufferAttachment" len="numAttachments">const <ptype>GLenum</ptype> *<name>attachments</name></param> </command> <command> <proto>void <name>glInvalidateNamedFramebufferData</name></proto> @@ -19543,7 +20980,7 @@ typedef unsigned int GLhandleARB; </command> <command> <proto>void <name>glInvalidateSubFramebuffer</name></proto> - <param><ptype>GLenum</ptype> <name>target</name></param> + <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLsizei</ptype> <name>numAttachments</name></param> <param len="numAttachments" group="FramebufferAttachment">const <ptype>GLenum</ptype> *<name>attachments</name></param> <param><ptype>GLint</ptype> <name>x</name></param> @@ -20263,7 +21700,7 @@ typedef unsigned int GLhandleARB; <param group="BufferTargetARB"><ptype>GLenum</ptype> <name>target</name></param> <param group="BufferOffset"><ptype>GLintptr</ptype> <name>offset</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>length</name></param> - <param group="BufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> + <param group="MapBufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> <glx type="single" opcode="205"/> </command> <command> @@ -20271,7 +21708,7 @@ typedef unsigned int GLhandleARB; <param group="BufferTargetARB"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLintptr</ptype> <name>offset</name></param> <param><ptype>GLsizeiptr</ptype> <name>length</name></param> - <param group="BufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> + <param group="MapBufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> <alias name="glMapBufferRange"/> </command> <command> @@ -20349,14 +21786,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>buffer</name></param> <param><ptype>GLintptr</ptype> <name>offset</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>length</name></param> - <param group="BufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> + <param group="MapBufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> </command> <command> <proto>void *<name>glMapNamedBufferRangeEXT</name></proto> <param><ptype>GLuint</ptype> <name>buffer</name></param> <param><ptype>GLintptr</ptype> <name>offset</name></param> <param><ptype>GLsizeiptr</ptype> <name>length</name></param> - <param group="BufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> + <param group="MapBufferAccessMask"><ptype>GLbitfield</ptype> <name>access</name></param> </command> <command> <proto>void *<name>glMapObjectBufferATI</name></proto> @@ -20916,7 +22353,7 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glMultiDrawElementsIndirectCount</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> <param>const void *<name>indirect</name></param> <param><ptype>GLintptr</ptype> <name>drawcount</name></param> <param><ptype>GLsizei</ptype> <name>maxdrawcount</name></param> @@ -20933,6 +22370,16 @@ typedef unsigned int GLhandleARB; <alias name="glMultiDrawElementsIndirectCount"/> </command> <command> + <proto>void <name>glMultiDrawElementsIndirectCountARB</name></proto> + <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> + <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> + <param>const void *<name>indirect</name></param> + <param><ptype>GLintptr</ptype> <name>drawcount</name></param> + <param><ptype>GLsizei</ptype> <name>maxdrawcount</name></param> + <param><ptype>GLsizei</ptype> <name>stride</name></param> + <alias name="glMultiDrawElementsIndirectCount"/> + </command> + <command> <proto>void <name>glMultiDrawElementsIndirectEXT</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> @@ -20942,6 +22389,19 @@ typedef unsigned int GLhandleARB; <alias name="glMultiDrawElementsIndirect"/> </command> <command> + <proto>void <name>glMultiDrawMeshTasksIndirectNV</name></proto> + <param><ptype>GLintptr</ptype> <name>indirect</name></param> + <param><ptype>GLsizei</ptype> <name>drawcount</name></param> + <param><ptype>GLsizei</ptype> <name>stride</name></param> + </command> + <command> + <proto>void <name>glMultiDrawMeshTasksIndirectCountNV</name></proto> + <param><ptype>GLintptr</ptype> <name>indirect</name></param> + <param><ptype>GLintptr</ptype> <name>drawcount</name></param> + <param><ptype>GLsizei</ptype> <name>maxdrawcount</name></param> + <param><ptype>GLsizei</ptype> <name>stride</name></param> + </command> + <command> <proto>void <name>glMultiDrawRangeElementArrayAPPLE</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLuint</ptype> <name>start</name></param> @@ -20971,7 +22431,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glMultiTexBufferEXT</name></proto> <param group="TextureUnit"><ptype>GLenum</ptype> <name>texunit</name></param> <param group="TextureTarget"><ptype>GLenum</ptype> <name>target</name></param> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>internalformat</name></param> + <param><ptype>GLenum</ptype> <name>internalformat</name></param> <param><ptype>GLuint</ptype> <name>buffer</name></param> </command> <command> @@ -21944,11 +23404,38 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> *<name>params</name></param> </command> <command> + <proto>void <name>glMulticastScissorArrayvNVX</name></proto> + <param><ptype>GLuint</ptype> <name>gpu</name></param> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="COMPSIZE(count)">const <ptype>GLint</ptype> *<name>v</name></param> + </command> + <command> + <proto>void <name>glMulticastViewportArrayvNVX</name></proto> + <param><ptype>GLuint</ptype> <name>gpu</name></param> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="COMPSIZE(count)">const <ptype>GLfloat</ptype> *<name>v</name></param> + </command> + <command> + <proto>void <name>glMulticastViewportPositionWScaleNVX</name></proto> + <param><ptype>GLuint</ptype> <name>gpu</name></param> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param><ptype>GLfloat</ptype> <name>xcoeff</name></param> + <param><ptype>GLfloat</ptype> <name>ycoeff</name></param> + </command> + <command> <proto>void <name>glMulticastWaitSyncNV</name></proto> <param><ptype>GLuint</ptype> <name>signalGpu</name></param> <param><ptype>GLbitfield</ptype> <name>waitGpuMask</name></param> </command> <command> + <proto>void <name>glNamedBufferAttachMemoryNV</name></proto> + <param><ptype>GLuint</ptype> <name>buffer</name></param> + <param><ptype>GLuint</ptype> <name>memory</name></param> + <param><ptype>GLuint64</ptype> <name>offset</name></param> + </command> + <command> <proto>void <name>glNamedBufferData</name></proto> <param><ptype>GLuint</ptype> <name>buffer</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param> @@ -21981,7 +23468,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>buffer</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param> <param len="size">const void *<name>data</name></param> - <param group="MapBufferUsageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> + <param group="BufferStorageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> </command> <command> <proto>void <name>glNamedBufferStorageExternalEXT</name></proto> @@ -21989,14 +23476,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLintptr</ptype> <name>offset</name></param> <param><ptype>GLsizeiptr</ptype> <name>size</name></param> <param><ptype>GLeglClientBufferEXT</ptype> <name>clientBuffer</name></param> - <param group="MapBufferUsageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> + <param group="BufferStorageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> </command> <command> <proto>void <name>glNamedBufferStorageEXT</name></proto> <param><ptype>GLuint</ptype> <name>buffer</name></param> <param group="BufferSize"><ptype>GLsizeiptr</ptype> <name>size</name></param> <param len="size">const void *<name>data</name></param> - <param group="MapBufferUsageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> + <param group="BufferStorageMask"><ptype>GLbitfield</ptype> <name>flags</name></param> <alias name="glNamedBufferStorage"/> </command> <command> @@ -22282,6 +23769,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>height</name></param> </command> <command> + <proto>void <name>glNamedRenderbufferStorageMultisampleAdvancedAMD</name></proto> + <param group="Renderbuffer"><ptype>GLuint</ptype> <name>renderbuffer</name></param> + <param><ptype>GLsizei</ptype> <name>samples</name></param> + <param><ptype>GLsizei</ptype> <name>storageSamples</name></param> + <param group="InternalFormat"><ptype>GLenum</ptype> <name>internalformat</name></param> + <param><ptype>GLsizei</ptype> <name>width</name></param> + <param><ptype>GLsizei</ptype> <name>height</name></param> + </command> + <command> <proto>void <name>glNamedRenderbufferStorageMultisampleCoverageEXT</name></proto> <param group="Renderbuffer"><ptype>GLuint</ptype> <name>renderbuffer</name></param> <param><ptype>GLsizei</ptype> <name>coverageSamples</name></param> @@ -24750,12 +26246,12 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glQueryCounter</name></proto> <param><ptype>GLuint</ptype> <name>id</name></param> - <param group="QueryTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="QueryCounterTarget"><ptype>GLenum</ptype> <name>target</name></param> </command> <command> <proto>void <name>glQueryCounterEXT</name></proto> <param><ptype>GLuint</ptype> <name>id</name></param> - <param group="QueryTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="QueryCounterTarget"><ptype>GLenum</ptype> <name>target</name></param> <alias name="glQueryCounter"/> </command> <command> @@ -25001,7 +26497,7 @@ typedef unsigned int GLhandleARB; <param group="PixelFormat"><ptype>GLenum</ptype> <name>format</name></param> <param group="PixelType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param>void *<name>data</name></param> + <param len="bufSize">void *<name>data</name></param> </command> <command> <proto>void <name>glReadnPixelsARB</name></proto> @@ -25172,6 +26668,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>height</name></param> </command> <command> + <proto>void <name>glRenderbufferStorageMultisampleAdvancedAMD</name></proto> + <param group="RenderbufferTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLsizei</ptype> <name>samples</name></param> + <param><ptype>GLsizei</ptype> <name>storageSamples</name></param> + <param group="InternalFormat"><ptype>GLenum</ptype> <name>internalformat</name></param> + <param><ptype>GLsizei</ptype> <name>width</name></param> + <param><ptype>GLsizei</ptype> <name>height</name></param> + </command> + <command> <proto>void <name>glRenderbufferStorageMultisampleCoverageNV</name></proto> <param group="RenderbufferTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLsizei</ptype> <name>coverageSamples</name></param> @@ -25402,6 +26907,11 @@ typedef unsigned int GLhandleARB; <glx type="render" opcode="4112"/> </command> <command> + <proto>void <name>glResetMemoryObjectParameterNV</name></proto> + <param><ptype>GLuint</ptype> <name>memory</name></param> + <param><ptype>GLenum</ptype> <name>pname</name></param> + </command> + <command> <proto>void <name>glResetMinmax</name></proto> <param group="MinmaxTargetEXT"><ptype>GLenum</ptype> <name>target</name></param> <glx type="render" opcode="4113"/> @@ -25521,65 +27031,65 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glSamplerParameterIiv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLint</ptype> *<name>param</name></param> </command> <command> <proto>void <name>glSamplerParameterIivEXT</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLint</ptype> *<name>param</name></param> <alias name="glSamplerParameterIiv"/> </command> <command> <proto>void <name>glSamplerParameterIivOES</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLint</ptype> *<name>param</name></param> <alias name="glSamplerParameterIiv"/> </command> <command> <proto>void <name>glSamplerParameterIuiv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLuint</ptype> *<name>param</name></param> </command> <command> <proto>void <name>glSamplerParameterIuivEXT</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLuint</ptype> *<name>param</name></param> <alias name="glSamplerParameterIuiv"/> </command> <command> <proto>void <name>glSamplerParameterIuivOES</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLuint</ptype> *<name>param</name></param> <alias name="glSamplerParameterIuiv"/> </command> <command> <proto>void <name>glSamplerParameterf</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterF"><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLfloat</ptype> <name>param</name></param> </command> <command> <proto>void <name>glSamplerParameterfv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterF"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLfloat</ptype> *<name>param</name></param> </command> <command> <proto>void <name>glSamplerParameteri</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLint</ptype> <name>param</name></param> </command> <command> <proto>void <name>glSamplerParameteriv</name></proto> <param><ptype>GLuint</ptype> <name>sampler</name></param> - <param group="SamplerParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param group="SamplerParameterI"><ptype>GLenum</ptype> <name>pname</name></param> <param len="COMPSIZE(pname)">const <ptype>GLint</ptype> *<name>param</name></param> </command> <command> @@ -25637,6 +27147,19 @@ typedef unsigned int GLhandleARB; <alias name="glScissorArrayv"/> </command> <command> + <proto>void <name>glScissorExclusiveArrayvNV</name></proto> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="COMPSIZE(count)">const <ptype>GLint</ptype> *<name>v</name></param> + </command> + <command> + <proto>void <name>glScissorExclusiveNV</name></proto> + <param group="WinCoord"><ptype>GLint</ptype> <name>x</name></param> + <param group="WinCoord"><ptype>GLint</ptype> <name>y</name></param> + <param><ptype>GLsizei</ptype> <name>width</name></param> + <param><ptype>GLsizei</ptype> <name>height</name></param> + </command> + <command> <proto>void <name>glScissorIndexed</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLint</ptype> <name>left</name></param> @@ -26072,6 +27595,27 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>storageBlockBinding</name></param> </command> <command> + <proto>void <name>glShadingRateImageBarrierNV</name></proto> + <param><ptype>GLboolean</ptype> <name>synchronize</name></param> + </command> + <command> + <proto>void <name>glShadingRateImagePaletteNV</name></proto> + <param><ptype>GLuint</ptype> <name>viewport</name></param> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count">const <ptype>GLenum</ptype> *<name>rates</name></param> + </command> + <command> + <proto>void <name>glShadingRateSampleOrderNV</name></proto> + <param><ptype>GLenum</ptype> <name>order</name></param> + </command> + <command> + <proto>void <name>glShadingRateSampleOrderCustomNV</name></proto> + <param><ptype>GLenum</ptype> <name>rate</name></param> + <param><ptype>GLuint</ptype> <name>samples</name></param> + <param len="COMPSIZE(rate,samples)">const <ptype>GLint</ptype> *<name>locations</name></param> + </command> + <command> <proto>void <name>glSharpenTexFuncSGIS</name></proto> <param group="TextureTarget"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLsizei</ptype> <name>n</name></param> @@ -26088,6 +27632,13 @@ typedef unsigned int GLhandleARB; <param group="TextureLayout" len="COMPSIZE(numTextureBarriers)">const <ptype>GLenum</ptype> *<name>dstLayouts</name></param> </command> <command> + <proto>void <name>glSignalSemaphoreui64NVX</name></proto> + <param><ptype>GLuint</ptype> <name>signalGpu</name></param> + <param><ptype>GLsizei</ptype> <name>fenceObjectCount</name></param> + <param len="fenceObjectCount">const <ptype>GLuint</ptype> *<name>semaphoreArray</name></param> + <param len="fenceObjectCount">const <ptype>GLuint64</ptype> *<name>fenceValueArray</name></param> + </command> + <command> <proto>void <name>glSpecializeShader</name></proto> <param><ptype>GLuint</ptype> <name>shader</name></param> <param>const <ptype>GLchar</ptype> *<name>pEntryPoint</name></param> @@ -26401,6 +27952,12 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>name</name></param> </command> <command> + <proto>void <name>glTexAttachMemoryNV</name></proto> + <param group="TextureTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLuint</ptype> <name>memory</name></param> + <param><ptype>GLuint64</ptype> <name>offset</name></param> + </command> + <command> <proto>void <name>glTexBuffer</name></proto> <param group="TextureTarget"><ptype>GLenum</ptype> <name>target</name></param> <param group="InternalFormat"><ptype>GLenum</ptype> <name>internalformat</name></param> @@ -27501,6 +29058,17 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>width</name></param> <param><ptype>GLsizei</ptype> <name>height</name></param> <param><ptype>GLsizei</ptype> <name>depth</name></param> + <param><ptype>GLboolean</ptype> <name>fixedSampleLocations</name></param> + <param><ptype>GLuint</ptype> <name>memory</name></param> + <param><ptype>GLuint64</ptype> <name>offset</name></param> + </command> + <command> + <proto>void <name>glTexStorageSparseAMD</name></proto> + <param group="TextureTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="InternalFormat"><ptype>GLenum</ptype> <name>internalFormat</name></param> + <param><ptype>GLsizei</ptype> <name>width</name></param> + <param><ptype>GLsizei</ptype> <name>height</name></param> + <param><ptype>GLsizei</ptype> <name>depth</name></param> <param><ptype>GLsizei</ptype> <name>layers</name></param> <param group="TextureStorageMaskAMD"><ptype>GLbitfield</ptype> <name>flags</name></param> </command> @@ -27620,6 +29188,12 @@ typedef unsigned int GLhandleARB; <glx type="render" opcode="2058"/> </command> <command> + <proto>void <name>glTextureAttachMemoryNV</name></proto> + <param><ptype>GLuint</ptype> <name>texture</name></param> + <param><ptype>GLuint</ptype> <name>memory</name></param> + <param><ptype>GLuint64</ptype> <name>offset</name></param> + </command> + <command> <proto>void <name>glTextureBarrier</name></proto> </command> <command> @@ -28181,7 +29755,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> <param len="count">const <ptype>GLchar</ptype> *const*<name>varyings</name></param> - <param><ptype>GLenum</ptype> <name>bufferMode</name></param> + <param group="TransformFeedbackBufferMode" ><ptype>GLenum</ptype> <name>bufferMode</name></param> <glx type="render" opcode="359"/> </command> <command> @@ -29118,6 +30692,10 @@ typedef unsigned int GLhandleARB; <param group="PreserveModeATI"><ptype>GLenum</ptype> <name>preserve</name></param> </command> <command> + <proto>void <name>glUploadGpuMaskNVX</name></proto> + <param><ptype>GLbitfield</ptype> <name>mask</name></param> + </command> + <command> <proto>void <name>glUseProgram</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> </command> @@ -29183,6 +30761,14 @@ typedef unsigned int GLhandleARB; <param len="numTextureNames">const <ptype>GLuint</ptype> *<name>textureNames</name></param> </command> <command> + <proto group="vdpauSurfaceNV"><ptype>GLvdpauSurfaceNV</ptype> <name>glVDPAURegisterVideoSurfaceWithPictureStructureNV</name></proto> + <param>const void *<name>vdpSurface</name></param> + <param><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLsizei</ptype> <name>numTextureNames</name></param> + <param len="numTextureNames">const <ptype>GLuint</ptype> *<name>textureNames</name></param> + <param group="Boolean"><ptype>GLboolean</ptype> <name>isFrameStructure</name></param> + </command> + <command> <proto>void <name>glVDPAUSurfaceAccessNV</name></proto> <param group="vdpauSurfaceNV"><ptype>GLvdpauSurfaceNV</ptype> <name>surface</name></param> <param><ptype>GLenum</ptype> <name>access</name></param> @@ -29525,7 +31111,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>vaobj</name></param> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribIType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> <command> @@ -29533,7 +31119,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>vaobj</name></param> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribLType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> <command> @@ -29655,7 +31241,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>vaobj</name></param> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> <param group="Boolean"><ptype>GLboolean</ptype> <name>normalized</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> @@ -29664,7 +31250,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>vaobj</name></param> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribIType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> <command> @@ -29673,7 +31259,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>buffer</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param group="VertexAttribEnum"><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLsizei</ptype> <name>stride</name></param> <param><ptype>GLintptr</ptype> <name>offset</name></param> </command> @@ -29682,7 +31268,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>vaobj</name></param> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribLType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> <command> @@ -29691,7 +31277,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>buffer</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribLType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLsizei</ptype> <name>stride</name></param> <param group="BufferOffset"><ptype>GLintptr</ptype> <name>offset</name></param> </command> @@ -30531,7 +32117,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glVertexAttribFormat</name></proto> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> <param group="Boolean"><ptype>GLboolean</ptype> <name>normalized</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> @@ -30539,7 +32125,7 @@ typedef unsigned int GLhandleARB; <proto>void <name>glVertexAttribFormatNV</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> <param group="Boolean"><ptype>GLboolean</ptype> <name>normalized</name></param> <param><ptype>GLsizei</ptype> <name>stride</name></param> </command> @@ -30807,14 +32393,14 @@ typedef unsigned int GLhandleARB; <proto>void <name>glVertexAttribIFormat</name></proto> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribIType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> <command> <proto>void <name>glVertexAttribIFormatNV</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribIType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLsizei</ptype> <name>stride</name></param> </command> <command> @@ -31040,14 +32626,14 @@ typedef unsigned int GLhandleARB; <proto>void <name>glVertexAttribLFormat</name></proto> <param><ptype>GLuint</ptype> <name>attribindex</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribLType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLuint</ptype> <name>relativeoffset</name></param> </command> <command> <proto>void <name>glVertexAttribLFormatNV</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLint</ptype> <name>size</name></param> - <param group="VertexAttribType"><ptype>GLenum</ptype> <name>type</name></param> + <param group="VertexAttribLType"><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLsizei</ptype> <name>stride</name></param> </command> <command> @@ -31693,6 +33279,13 @@ typedef unsigned int GLhandleARB; <param group="TextureLayout" len="COMPSIZE(numTextureBarriers)">const <ptype>GLenum</ptype> *<name>srcLayouts</name></param> </command> <command> + <proto>void <name>glWaitSemaphoreui64NVX</name></proto> + <param><ptype>GLuint</ptype> <name>waitGpu</name></param> + <param><ptype>GLsizei</ptype> <name>fenceObjectCount</name></param> + <param len="fenceObjectCount">const <ptype>GLuint</ptype> *<name>semaphoreArray</name></param> + <param len="fenceObjectCount">const <ptype>GLuint64</ptype> *<name>fenceValueArray</name></param> + </command> + <command> <proto>void <name>glWaitSync</name></proto> <param group="sync"><ptype>GLsync</ptype> <name>sync</name></param> <param><ptype>GLbitfield</ptype> <name>flags</name></param> @@ -32167,6 +33760,18 @@ typedef unsigned int GLhandleARB; <proto>void <name>glSignalVkFenceNV</name></proto> <param><ptype>GLuint64</ptype> <name>vkFence</name></param> </command> + <command> + <proto>void <name>glFramebufferParameteriMESA</name></proto> + <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="FramebufferParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLint</ptype> <name>param</name></param> + </command> + <command> + <proto>void <name>glGetFramebufferParameterivMESA</name></proto> + <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="FramebufferAttachmentParameterName"><ptype>GLenum</ptype> <name>pname</name></param> + <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> + </command> </commands> @@ -33891,6 +35496,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_RENDERBUFFER_STENCIL_SIZE"/> <enum name="GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE"/> <enum name="GL_MAX_SAMPLES"/> + <enum name="GL_INDEX"/> <command name="glIsRenderbuffer"/> <command name="glBindRenderbuffer"/> <command name="glDeleteRenderbuffers"/> @@ -33912,8 +35518,7 @@ typedef unsigned int GLhandleARB; <command name="glRenderbufferStorageMultisample"/> <command name="glFramebufferTextureLayer"/> </require> - <require profile="compatibility" comment="Reuse ARB_framebuffer_object compatibility profile"> - <enum name="GL_INDEX"/> + <require comment="Reuse ARB_texture_float"> <enum name="GL_TEXTURE_LUMINANCE_TYPE"/> <enum name="GL_TEXTURE_INTENSITY_TYPE"/> </require> @@ -34961,6 +36566,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_CLAMP_VERTEX_COLOR"/> <enum name="GL_CLAMP_FRAGMENT_COLOR"/> <enum name="GL_ALPHA_INTEGER"/> + <enum name="GL_INDEX"/> <enum name="GL_TEXTURE_LUMINANCE_TYPE"/> <enum name="GL_TEXTURE_INTENSITY_TYPE"/> </remove> @@ -38733,6 +40339,18 @@ typedef unsigned int GLhandleARB; <command name="glBlendEquationSeparateIndexedAMD"/> </require> </extension> + <extension name="GL_AMD_framebuffer_multisample_advanced" supported="gl|glcore|gles2"> + <require> + <enum name="GL_RENDERBUFFER_STORAGE_SAMPLES_AMD"/> + <enum name="GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD"/> + <enum name="GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD"/> + <enum name="GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD"/> + <enum name="GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD"/> + <enum name="GL_SUPPORTED_MULTISAMPLE_MODES_AMD"/> + <command name="glRenderbufferStorageMultisampleAdvancedAMD"/> + <command name="glNamedRenderbufferStorageMultisampleAdvancedAMD"/> + </require> + </extension> <extension name="GL_AMD_framebuffer_sample_positions" supported="gl"> <require> <enum name="GL_SUBSAMPLE_DISTANCE_AMD"/> @@ -40438,6 +42056,29 @@ typedef unsigned int GLhandleARB; <enum name="GL_VIEW_CLASS_RGTC2_RG"/> <enum name="GL_VIEW_CLASS_BPTC_UNORM"/> <enum name="GL_VIEW_CLASS_BPTC_FLOAT"/> + </require> + <require comment="Supported only if GL_ARB_ES3_compatibility is supported"> + <enum name="GL_VIEW_CLASS_EAC_R11"/> + <enum name="GL_VIEW_CLASS_EAC_RG11"/> + <enum name="GL_VIEW_CLASS_ETC2_RGB"/> + <enum name="GL_VIEW_CLASS_ETC2_RGBA"/> + <enum name="GL_VIEW_CLASS_ETC2_EAC_RGBA"/> + </require> + <require comment="Supported only if GL_KHR_texture_compression_astc_ldr is supported"> + <enum name="GL_VIEW_CLASS_ASTC_4x4_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_5x4_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_5x5_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_6x5_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_6x6_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_8x5_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_8x6_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_8x8_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_10x5_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_10x6_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_10x8_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_10x10_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_12x10_RGBA"/> + <enum name="GL_VIEW_CLASS_ASTC_12x12_RGBA"/> <command name="glGetInternalformati64v"/> </require> </extension> @@ -41182,7 +42823,7 @@ typedef unsigned int GLhandleARB; <require comment="Supported only if GL_EXT_direct_state_access is supported"> <command name="glNamedBufferPageCommitmentEXT"/> </require> - <require comment="Supported only if GL_ARb_direct_state_access or GL 4.5 is supported"> + <require comment="Supported only if GL_ARB_direct_state_access or GL 4.5 is supported"> <command name="glNamedBufferPageCommitmentARB"/> </require> </extension> @@ -42543,6 +44184,15 @@ typedef unsigned int GLhandleARB; </extension> <extension name="GL_EXT_EGL_image_array" supported="gles2"> </extension> + <extension name="GL_EXT_EGL_image_storage" supported="gl|glcore|gles2"> + <require> + <type name="GLeglImageOES"/> + <command name="glEGLImageTargetTexStorageEXT"/> + </require> + <require comment="Supported only if GL_EXT_direct_state_access, ARB_direct_state_access, or OpenGL 4.5 are supported"> + <command name="glEGLImageTargetTextureStorageEXT"/> + </require> + </extension> <extension name="GL_EXT_YUV_target" supported="gles2"> <require> <enum name="GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT"/> @@ -42857,6 +44507,11 @@ typedef unsigned int GLhandleARB; <command name="glDepthBoundsEXT"/> </require> </extension> + <extension name="GL_EXT_depth_clamp" supported="gles2"> + <require> + <enum name="GL_DEPTH_CLAMP_EXT"/> + </require> + </extension> <extension name="GL_EXT_direct_state_access" supported="gl|glcore" comment="DSA extension doesn't identify which interfaces are core profile and keeps getting expanded. This is in sync with revision 34, 2010/09/07"> <require> <enum name="GL_PROGRAM_MATRIX_EXT"/> @@ -43815,6 +45470,9 @@ typedef unsigned int GLhandleARB; <command name="glGetIntegeri_vEXT"/> </require> </extension> + <extension name="GL_EXT_multiview_tessellation_geometry_shader" supported="gl|glcore|gles2"/> + <extension name="GL_EXT_multiview_texture_multisample" supported="gl|glcore|gles2"/> + <extension name="GL_EXT_multiview_timer_query" supported="gl|glcore|gles2"/> <extension name="GL_EXT_occlusion_query_boolean" supported="gles2"> <require> <enum name="GL_ANY_SAMPLES_PASSED_EXT"/> @@ -44161,9 +45819,15 @@ typedef unsigned int GLhandleARB; <enum name="GL_SEPARATE_SPECULAR_COLOR_EXT"/> </require> </extension> - <extension name="GL_EXT_shader_framebuffer_fetch" supported="gles2"> + <extension name="GL_EXT_shader_framebuffer_fetch" supported="gl|glcore|gles2"> + <require> + <enum name="GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT"/> + </require> + </extension> + <extension name="GL_EXT_shader_framebuffer_fetch_non_coherent" supported="gl|glcore|gles2"> <require> <enum name="GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT"/> + <command name="glFramebufferFetchBarrierEXT"/> </require> </extension> <extension name="GL_EXT_shader_group_vote" supported="gles2"/> @@ -44616,6 +46280,11 @@ typedef unsigned int GLhandleARB; <enum name="GL_BGRA_EXT"/> </require> </extension> + <extension name="GL_EXT_texture_format_sRGB_override" supported="gles2"> + <require> + <enum name="GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT"/> + </require> + </extension> <extension name="GL_EXT_texture_integer" supported="gl"> <require> <enum name="GL_RGBA32UI_EXT"/> @@ -44726,6 +46395,7 @@ typedef unsigned int GLhandleARB; <command name="glTextureNormalEXT"/> </require> </extension> + <extension name="GL_EXT_texture_query_lod" supported="gles2"/> <extension name="GL_EXT_texture_rg" supported="gles2"> <require> <enum name="GL_RED_EXT"/> @@ -44754,7 +46424,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT"/> </require> </extension> - <extension name="GL_EXT_texture_sRGB_R8" supported="gles2"> + <extension name="GL_EXT_texture_sRGB_R8" supported="gles2|gl|glcore"> <require> <enum name="GL_SR8_EXT"/> </require> @@ -45434,6 +47104,11 @@ typedef unsigned int GLhandleARB; <command name="glMapTexture2DINTEL"/> </require> </extension> + <extension name="GL_INTEL_blackhole_render" supported="gl|glcore|gles2"> + <require> + <enum name="GL_BLACKHOLE_RENDER_INTEL"/> + </require> + </extension> <extension name="GL_INTEL_parallel_arrays" supported="gl"> <require> <enum name="GL_PARALLEL_ARRAYS_INTEL"/> @@ -45669,6 +47344,22 @@ typedef unsigned int GLhandleARB; <command name="glGetnUniformuivKHR"/> </require> </extension> + <extension name="GL_KHR_shader_subgroup" supported="gl|glcore|gles2"> + <require> + <enum name="GL_SUBGROUP_SIZE_KHR"/> + <enum name="GL_SUBGROUP_SUPPORTED_STAGES_KHR"/> + <enum name="GL_SUBGROUP_SUPPORTED_FEATURES_KHR"/> + <enum name="GL_SUBGROUP_QUAD_ALL_STAGES_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_BASIC_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_VOTE_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR"/> + <enum name="GL_SUBGROUP_FEATURE_QUAD_BIT_KHR"/> + </require> + </extension> <extension name="GL_KHR_texture_compression_astc_hdr" supported="gl|glcore|gles2"> <require> <enum name="GL_COMPRESSED_RGBA_ASTC_4x4_KHR"/> @@ -45751,6 +47442,13 @@ typedef unsigned int GLhandleARB; <enum name="GL_TEXTURE_2D_STACK_BINDING_MESAX"/> </require> </extension> + <extension name="GL_MESA_framebuffer_flip_y" supported="gl|glcore|gles2"> + <require> + <enum name="GL_FRAMEBUFFER_FLIP_Y_MESA"/> + <command name="glFramebufferParameteriMESA"/> + <command name="glGetFramebufferParameterivMESA"/> + </require> + </extension> <extension name="GL_MESA_pack_invert" supported="gl"> <require> <enum name="GL_PACK_INVERT_MESA"/> @@ -46000,6 +47698,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV"/> </require> </extension> + <extension name="GL_NV_compute_shader_derivatives" supported="gl|glcore|gles2"/> <extension name="GL_NV_conditional_render" supported="gl|glcore|gles2"> <require> <enum name="GL_QUERY_WAIT_NV"/> @@ -46318,6 +48017,7 @@ typedef unsigned int GLhandleARB; </extension> <extension name="GL_NV_fragment_program4" supported="gl"/> <extension name="GL_NV_fragment_program_option" supported="gl"/> + <extension name="GL_NV_fragment_shader_barycentric" supported="gl|glcore|gles2"/> <extension name="GL_NV_fragment_shader_interlock" supported="gl|glcore|gles2"/> <extension name="GL_NV_framebuffer_blit" supported="gles2"> <require> @@ -46602,6 +48302,105 @@ typedef unsigned int GLhandleARB; <command name="glMulticastGetQueryObjectui64vNV"/> </require> </extension> + <extension name="GL_NVX_gpu_multicast2" supported="gl"> + <require> + <enum name="GL_UPLOAD_GPU_MASK_NVX"/> + <command name="glUploadGpuMaskNVX"/> + <command name="glMulticastViewportArrayvNVX"/> + <command name="glMulticastViewportPositionWScaleNVX"/> + <command name="glMulticastScissorArrayvNVX"/> + <command name="glAsyncCopyBufferSubDataNVX"/> + <command name="glAsyncCopyImageSubDataNVX"/> + </require> + </extension> + <extension name="GL_NVX_progress_fence" supported="gl"> + <require> + <command name="glCreateProgressFenceNVX"/> + <command name="glSignalSemaphoreui64NVX"/> + <command name="glWaitSemaphoreui64NVX"/> + <command name="glClientWaitSemaphoreui64NVX"/> + </require> + </extension> + <extension name="GL_NV_memory_attachment" supported="gl|glcore|gles2"> + <require> + <enum name="GL_ATTACHED_MEMORY_OBJECT_NV"/> + <enum name="GL_ATTACHED_MEMORY_OFFSET_NV"/> + <enum name="GL_MEMORY_ATTACHABLE_ALIGNMENT_NV"/> + <enum name="GL_MEMORY_ATTACHABLE_SIZE_NV"/> + <enum name="GL_MEMORY_ATTACHABLE_NV"/> + <enum name="GL_DETACHED_MEMORY_INCARNATION_NV"/> + <enum name="GL_DETACHED_TEXTURES_NV"/> + <enum name="GL_DETACHED_BUFFERS_NV"/> + <enum name="GL_MAX_DETACHED_TEXTURES_NV"/> + <enum name="GL_MAX_DETACHED_BUFFERS_NV"/> + <command name="glGetMemoryObjectDetachedResourcesuivNV"/> + <command name="glResetMemoryObjectParameterNV"/> + <command name="glTexAttachMemoryNV"/> + <command name="glBufferAttachMemoryNV"/> + </require> + <require comment="Supported only if GL_EXT_direct_state_access is supported"> + <command name="glTextureAttachMemoryNV"/> + <command name="glNamedBufferAttachMemoryNV"/> + </require> + </extension> + <extension name="GL_NV_mesh_shader" supported="gl|glcore|gles2"> + <require> + <enum name="GL_MESH_SHADER_NV"/> + <enum name="GL_TASK_SHADER_NV"/> + <enum name="GL_MAX_MESH_UNIFORM_BLOCKS_NV"/> + <enum name="GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV"/> + <enum name="GL_MAX_MESH_IMAGE_UNIFORMS_NV"/> + <enum name="GL_MAX_MESH_UNIFORM_COMPONENTS_NV"/> + <enum name="GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV"/> + <enum name="GL_MAX_MESH_ATOMIC_COUNTERS_NV"/> + <enum name="GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV"/> + <enum name="GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV"/> + <enum name="GL_MAX_TASK_UNIFORM_BLOCKS_NV"/> + <enum name="GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV"/> + <enum name="GL_MAX_TASK_IMAGE_UNIFORMS_NV"/> + <enum name="GL_MAX_TASK_UNIFORM_COMPONENTS_NV"/> + <enum name="GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV"/> + <enum name="GL_MAX_TASK_ATOMIC_COUNTERS_NV"/> + <enum name="GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV"/> + <enum name="GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV"/> + <enum name="GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV"/> + <enum name="GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV"/> + <enum name="GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV"/> + <enum name="GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV"/> + <enum name="GL_MAX_MESH_OUTPUT_VERTICES_NV"/> + <enum name="GL_MAX_MESH_OUTPUT_PRIMITIVES_NV"/> + <enum name="GL_MAX_TASK_OUTPUT_COUNT_NV"/> + <enum name="GL_MAX_DRAW_MESH_TASKS_COUNT_NV"/> + <enum name="GL_MAX_MESH_VIEWS_NV"/> + <enum name="GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV"/> + <enum name="GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV"/> + <enum name="GL_MAX_MESH_WORK_GROUP_SIZE_NV"/> + <enum name="GL_MAX_TASK_WORK_GROUP_SIZE_NV"/> + <enum name="GL_MESH_WORK_GROUP_SIZE_NV"/> + <enum name="GL_TASK_WORK_GROUP_SIZE_NV"/> + <enum name="GL_MESH_VERTICES_OUT_NV"/> + <enum name="GL_MESH_PRIMITIVES_OUT_NV"/> + <enum name="GL_MESH_OUTPUT_TYPE_NV"/> + <enum name="GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV"/> + <enum name="GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV"/> + <enum name="GL_REFERENCED_BY_MESH_SHADER_NV"/> + <enum name="GL_REFERENCED_BY_TASK_SHADER_NV"/> + <enum name="GL_MESH_SHADER_BIT_NV"/> + <enum name="GL_TASK_SHADER_BIT_NV"/> + <command name="glDrawMeshTasksNV"/> + <command name="glDrawMeshTasksIndirectNV"/> + <command name="glMultiDrawMeshTasksIndirectNV"/> + <command name="glMultiDrawMeshTasksIndirectCountNV"/> + </require> + <require comment="Supported only in OpenGL"> + <enum name="GL_MESH_SUBROUTINE_NV"/> + <enum name="GL_TASK_SUBROUTINE_NV"/> + <enum name="GL_MESH_SUBROUTINE_UNIFORM_NV"/> + <enum name="GL_TASK_SUBROUTINE_UNIFORM_NV"/> + <enum name="GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV"/> + <enum name="GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV"/> + </require> + </extension> <extension name="GL_NV_multisample_coverage" supported="gl"> <require> <enum name="GL_SAMPLES_ARB"/> @@ -47099,6 +48898,11 @@ typedef unsigned int GLhandleARB; <command name="glGetCombinerStageParameterfvNV"/> </require> </extension> + <extension name="GL_NV_representative_fragment_test" supported="gl|glcore|gles2"> + <require> + <enum name="GL_REPRESENTATIVE_FRAGMENT_TEST_NV"/> + </require> + </extension> <extension name="GL_NV_robustness_video_memory_purge" supported="gl"> <require> <enum name="GL_PURGED_CONTEXT_RESET_NV"/> @@ -47134,6 +48938,14 @@ typedef unsigned int GLhandleARB; </require> </extension> <extension name="GL_NV_sample_mask_override_coverage" supported="gl|glcore|gles2"/> + <extension name="GL_NV_scissor_exclusive" supported="gl|glcore|gles2"> + <require> + <enum name="GL_SCISSOR_TEST_EXCLUSIVE_NV"/> + <enum name="GL_SCISSOR_BOX_EXCLUSIVE_NV"/> + <command name="glScissorExclusiveNV"/> + <command name="glScissorExclusiveArrayvNV"/> + </require> + </extension> <extension name="GL_NV_shader_atomic_counters" supported="gl|glcore"/> <extension name="GL_NV_shader_atomic_float" supported="gl|glcore"/> <extension name="GL_NV_shader_atomic_float64" supported="gl|glcore"/> @@ -47169,6 +48981,12 @@ typedef unsigned int GLhandleARB; </extension> <extension name="GL_NV_shader_noperspective_interpolation" supported="gles2"/> <extension name="GL_NV_shader_storage_buffer_object" supported="gl"/> + <extension name="GL_NV_shader_subgroup_partitioned" supported="gl|glcore|gles2"> + <require> + <enum name="GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV"/> + </require> + </extension> + <extension name="GL_NV_shader_texture_footprint" supported="gl|glcore|gles2"/> <extension name="GL_NV_shader_thread_group" supported="gl|glcore"> <require> <enum name="GL_WARP_SIZE_NV"/> @@ -47177,6 +48995,39 @@ typedef unsigned int GLhandleARB; </require> </extension> <extension name="GL_NV_shader_thread_shuffle" supported="gl|glcore"/> + <extension name="GL_NV_shading_rate_image" supported="gl|glcore|gles2"> + <require> + <enum name="GL_SHADING_RATE_IMAGE_NV"/> + <enum name="GL_SHADING_RATE_NO_INVOCATIONS_NV"/> + <enum name="GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV"/> + <enum name="GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV"/> + <enum name="GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV"/> + <enum name="GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV"/> + <enum name="GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV"/> + <enum name="GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV"/> + <enum name="GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV"/> + <enum name="GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV"/> + <enum name="GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV"/> + <enum name="GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV"/> + <enum name="GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV"/> + <enum name="GL_SHADING_RATE_IMAGE_BINDING_NV"/> + <enum name="GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV"/> + <enum name="GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV"/> + <enum name="GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV"/> + <enum name="GL_MAX_COARSE_FRAGMENT_SAMPLES_NV"/> + <enum name="GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV"/> + <enum name="GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV"/> + <enum name="GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV"/> + <command name="glBindShadingRateImageNV"/> + <command name="glGetShadingRateImagePaletteNV"/> + <command name="glGetShadingRateSampleLocationivNV"/> + <command name="glShadingRateImageBarrierNV"/> + <command name="glShadingRateImageBarrierNV"/> + <command name="glShadingRateImagePaletteNV"/> + <command name="glShadingRateSampleOrderNV"/> + <command name="glShadingRateSampleOrderCustomNV"/> + </require> + </extension> <extension name="GL_NV_shadow_samplers_array" supported="gles2"> <require> <enum name="GL_SAMPLER_2D_ARRAY_SHADOW_NV"/> @@ -47453,6 +49304,11 @@ typedef unsigned int GLhandleARB; <command name="glVDPAUUnmapSurfacesNV"/> </require> </extension> + <extension name="GL_NV_vdpau_interop2" supported="gl"> + <require> + <command name="glVDPAURegisterVideoSurfaceWithPictureStructureNV"/> + </require> + </extension> <extension name="GL_NV_vertex_array_range" supported="gl"> <require> <enum name="GL_VERTEX_ARRAY_RANGE_NV"/> @@ -48830,6 +50686,12 @@ typedef unsigned int GLhandleARB; <command name="glTextureFoveationParametersQCOM"/> </require> </extension> + <extension name="GL_QCOM_texture_foveated_subsampled_layout" supported="gles2"> + <require> + <enum name="GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM"/> + <enum name="GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM"/> + </require> + </extension> <extension name="GL_QCOM_perfmon_global_mode" supported="gles1|gles2"> <require> <enum name="GL_PERFMON_GLOBAL_MODE_QCOM"/> @@ -48841,6 +50703,8 @@ typedef unsigned int GLhandleARB; <command name="glFramebufferFetchBarrierQCOM"/> </require> </extension> + <extension name="GL_QCOM_shader_framebuffer_fetch_rate" supported="gles2"> + </extension> <extension name="GL_QCOM_tiled_rendering" supported="gles1|gles2"> <require> <enum name="GL_COLOR_BUFFER_BIT0_QCOM"/> @@ -48884,6 +50748,8 @@ typedef unsigned int GLhandleARB; <enum name="GL_WRITEONLY_RENDERING_QCOM"/> </require> </extension> + <extension name="GL_QCOM_YUV_texture_gather" supported="gles2"> + </extension> <extension name="GL_REND_screen_coordinates" supported="gl"> <require> <enum name="GL_SCREEN_COORDINATES_REND"/> @@ -49558,5 +51424,6 @@ typedef unsigned int GLhandleARB; <enum name="GL_FOG_SPECULAR_TEXTURE_WIN"/> </require> </extension> + <extension name="GL_EXT_texture_shadow_lod" supported="gl|glcore|gles2"/> </extensions> </registry> diff --git a/dist/libepoxy/registry/glx.xml b/dist/libepoxy/registry/glx.xml index d6a7c2715..0ce9cba69 100644 --- a/dist/libepoxy/registry/glx.xml +++ b/dist/libepoxy/registry/glx.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <registry> <comment> -Copyright (c) 2013-2017 The Khronos Group Inc. +Copyright (c) 2013-2018 The Khronos Group Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -462,6 +462,13 @@ typedef unsigned __int64 uint64_t; <unused start="0x21A9" end="0x21AF"/> </enums> + <enums namespace="GLX" start="0x3100" end="0x3103" vendor="EXT" comment="Shared with EGL_IMG_context_priority"> + <enum value="0x3100" name="GLX_CONTEXT_PRIORITY_LEVEL_EXT"/> + <enum value="0x3101" name="GLX_CONTEXT_PRIORITY_HIGH_EXT"/> + <enum value="0x3102" name="GLX_CONTEXT_PRIORITY_MEDIUM_EXT"/> + <enum value="0x3103" name="GLX_CONTEXT_PRIORITY_LOW_EXT"/> + </enums> + <enums namespace="GLX" start="0x31B3" end="0x31B3" vendor="ARB" comment="Shared with WGL."> <enum value="0x31B3" name="GLX_CONTEXT_OPENGL_NO_ERROR_ARB"/> </enums> @@ -583,8 +590,7 @@ typedef unsigned __int64 uint64_t; <enum value="0x818B" name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/> <enum value="0x818C" name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/> <enum value="0x818D" name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/> - <enum value="0x818E" name="GLX_RENDERER_ID_MESA"/> - <unused start="0x818F"/> + <unused start="0x818E" end="0x818F"/> </enums> <!-- Please remember that new enumerant allocations must be obtained by @@ -1087,7 +1093,7 @@ typedef unsigned __int64 uint64_t; <param><ptype>Display</ptype> *<name>dpy</name></param> <param><ptype>Window</ptype> <name>overlay</name></param> <param><ptype>Window</ptype> <name>underlay</name></param> - <param>long *<name>pTransparentIndex</name></param> + <param>unsigned long *<name>pTransparentIndex</name></param> </command> <command> <proto>int <name>glXGetVideoDeviceNV</name></proto> @@ -1253,7 +1259,7 @@ typedef unsigned __int64 uint64_t; <param><ptype>GLuint</ptype> *<name>count</name></param> </command> <command> - <proto>int <name>glXQueryGLXPbufferSGIX</name></proto> + <proto>void <name>glXQueryGLXPbufferSGIX</name></proto> <param><ptype>Display</ptype> *<name>dpy</name></param> <param><ptype>GLXPbufferSGIX</ptype> <name>pbuf</name></param> <param>int <name>attribute</name></param> @@ -1394,8 +1400,8 @@ typedef unsigned __int64 uint64_t; <param><ptype>GLboolean</ptype> <name>bBlock</name></param> </command> <command> - <proto><ptype>Bool</ptype> <name>glXSet3DfxModeMESA</name></proto> - <param>int <name>mode</name></param> + <proto><ptype>GLboolean</ptype> <name>glXSet3DfxModeMESA</name></proto> + <param>GLint <name>mode</name></param> </command> <command> <proto>void <name>glXSwapBuffers</name></proto> @@ -1735,6 +1741,14 @@ typedef unsigned __int64 uint64_t; <enum name="GLX_BACK_BUFFER_AGE_EXT"/> </require> </extension> + <extension name="GLX_EXT_context_priority" supported="glx"> + <require> + <enum name="GLX_CONTEXT_PRIORITY_LEVEL_EXT"/> + <enum name="GLX_CONTEXT_PRIORITY_HIGH_EXT"/> + <enum name="GLX_CONTEXT_PRIORITY_MEDIUM_EXT"/> + <enum name="GLX_CONTEXT_PRIORITY_LOW_EXT"/> + </require> + </extension> <extension name="GLX_EXT_create_context_es_profile" supported="glx"> <require> <enum name="GLX_CONTEXT_ES_PROFILE_BIT_EXT"/> @@ -1898,7 +1912,6 @@ typedef unsigned __int64 uint64_t; <enum name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/> <enum name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/> <enum name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/> - <enum name="GLX_RENDERER_ID_MESA"/> <command name="glXQueryCurrentRendererIntegerMESA"/> <command name="glXQueryCurrentRendererStringMESA"/> <command name="glXQueryRendererIntegerMESA"/> diff --git a/dist/libepoxy/registry/wgl.xml b/dist/libepoxy/registry/wgl.xml index 1adc1e380..87e8fe220 100644 --- a/dist/libepoxy/registry/wgl.xml +++ b/dist/libepoxy/registry/wgl.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <registry> <comment> -Copyright (c) 2013-2017 The Khronos Group Inc. +Copyright (c) 2013-2018 The Khronos Group Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -384,7 +384,12 @@ Registry at <enum value="0x20A8" name="WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT"/> <enum value="0x20A9" name="WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB"/> <enum value="0x20A9" name="WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT"/> - <unused start="0x20AA" end="0x20AF"/> + <enum value="0x20AA" name="WGL_CONTEXT_MULTIGPU_ATTRIB_NV"/> + <enum value="0x20AB" name="WGL_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV"/> + <enum value="0x20AC" name="WGL_CONTEXT_MULTIGPU_ATTRIB_AFR_NV"/> + <enum value="0x20AD" name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV"/> + <enum value="0x20AE" name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV"/> + <unused start="0x20AF" end="0x20AF"/> <enum value="0x20B0" name="WGL_FLOAT_COMPONENTS_NV"/> <enum value="0x20B1" name="WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV"/> <enum value="0x20B2" name="WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV"/> @@ -427,6 +432,7 @@ Registry at <enum value="0x21A3" name="WGL_GPU_RAM_AMD"/> <enum value="0x21A4" name="WGL_GPU_CLOCK_AMD"/> <enum value="0x21A5" name="WGL_GPU_NUM_PIPES_AMD"/> + <enum value="0x21A5" name="WGL_TEXTURE_RECTANGLE_ATI" comment="Duplicates unrelated WGL_GPU_NUM_PIPES_AMD"/> <enum value="0x21A6" name="WGL_GPU_NUM_SIMD_AMD"/> <enum value="0x21A7" name="WGL_GPU_NUM_RB_AMD"/> <enum value="0x21A8" name="WGL_GPU_NUM_SPI_AMD"/> @@ -451,7 +457,7 @@ Registry at </enums> <enums namespace="EGL" start="0x3080" end="0x30AF" vendor="KHR" comment="Values shared with EGL. Do not allocate additional values in this range."> - <enum value="0x3087" name="WGL_COLORSPACE_EXT"/> + <enum value="0x309D" name="WGL_COLORSPACE_EXT"/> <enum value="0x3089" name="WGL_COLORSPACE_SRGB_EXT"/> <enum value="0x308A" name="WGL_COLORSPACE_LINEAR_EXT"/> </enums> @@ -459,7 +465,7 @@ Registry at <enums namespace="WGL" start="0x31B3" end="0x31B3" vendor="ARB" comment="Shared with GLX."> <enum value="0x31B3" name="WGL_CONTEXT_OPENGL_NO_ERROR_ARB"/> </enums> - + <enums namespace="GL" start="0x8250" end="0x826F" vendor="ARB" comment="Values shared with GL. Do not allocate additional values in this range."> <enum value="0x8252" name="WGL_LOSE_CONTEXT_ON_RESET_ARB"/> <enum value="0x8256" name="WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"/> @@ -537,7 +543,7 @@ Registry at </command> <command> <proto><ptype>BOOL</ptype> <name>wglBindVideoDeviceNV</name></proto> - <param><ptype>HDC</ptype> <name>hDC</name></param> + <param><ptype>HDC</ptype> <name>hDc</name></param> <param>unsigned int <name>uVideoSlot</name></param> <param><ptype>HVIDEOOUTPUTDEVICENV</ptype> <name>hVideoDevice</name></param> <param>const int *<name>piAttribList</name></param> @@ -780,7 +786,7 @@ Registry at </command> <command> <proto>int <name>wglEnumerateVideoDevicesNV</name></proto> - <param><ptype>HDC</ptype> <name>hDC</name></param> + <param><ptype>HDC</ptype> <name>hDc</name></param> <param><ptype>HVIDEOOUTPUTDEVICENV</ptype> *<name>phDeviceList</name></param> </command> <command> @@ -911,7 +917,7 @@ Registry at <command> <proto><ptype>INT</ptype> <name>wglGetGPUInfoAMD</name></proto> <param><ptype>UINT</ptype> <name>id</name></param> - <param>int <name>property</name></param> + <param><ptype>INT</ptype> <name>property</name></param> <param><ptype>GLenum</ptype> <name>dataType</name></param> <param><ptype>UINT</ptype> <name>size</name></param> <param>void *<name>data</name></param> @@ -1234,7 +1240,7 @@ Registry at <command> <proto><ptype>INT64</ptype> <name>wglSwapLayerBuffersMscOML</name></proto> <param><ptype>HDC</ptype> <name>hdc</name></param> - <param>int <name>fuPlanes</name></param> + <param><ptype>INT</ptype> <name>fuPlanes</name></param> <param><ptype>INT64</ptype> <name>target_msc</name></param> <param><ptype>INT64</ptype> <name>divisor</name></param> <param><ptype>INT64</ptype> <name>remainder</name></param> @@ -1627,6 +1633,11 @@ Registry at <enum name="WGL_TYPE_RGBA_FLOAT_ATI"/> </require> </extension> + <extension name="WGL_ATI_render_texture_rectangle" supported="wgl"> + <require> + <enum name="WGL_TEXTURE_RECTANGLE_ATI"/> + </require> + </extension> <extension name="WGL_EXT_colorspace" supported="wgl"> <require> <enum name="WGL_COLORSPACE_EXT"/> @@ -1979,5 +1990,14 @@ Registry at <command name="wglWaitForSbcOML"/> </require> </extension> + <extension name="WGL_NV_multigpu_context" supported="wgl"> + <require> + <enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_NV"/> + <enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV"/> + <enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_AFR_NV"/> + <enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV"/> + <enum name="WGL_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV"/> + </require> + </extension> </extensions> </registry> diff --git a/dist/libepoxy/src/dispatch_common.c b/dist/libepoxy/src/dispatch_common.c index d9477bc83..fc62cdf3f 100644 --- a/dist/libepoxy/src/dispatch_common.c +++ b/dist/libepoxy/src/dispatch_common.c @@ -173,28 +173,29 @@ #include "dispatch_common.h" -#ifdef __APPLE__ +#if defined(__APPLE__) #define GLX_LIB "/opt/X11/lib/libGL.1.dylib" #define OPENGL_LIB "/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL" +#define GLES1_LIB "libGLESv1_CM.so" +#define GLES2_LIB "libGLESv2.so" #elif defined(__ANDROID__) #define GLX_LIB "libGLESv2.so" +#define EGL_LIB "libEGL.so" +#define GLES1_LIB "libGLESv1_CM.so" +#define GLES2_LIB "libGLESv2.so" #elif defined(__OpenBSD__) #define GLX_LIB "libGL.so" -#else -#define GLVND_GLX_LIB "libGLX.so.1" -#define GLX_LIB "libGL.so.1" -#endif - -#ifdef __ANDROID__ #define EGL_LIB "libEGL.so" #define GLES1_LIB "libGLESv1_CM.so" #define GLES2_LIB "libGLESv2.so" -#elif defined _WIN32 +#elif defined(_WIN32) #define EGL_LIB "libEGL.dll" #define GLES1_LIB "libGLES_CM.dll" #define GLES2_LIB "libGLESv2.dll" #define OPENGL_LIB "OPENGL32" #else +#define GLVND_GLX_LIB "libGLX.so.1" +#define GLX_LIB "libGL.so.1" #define EGL_LIB "libEGL.so.1" #define GLES1_LIB "libGLESv1_CM.so.1" #define GLES2_LIB "libGLESv2.so.2" @@ -310,8 +311,10 @@ get_dlopen_handle(void **handle, const char *lib_name, bool exit_on_fail, bool l pthread_mutex_lock(&api.mutex); if (!*handle) { int flags = RTLD_LAZY | RTLD_LOCAL; +#ifndef __OpenBSD__ if (!load) flags |= RTLD_NOLOAD; +#endif *handle = dlopen(lib_name, flags); if (!*handle) { @@ -555,23 +558,25 @@ epoxy_internal_has_gl_extension(const char *ext, bool invalid_op_mode) bool epoxy_load_glx(bool exit_if_fails, bool load) { -#ifdef GLVND_GLX_LIB +#if PLATFORM_HAS_GLX +# ifdef GLVND_GLX_LIB /* prefer the glvnd library if it exists */ if (!api.glx_handle) get_dlopen_handle(&api.glx_handle, GLVND_GLX_LIB, false, load); -#endif +# endif if (!api.glx_handle) get_dlopen_handle(&api.glx_handle, GLX_LIB, exit_if_fails, load); - +#endif return api.glx_handle != NULL; } void * epoxy_conservative_glx_dlsym(const char *name, bool exit_if_fails) { +#if PLATFORM_HAS_GLX if (epoxy_load_glx(exit_if_fails, exit_if_fails)) return do_dlsym(&api.glx_handle, name, exit_if_fails); - +#endif return NULL; } @@ -638,15 +643,20 @@ epoxy_conservative_has_gl_extension(const char *ext) bool epoxy_load_egl(bool exit_if_fails, bool load) { +#if PLATFORM_HAS_EGL return get_dlopen_handle(&api.egl_handle, EGL_LIB, exit_if_fails, load); +#else + return false; +#endif } void * epoxy_conservative_egl_dlsym(const char *name, bool exit_if_fails) { +#if PLATFORM_HAS_EGL if (epoxy_load_egl(exit_if_fails, exit_if_fails)) return do_dlsym(&api.egl_handle, name, exit_if_fails); - +#endif return NULL; } @@ -729,7 +739,7 @@ epoxy_gles3_dlsym(const char *name) return epoxy_get_proc_address(name); } else { if (get_dlopen_handle(&api.gles2_handle, GLES2_LIB, false, true)) { - void *func = do_dlsym(&api.gles2_handle, GLES2_LIB, false); + void *func = do_dlsym(&api.gles2_handle, name, false); if (func) return func; diff --git a/dist/libepoxy/src/dispatch_common.h b/dist/libepoxy/src/dispatch_common.h index dcb3a35eb..a361cccf3 100644 --- a/dist/libepoxy/src/dispatch_common.h +++ b/dist/libepoxy/src/dispatch_common.h @@ -28,7 +28,7 @@ #define PLATFORM_HAS_GLX ENABLE_GLX #define PLATFORM_HAS_WGL 1 #elif defined(__APPLE__) -#define PLATFORM_HAS_EGL ENABLE_EGL +#define PLATFORM_HAS_EGL 0 #define PLATFORM_HAS_GLX ENABLE_GLX #define PLATFORM_HAS_WGL 0 #elif defined(ANDROID) diff --git a/dist/libepoxy/src/gen_dispatch.py b/dist/libepoxy/src/gen_dispatch.py index 28dad2bc6..f4d0f313d 100755 --- a/dist/libepoxy/src/gen_dispatch.py +++ b/dist/libepoxy/src/gen_dispatch.py @@ -50,6 +50,7 @@ class GLProvider(object): self.enum = self.enum.replace(' ', '_') self.enum = self.enum.replace('\\"', '') self.enum = self.enum.replace('.', '_') + self.enum = "PROVIDER_" + self.enum class GLFunction(object): def __init__(self, ret_type, name): @@ -383,6 +384,7 @@ class Generator(object): for extension in reg.findall('extensions/extension'): extname = extension.get('name') + cond_extname = "enum_string[enum_string_offsets[i]]" self.supported_extensions.add(extname) @@ -390,25 +392,21 @@ class Generator(object): # or glx, which are separated by '|' apis = extension.get('supported').split('|') if 'glx' in apis: - human_name = 'GLX extension \\"{0}\\"'.format(extname) - condition = 'epoxy_conservative_has_glx_extension("{0}")'.format(extname) + condition = 'epoxy_conservative_has_glx_extension(provider_name)' loader = 'glXGetProcAddress((const GLubyte *){0})' - self.process_require_statements(extension, condition, loader, human_name) + self.process_require_statements(extension, condition, loader, extname) if 'egl' in apis: - human_name = 'EGL extension \\"{0}\\"'.format(extname) - condition = 'epoxy_conservative_has_egl_extension("{0}")'.format(extname) + condition = 'epoxy_conservative_has_egl_extension(provider_name)' loader = 'eglGetProcAddress({0})' - self.process_require_statements(extension, condition, loader, human_name) + self.process_require_statements(extension, condition, loader, extname) if 'wgl' in apis: - human_name = 'WGL extension \\"{0}\\"'.format(extname) - condition = 'epoxy_conservative_has_wgl_extension("{0}")'.format(extname) + condition = 'epoxy_conservative_has_wgl_extension(provider_name)' loader = 'wglGetProcAddress({0})' - self.process_require_statements(extension, condition, loader, human_name) + self.process_require_statements(extension, condition, loader, extname) if {'gl', 'gles1', 'gles2'}.intersection(apis): - human_name = 'GL extension \\"{0}\\"'.format(extname) - condition = 'epoxy_conservative_has_gl_extension("{0}")'.format(extname) + condition = 'epoxy_conservative_has_gl_extension(provider_name)' loader = 'epoxy_get_proc_address({0})' - self.process_require_statements(extension, condition, loader, human_name) + self.process_require_statements(extension, condition, loader, extname) def fixup_bootstrap_function(self, name, loader): # We handle glGetString(), glGetIntegerv(), and @@ -676,7 +674,7 @@ class Generator(object): self.outln(' -1, /* {0}_provider_terminator, unused */'.format(self.target)) for human_name in sorted_providers: enum = self.provider_enum[human_name] - self.outln(' {1}, /* {0} */'.format(enum, self.enum_string_offset[human_name])) + self.outln(' {1}, /* {0} */'.format(human_name, self.enum_string_offset[human_name])) self.outln('};') self.outln('') @@ -703,7 +701,9 @@ class Generator(object): self.outln(' int i;') self.outln(' for (i = 0; providers[i] != {0}_provider_terminator; i++) {{'.format(self.target)) + self.outln(' const char *provider_name = enum_string + enum_string_offsets[providers[i]];') self.outln(' switch (providers[i]) {') + self.outln('') for human_name in sorted(self.provider_enum.keys()): enum = self.provider_enum[human_name] diff --git a/dist/libepoxy/src/meson.build b/dist/libepoxy/src/meson.build index 466fc0d66..fe092d1d0 100644 --- a/dist/libepoxy/src/meson.build +++ b/dist/libepoxy/src/meson.build @@ -50,11 +50,7 @@ epoxy_sources = sources + gen_sources common_ldflags = [] if host_system == 'linux' and cc.get_id() == 'gcc' - if meson.version().version_compare('>= 0.46.0') - common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro' ]) - else - common_ldflags += [ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', ] - endif + common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro' ]) endif # Maintain compatibility with autotools; see: https://github.com/anholt/libepoxy/issues/108 diff --git a/dist/libepoxy/test/Makefile.am b/dist/libepoxy/test/Makefile.am index b08178663..fc3ffcd0a 100644 --- a/dist/libepoxy/test/Makefile.am +++ b/dist/libepoxy/test/Makefile.am @@ -57,6 +57,7 @@ TESTS = \ $(GLX_TESTS) \ $(EGL_AND_GLX_TESTS) \ $(WGL_TESTS) \ + gl_version$(EXEEXT) \ headerguards$(EXEEXT) \ miscdefines$(EXEEXT) \ khronos_typedefs$(EXEEXT) \ diff --git a/dist/libepoxy/test/cgl_core.c b/dist/libepoxy/test/cgl_core.c new file mode 100644 index 000000000..9b56acf0f --- /dev/null +++ b/dist/libepoxy/test/cgl_core.c @@ -0,0 +1,54 @@ +/* This is a copy of the test used by HomeBrew's libepoxy recipe, + * originally written by Mikko Lehtonen. + * + * The Homebrew recipe is released under the BSD 2-Clause license. + * + * Copyright (c) 2009-present, Homebrew contributors + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include <epoxy/gl.h> +#include <Carbon/Carbon.h> +#include <OpenGL/OpenGL.h> +#include <OpenGL/CGLTypes.h> +#include <OpenGL/CGLCurrent.h> +#include <OpenGL/CGLContext.h> + +int +main (void) +{ + CGLPixelFormatAttribute attribs[] = {0}; + CGLPixelFormatObj pix; + CGLContextObj ctx; + int npix; + + CGLChoosePixelFormat(attribs, &pix, &npix); + CGLCreateContext(pix, (void *) 0, &ctx); + + glClear(GL_COLOR_BUFFER_BIT); + + CGLReleaseContext(ctx); + CGLReleasePixelFormat(pix); + + return 0; +} diff --git a/dist/libepoxy/test/cgl_epoxy_api.c b/dist/libepoxy/test/cgl_epoxy_api.c new file mode 100644 index 000000000..e83222c43 --- /dev/null +++ b/dist/libepoxy/test/cgl_epoxy_api.c @@ -0,0 +1,83 @@ +/* + * Copyright 2018 Emmanuele Bassi + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +/** + * @file cgl_epoxy_api.c + * + * Tests the Epoxy API using the CoreGraphics OpenGL framework. + */ + +#include <epoxy/gl.h> +#include <Carbon/Carbon.h> +#include <OpenGL/OpenGL.h> +#include <OpenGL/CGLTypes.h> +#include <OpenGL/CGLCurrent.h> +#include <OpenGL/CGLContext.h> + +int +main (void) +{ + CGLPixelFormatAttribute attribs[] = {0}; + CGLPixelFormatObj pix; + CGLContextObj ctx; + const char *string; + bool pass = true; + int npix; + GLint shader; + + CGLChoosePixelFormat(attribs, &pix, &npix); + CGLCreateContext(pix, (void *) 0, &ctx); + CGLSetCurrentContext(ctx); + + if (!epoxy_is_desktop_gl()) { + fputs("Claimed not to be desktop\n", stderr); + pass = false; + } + + if (epoxy_gl_version() < 20) { + fprintf(stderr, "Claimed to be GL version %d\n", + epoxy_gl_version()); + pass = false; + } + + if (epoxy_glsl_version() < 100) { + fprintf(stderr, "Claimed to have GLSL version %d\n", + epoxy_glsl_version()); + pass = false; + } + + string = (const char *)glGetString(GL_VERSION); + printf("GL version: %s - Epoxy: %d\n", string, epoxy_gl_version()); + + string = (const char *)glGetString(GL_SHADING_LANGUAGE_VERSION); + printf("GLSL version: %s - Epoxy: %d\n", string, epoxy_glsl_version()); + + shader = glCreateShader(GL_FRAGMENT_SHADER); + pass = glIsShader(shader); + + CGLSetCurrentContext(NULL); + CGLReleaseContext(ctx); + CGLReleasePixelFormat(pix); + + return pass != true; +} diff --git a/dist/libepoxy/test/egl_epoxy_api.c b/dist/libepoxy/test/egl_epoxy_api.c index 2c1b2571c..252b535d9 100644 --- a/dist/libepoxy/test/egl_epoxy_api.c +++ b/dist/libepoxy/test/egl_epoxy_api.c @@ -27,6 +27,11 @@ * Tests the Epoxy API using EGL. */ +#ifdef __sun +#define __EXTENSIONS__ +#else +#define _GNU_SOURCE +#endif #include <stdio.h> #include <string.h> #include <stdlib.h> diff --git a/dist/libepoxy/test/egl_has_extension_nocontext.c b/dist/libepoxy/test/egl_has_extension_nocontext.c index 94a7faa41..4fa5f60a1 100644 --- a/dist/libepoxy/test/egl_has_extension_nocontext.c +++ b/dist/libepoxy/test/egl_has_extension_nocontext.c @@ -28,6 +28,11 @@ * no context bound would fail out in dispatch. */ +#ifdef __sun +#define __EXTENSIONS__ +#else +#define _GNU_SOURCE +#endif #include <stdio.h> #include <string.h> #include <stdlib.h> diff --git a/dist/libepoxy/test/gl_version.c b/dist/libepoxy/test/gl_version.c new file mode 100644 index 000000000..9ab008018 --- /dev/null +++ b/dist/libepoxy/test/gl_version.c @@ -0,0 +1,89 @@ +/* + * Copyright © 2018 Broadcom + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +#include <stdio.h> +#include <assert.h> +#include "epoxy/gl.h" + +GLenum mock_enum; +const char *mock_gl_version; +const char *mock_glsl_version; + +static const GLubyte *override_glGetString(GLenum name) +{ + switch (name) { + case GL_VERSION: + return (GLubyte *)mock_gl_version; + case GL_SHADING_LANGUAGE_VERSION: + return (GLubyte *)mock_glsl_version; + default: + assert(!"unexpected glGetString() enum"); + return 0; + } +} + +static bool +test_version(const char *gl_string, int gl_version, + const char *glsl_string, int glsl_version) +{ + int epoxy_version; + + mock_gl_version = gl_string; + mock_glsl_version = glsl_string; + + epoxy_version = epoxy_gl_version(); + if (epoxy_version != gl_version) { + fprintf(stderr, + "glGetString(GL_VERSION) = \"%s\" returned epoxy_gl_version() " + "%d instead of %d\n", gl_string, epoxy_version, gl_version); + return false; + } + + + epoxy_version = epoxy_glsl_version(); + if (epoxy_version != glsl_version) { + fprintf(stderr, + "glGetString() = \"%s\" returned epoxy_glsl_version() " + "%d instead of %d\n", glsl_string, epoxy_version, glsl_version); + return false; + } + + return true; +} + +int +main(int argc, char **argv) +{ + bool pass = true; + + epoxy_glGetString = override_glGetString; + + pass = pass && test_version("3.0 Mesa 13.0.6", 30, + "1.30", 130); + pass = pass && test_version("OpenGL ES 3.2 Mesa 18.3.0-devel", 32, + "OpenGL ES GLSL ES 3.20", 320); + pass = pass && test_version("4.5.0 NVIDIA 384.130", 45, + "4.50", 450); + + return pass != true; +} diff --git a/dist/libepoxy/test/meson.build b/dist/libepoxy/test/meson.build index ea2b3549e..862d57afd 100644 --- a/dist/libepoxy/test/meson.build +++ b/dist/libepoxy/test/meson.build @@ -33,6 +33,12 @@ test('khronos_typedefs', c_args: common_cflags, dependencies: libepoxy_dep, include_directories: libepoxy_inc)) +test('gl_version', + executable('gl_version', + 'gl_version.c', + c_args: common_cflags, + dependencies: libepoxy_dep, + include_directories: libepoxy_inc)) if build_egl and build_x11_tests egl_common_sources = [ 'egl_common.h', 'egl_common.c', ] @@ -74,7 +80,7 @@ if build_egl and build_x11_tests endforeach endif -if build_glx +if build_glx and build_x11_tests glx_common_sources = [ 'glx_common.h', 'glx_common.c', ] glx_common_lib = static_library('glx_common', sources: glx_common_sources, @@ -152,3 +158,27 @@ if build_wgl test(test_name, test_bin) endforeach endif + +# Apple +if host_machine.system().contains('darwin') + opengl_dep = dependency('appleframeworks', modules: ['OpenGL', 'Carbon'], required: true) + + cgl_tests = [ + [ 'cgl_core', [ 'cgl_core.c' ] ], + [ 'cgl_epoxy_api', [ 'cgl_epoxy_api.c' ] ], + ] + + foreach t: cgl_tests + test_name = t[0] + test_sources = t[1] + + test(test_name, + executable( + test_name, test_sources, + c_args: test_cflags, + include_directories: libepoxy_inc, + dependencies: [ libepoxy_dep, opengl_dep ], + ), + ) + endforeach +endif |