pub struct Glx(pub SymWrapper<Glx>);
Expand description
GLX interface.
Tuple Fields§
§0: SymWrapper<Glx>
Methods from Deref<Target = Glx>§
pub unsafe fn ChooseFBConfig( &self, dpy: *mut Display, screen: i32, attrib_list: *const i32, nelements: *mut i32, ) -> *mut *const c_void
pub unsafe fn ChooseVisual( &self, dpy: *mut Display, screen: i32, attribList: *mut i32, ) -> *mut XVisualInfo
pub unsafe fn CopyContext( &self, dpy: *mut Display, src: *const c_void, dst: *const c_void, mask: u64, )
pub unsafe fn CreateContext( &self, dpy: *mut Display, vis: *mut XVisualInfo, shareList: *const c_void, direct: i32, ) -> *const c_void
pub unsafe fn CreateGLXPixmap( &self, dpy: *mut Display, visual: *mut XVisualInfo, pixmap: u64, ) -> u64
pub unsafe fn CreateNewContext( &self, dpy: *mut Display, config: *const c_void, render_type: i32, share_list: *const c_void, direct: i32, ) -> *const c_void
pub unsafe fn CreatePbuffer( &self, dpy: *mut Display, config: *const c_void, attrib_list: *const i32, ) -> u64
pub unsafe fn CreatePixmap( &self, dpy: *mut Display, config: *const c_void, pixmap: u64, attrib_list: *const i32, ) -> u64
pub unsafe fn CreateWindow( &self, dpy: *mut Display, config: *const c_void, win: u64, attrib_list: *const i32, ) -> u64
pub unsafe fn DestroyContext(&self, dpy: *mut Display, ctx: *const c_void)
pub unsafe fn DestroyGLXPixmap(&self, dpy: *mut Display, pixmap: u64)
pub unsafe fn DestroyPbuffer(&self, dpy: *mut Display, pbuf: u64)
pub unsafe fn DestroyPixmap(&self, dpy: *mut Display, pixmap: u64)
pub unsafe fn DestroyWindow(&self, dpy: *mut Display, win: u64)
pub unsafe fn GetClientString(&self, dpy: *mut Display, name: i32) -> *const i8
pub unsafe fn GetConfig( &self, dpy: *mut Display, visual: *mut XVisualInfo, attrib: i32, value: *mut i32, ) -> i32
pub unsafe fn GetCurrentContext(&self) -> *const c_void
pub unsafe fn GetCurrentDisplay(&self) -> *mut Display
pub unsafe fn GetCurrentDrawable(&self) -> u64
pub unsafe fn GetCurrentReadDrawable(&self) -> u64
pub unsafe fn GetFBConfigAttrib( &self, dpy: *mut Display, config: *const c_void, attribute: i32, value: *mut i32, ) -> i32
pub unsafe fn GetFBConfigs( &self, dpy: *mut Display, screen: i32, nelements: *mut i32, ) -> *mut *const c_void
pub unsafe fn GetProcAddress( &self, procName: *const u8, ) -> *mut __GLXextFuncPtr_fn
pub unsafe fn GetSelectedEvent( &self, dpy: *mut Display, draw: u64, event_mask: *mut u64, )
pub unsafe fn GetVisualFromFBConfig( &self, dpy: *mut Display, config: *const c_void, ) -> *mut XVisualInfo
pub unsafe fn IsDirect(&self, dpy: *mut Display, ctx: *const c_void) -> i32
pub unsafe fn MakeContextCurrent( &self, dpy: *mut Display, draw: u64, read: u64, ctx: *const c_void, ) -> i32
pub unsafe fn MakeCurrent( &self, dpy: *mut Display, drawable: u64, ctx: *const c_void, ) -> i32
pub unsafe fn QueryContext( &self, dpy: *mut Display, ctx: *const c_void, attribute: i32, value: *mut i32, ) -> i32
pub unsafe fn QueryDrawable( &self, dpy: *mut Display, draw: u64, attribute: i32, value: *mut u32, )
pub unsafe fn QueryExtension( &self, dpy: *mut Display, errorb: *mut i32, event: *mut i32, ) -> i32
pub unsafe fn QueryExtensionsString( &self, dpy: *mut Display, screen: i32, ) -> *const i8
pub unsafe fn QueryServerString( &self, dpy: *mut Display, screen: i32, name: i32, ) -> *const i8
pub unsafe fn QueryVersion( &self, dpy: *mut Display, maj: *mut i32, min: *mut i32, ) -> i32
pub unsafe fn SelectEvent(&self, dpy: *mut Display, draw: u64, event_mask: u64)
pub unsafe fn SwapBuffers(&self, dpy: *mut Display, drawable: u64)
pub unsafe fn UseXFont(&self, font: u64, first: i32, count: i32, list: i32)
pub unsafe fn WaitGL(&self)
pub unsafe fn WaitX(&self)
Trait Implementations§
impl Send for Glx
impl Sync for Glx
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more