Registry / other / egl-registry

egl-registry

JSON →
library2025-05-27vcpkgunverified

EGL Registry provides the official API and extension headers for the EGL native platform interface.

vcpkg install egl-registry
INSTALL
IMPORT
SIG · EGL-REGISTRY
E
egl-registry
othercppv2025-05-27
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EGL/egl.h
#include <EGL/egl.h>

Initializes EGL and prints the version.

#include <EGL/egl.h> #include <iostream> int main() { EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); if (display == EGL_NO_DISPLAY) { std::cerr << "Failed to get EGL display" << std::endl; return 1; } EGLint major, minor; eglInitialize(display, &major, &minor); std::cout << "EGL version: " << major << "." << minor << std::endl; eglTerminate(display); return 0; }
Debug
Known issues
gotchaEGL requires a native display (e.g., X11, Wayland) to initialize; on headless systems, use EGL_KHR_platform_gbm or similar.
fix
Ensure a valid display connection is available or use a platform-specific EGL extension for headless rendering.
affects: *
Upgrade
Version history
2025-05-27latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

egl-registry — pip install egl-registry · libregistry