Available on
gles
and neither Windows nor webgl
only.Expand description
cbindgen:ignore
Structs§
- Adapter
Context - A wrapper around a [
glow::Context
] and the required EGL context that uses locking to guarantee exclusive access when shared with multiple threads. - Adapter
Context Lock - A guard containing a lock to an
AdapterContext
, while the GL context is kept current. - Display
Owner 🔒 - DisplayOwner ties the lifetime of the system display handle to that of the loaded library. It implements Drop to ensure that the display handle is closed prior to unloading the library so that we don’t leak the associated file descriptors
- EglContext 🔒
- EglContext
Lock 🔒 - Inner 🔒
- Instance
- Surface
- Swapchain
- Window
System 🔒Interface
Enums§
- Display
Ref 🔒 - A simple wrapper around an X11 or Wayland display handle. Since the logic in this file doesn’t actually need to directly persist a wayland connection handle, the only load-bearing enum variant is the X11 variant
- Srgb
Frame 🔒Buffer Kind - Window
Kind 🔒
Constants§
- CONTEXT_
LOCK_ 🔒TIMEOUT_ SECS - The amount of time to wait while trying to obtain a lock to the adapter context
- EGL_
CONTEXT_ 🔒FLAGS_ KHR - EGL_
CONTEXT_ 🔒OPENGL_ DEBUG_ BIT_ KHR - EGL_
CONTEXT_ 🔒OPENGL_ ROBUST_ ACCESS_ EXT - EGL_
DEBUG_ 🔒MSG_ CRITICAL_ KHR - EGL_
DEBUG_ 🔒MSG_ ERROR_ KHR - EGL_
DEBUG_ 🔒MSG_ INFO_ KHR - EGL_
DEBUG_ 🔒MSG_ WARN_ KHR - EGL_
GL_ 🔒COLORSPACE_ KHR - EGL_
GL_ 🔒COLORSPACE_ SRGB_ KHR - EGL_
PLATFORM_ 🔒ANGLE_ ANGLE - EGL_
PLATFORM_ 🔒ANGLE_ DEBUG_ LAYERS_ ENABLED - EGL_
PLATFORM_ 🔒ANGLE_ NATIVE_ PLATFORM_ TYPE_ ANGLE - EGL_
PLATFORM_ 🔒SURFACELESS_ MESA - EGL_
PLATFORM_ 🔒WAYLAND_ KHR - EGL_
PLATFORM_ 🔒X11_ KHR
Statics§
Functions§
- choose_
config 🔒 - Choose GLES framebuffer configuration.
- egl_
debug_ 🔒 ⚠proc - find_
library 🔒 ⚠ - initialize_
display 🔒 - open_
x_ 🔒display - terminate_
display 🔒 - test_
wayland_ 🔒display