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. - 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 π
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§
- The amount of time to wait while trying to obtain a lock to the adapter context
- EGL_
PLATFOR πM_ 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 π
- WlDisplay
Connect πFun - WlEgl
Window πCreate Fun - WlEgl
Window πResize Fun - XClose
Display πFun - XOpen
Display πFun