offscreen_gl_context 0.25.1

Creation and manipulation of HW accelerated offscreen rendering contexts in multiple platforms. Originally intended for the Servo project's WebGL implementation.
Documentation
1
2
3
4
5
6
7
8
9
mod native_gl_context;
mod utils;
pub use self::native_gl_context::NativeGLContext;
pub use self::native_gl_context::NativeGLContextHandle;

// NB: The last three zeros in egl attributes after the egl::EGL_NONE
// are a workaround for workaround buggy implementations.
// Also, when we compare a createxx call with zero, it's equivalent to
// compare it with egl::EGL_NO_XX