/egl_example

Creating an EGL + OpenGL context using glad, dynamically loading the libraries, for headless rendering in the cloud (for example using Ubuntu 16.04 without X11)

Primary LanguageC

egl_example

Creating an EGL + OpenGL context using glad, dynamically loading the libraries, for headless rendering in the cloud (for example using Ubuntu 16.04 without X11)

build and run

./build.sh ./egl_example

Example output:

Loaded EGL 1.4 after reload.
GL_VENDOR=NVIDIA Corporation
GL_RENDERER=Tesla P100-PCIE-16GB/PCIe/SSE2
GL_VERSION=4.6.0 NVIDIA 396.24.02
GL_SHADING_LANGUAGE_VERSION=4.60 NVIDIA