Struct x11_dl::glx::Glx [] [src]

pub struct Glx {
    pub glXChooseFBConfig: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *const c_int, _: *mut c_int) -> *mut GLXFBConfig,
    pub glXChooseVisual: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XVisualInfo,
    pub glXCopyContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext, _: GLXContext, _: c_ulong),
    pub glXCreateContext: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: GLXContext, _: c_int) -> GLXContext,
    pub glXCreateGLXPixmap: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: c_ulong) -> c_ulong,
    pub glXCreateNewContext: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_int, _: GLXContext, _: c_int) -> GLXContext,
    pub glXCreatePbuffer: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: *const c_int) -> c_ulong,
    pub glXCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_ulong, _: *const c_int) -> c_ulong,
    pub glXCreateWindow: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_ulong, _: *const c_int) -> c_ulong,
    pub glXDestroyContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext),
    pub glXDestroyGLXPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong),
    pub glXDestroyPbuffer: unsafe extern "C" fn(_: *mut Display, _: c_ulong),
    pub glXDestroyPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong),
    pub glXDestroyWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong),
    pub glXGetClientString: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *const c_char,
    pub glXGetConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: c_int, _: *mut c_int) -> c_int,
    pub glXGetCurrentContext: unsafe extern "C" fn() -> GLXContext,
    pub glXGetCurrentDisplay: unsafe extern "C" fn() -> *mut Display,
    pub glXGetCurrentDrawable: unsafe extern "C" fn() -> c_ulong,
    pub glXGetCurrentReadDrawable: unsafe extern "C" fn() -> c_ulong,
    pub glXGetFBConfigAttrib: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_int, _: *mut c_int) -> c_int,
    pub glXGetFBConfigs: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut GLXFBConfig,
    pub glXGetProcAddress: unsafe extern "C" fn(_: *const c_uchar) -> Option<unsafe extern "C" fn()>,
    pub glXGetSelectedEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong),
    pub glXGetVisualFromFBConfig: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig) -> *mut XVisualInfo,
    pub glXIsDirect: unsafe extern "C" fn(_: *mut Display, _: GLXContext) -> c_int,
    pub glXMakeContextCurrent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: GLXContext) -> c_int,
    pub glXMakeCurrent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GLXContext) -> c_int,
    pub glXQueryContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext, _: c_int, _: *mut c_int) -> c_int,
    pub glXQueryDrawable: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_uint),
    pub glXQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int,
    pub glXQueryExtensionsString: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *const c_char,
    pub glXQueryServerString: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> *const c_char,
    pub glXQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int,
    pub glXSelectEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong),
    pub glXSwapBuffers: unsafe extern "C" fn(_: *mut Display, _: c_ulong),
    pub glXUseXFont: unsafe extern "C" fn(_: c_ulong, _: c_int, _: c_int, _: c_int),
    pub glXWaitGL: unsafe extern "C" fn(),
    pub glXWaitX: unsafe extern "C" fn(),
    // some fields omitted
}

Fields

Methods

impl Glx
[src]

Trait Implementations

impl Send for Glx
[src]

impl Sync for Glx
[src]