Expand description
cbindgen:ignore
Structs§
- A wrapper around a
glow::Context
and the required EGL context that uses locking to guarantee exclusive access when shared with multiple threads. - A guard containing a lock to an
AdapterContext
, while the GL context is kept current. - DisplayOwner π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 π
- EglContextLock π
- Inner π
Enums§
- DisplayRef π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
- SrgbFrameBufferKind π
- WindowKind π
Constants§
- The amount of time to wait while trying to obtain a lock to the adapter context
- 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 π
Type Aliases§
- EGLDEBUGPROCKHR π
- EglInstance π
- EglLabel π
- WlDisplayConnectFun π
- WlEglWindowCreateFun π
- WlEglWindowResizeFun π
- XCloseDisplayFun π
- XOpenDisplayFun π