Skip to main content

Crate edgefirst_gl

Crate edgefirst_gl 

Source
Expand description

Minimal OpenGL ES bindings for the EdgeFirst HAL.

This crate is a trimmed, maintained fork of gls by Varphone Wong, which became unmaintained. Only the surface the HAL uses is kept: the raw gl bindings (generated by gl_generator), a small set of safe wrappers, and the Error type. The upstream higher-level helpers (textures, framebuffers, shaders, buffers, math types) and their nalgebra/serde dependencies have been dropped, leaving no runtime dependencies.

It is published as edgefirst-gl and imported as edgefirst_gl.

Re-exports§

pub use gl::load_with;
pub use gl::GLchar;
pub use gl::GLeglImageOES;
pub use gl::GLenum;
pub use gl::GLint;
pub use gl::GLsizei;
pub use gl::GLuint;
pub use error::Error;
pub use apis::*;

Modules§

apis
Safe-ish wrappers over the raw bindings. Safe-ish wrappers over the raw gl bindings.
error
Error object for OpenGL.
gl
Foreign Function Interface of the OpenGL ES bindings (generated by gl_generator).