Struct offscreen_gl_context::NativeGLContext
[−]
[src]
pub struct NativeGLContext { /* fields omitted */ }
pub struct NativeGLContext { /* fields omitted */ }
impl NativeGLContext
[src]fn new(share_context: Option<&*const c_void>, display: *mut Display, drawable: c_ulong, framebuffer_config: *const c_void) -> Result<NativeGLContext, &'static str>
fn as_native_glx_context(&self) -> *const c_void
impl Drop for NativeGLContext
[src]impl NativeGLContextMethods for NativeGLContext
[src]type Handle = NativeGLContextHandle
fn get_proc_address(addr: &str) -> *const ()
fn current_handle() -> Option<Self::Handle>
fn current() -> Option<NativeGLContext>
fn is_current(&self) -> bool
fn handle(&self) -> NativeGLContextHandle
fn make_current(&self) -> Result<(), &'static str>
fn unbind(&self) -> Result<(), &'static str>
fn create_headless() -> Result<Self, &'static str>