The open source OpenXR runtime
1# SPDX-FileCopyrightText: 2020, Collabora, Ltd. and the Monado contributors
2# SPDX-License-Identifier: CC0-1.0
3
4#
5# To install glad2 as a user on your system.
6#
7# git clone <glad-repo>
8# git checkout glad2
9# pip3 install --user .
10#
11
12# command line (for the glad2 branch!)
13
14glad --merge \
15 --api='gl:core=4.5,gles2=3.2,egl=1.4' \
16 --extensions=\
17GL_EXT_external_buffer,\
18GL_EXT_memory_object,\
19GL_EXT_memory_object_fd,\
20GL_EXT_memory_object_win32,\
21GL_EXT_YUV_target,\
22GL_EXT_sRGB,\
23GL_EXT_EGL_image_storage,\
24GL_OES_depth_texture,\
25GL_OES_rgb8_rgba8,\
26GL_OES_packed_depth_stencil,\
27GL_OES_EGL_image,\
28GL_OES_EGL_image_external,\
29GL_OES_EGL_image_external_essl3,\
30EGL_KHR_create_context,\
31EGL_KHR_gl_colorspace,\
32EGL_KHR_fence_sync,\
33EGL_KHR_reusable_sync,\
34EGL_KHR_wait_sync,\
35EGL_KHR_image,\
36EGL_KHR_image_base,\
37EGL_KHR_platform_android,\
38EGL_EXT_image_gl_colorspace,\
39EGL_EXT_image_dma_buf_import,\
40EGL_EXT_image_dma_buf_import_modifiers,\
41EGL_ANDROID_get_native_client_buffer,\
42EGL_ANDROID_image_native_buffer,\
43EGL_ANDROID_native_fence_sync,\
44EGL_ANDROID_front_buffer_auto_refresh,\
45EGL_IMG_context_priority,\
46 --out-path . c