Struct osmesa_sys::OsMesa []

pub struct OsMesa {
    pub OSMesaColorClamp: unsafe extern "C" fn(_: c_uchar),
    pub OSMesaCreateContext: unsafe extern "C" fn(_: c_uint, _: OSMesaContext) -> OSMesaContext,
    pub OSMesaCreateContextExt: unsafe extern "C" fn(_: c_uint, _: c_int, _: c_int, _: c_int, _: OSMesaContext) -> OSMesaContext,
    pub OSMesaCreateContextAttribs: unsafe extern "C" fn(_: *const c_int, _: OSMesaContext) -> OSMesaContext,
    pub OSMesaDestroyContext: unsafe extern "C" fn(_: OSMesaContext),
    pub OSMesaGetColorBuffer: unsafe extern "C" fn(_: OSMesaContext, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut *mut c_void) -> c_uchar,
    pub OSMesaGetCurrentContext: unsafe extern "C" fn() -> OSMesaContext,
    pub OSMesaGetDepthBuffer: unsafe extern "C" fn(_: OSMesaContext, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut *mut c_void) -> c_uchar,
    pub OSMesaGetIntegerv: unsafe extern "C" fn(_: c_int, _: *mut c_int),
    pub OSMesaGetProcAddress: unsafe extern "C" fn(_: *const c_char) -> OSMESAproc,
    pub OSMesaMakeCurrent: unsafe extern "C" fn(_: OSMesaContext, _: *mut c_void, _: c_uint, _: c_int, _: c_int) -> c_uchar,
    pub OSMesaPixelStore: unsafe extern "C" fn(_: c_int, _: c_int),
    // some fields omitted
}

Symbols loaded from a shared library.

Fields

Methods

impl OsMesa

Tries to open the dynamic library.

impl OsMesa

Try loading the static symbols linked to this library.