edgefirst-gl 0.25.3

Minimal OpenGL ES bindings — a trimmed, maintained fork of `gls`
Documentation
  • Coverage
  • 10.48%
    263 out of 2510 items documented0 out of 1101 items with examples
  • Size
  • Source code size: 23.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 13.86 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • EdgeFirstAI/hal
    4 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sebastient

edgefirst-gl

Minimal OpenGL ES bindings used by the EdgeFirst HAL.

This crate is a trimmed, maintained fork of gls 0.1.6 by Varphone Wong, which became unmaintained. Only the surface the HAL actually uses is retained:

  • the raw gl bindings (generated at build time by gl_generator, GLES 3.2 + the GL_OES_EGL_image / GL_OES_EGL_image_external / GL_EXT_YUV_target extensions),
  • a small set of safe wrappers (apis),
  • the Error type.

The upstream higher-level helpers (textures, framebuffers, shaders, buffers, viewport math) and their nalgebra / serde / libc / winapi dependencies have been removed, so this crate has no runtime dependencies.

The library is imported as edgefirst_gl:

use edgefirst_gl as gls; // optional alias

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option, matching the original gls. See LICENSE-APACHE and LICENSE-MIT.