pub struct Egl(/* private fields */);
Expand description
EGL interface.
Methods from Deref<Target = Egl>§
pub unsafe fn BindAPI(&self, api: u32) -> u32
pub unsafe fn BindTexImage( &self, dpy: *const c_void, surface: *const c_void, buffer: i32, ) -> u32
pub unsafe fn ChooseConfig( &self, dpy: *const c_void, attrib_list: *const i32, configs: *mut *const c_void, config_size: i32, num_config: *mut i32, ) -> u32
pub unsafe fn ClientWaitSync( &self, dpy: *const c_void, sync: *const c_void, flags: i32, timeout: u64, ) -> i32
pub unsafe fn ClientWaitSyncKHR( &self, dpy: *const c_void, sync: *const c_void, flags: i32, timeout: u64, ) -> i32
pub unsafe fn CopyBuffers( &self, dpy: *const c_void, surface: *const c_void, target: *const c_void, ) -> u32
pub unsafe fn CreateContext( &self, dpy: *const c_void, config: *const c_void, share_context: *const c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreateImage( &self, dpy: *const c_void, ctx: *const c_void, target: u32, buffer: *const c_void, attrib_list: *const isize, ) -> *const c_void
pub unsafe fn CreateImageKHR( &self, dpy: *const c_void, ctx: *const c_void, target: u32, buffer: *const c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreatePbufferFromClientBuffer( &self, dpy: *const c_void, buftype: u32, buffer: *const c_void, config: *const c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreatePbufferSurface( &self, dpy: *const c_void, config: *const c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreatePixmapSurface( &self, dpy: *const c_void, config: *const c_void, pixmap: *const c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreatePlatformPixmapSurface( &self, dpy: *const c_void, config: *const c_void, native_pixmap: *mut c_void, attrib_list: *const isize, ) -> *const c_void
pub unsafe fn CreatePlatformPixmapSurfaceEXT( &self, dpy: *const c_void, config: *const c_void, native_pixmap: *mut c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreatePlatformWindowSurface( &self, dpy: *const c_void, config: *const c_void, native_window: *mut c_void, attrib_list: *const isize, ) -> *const c_void
pub unsafe fn CreatePlatformWindowSurfaceEXT( &self, dpy: *const c_void, config: *const c_void, native_window: *mut c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreateSync( &self, dpy: *const c_void, type_: u32, attrib_list: *const isize, ) -> *const c_void
pub unsafe fn CreateSyncKHR( &self, dpy: *const c_void, type_: u32, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn CreateWindowSurface( &self, dpy: *const c_void, config: *const c_void, win: *const c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn DestroyContext( &self, dpy: *const c_void, ctx: *const c_void, ) -> u32
pub unsafe fn DestroyImage( &self, dpy: *const c_void, image: *const c_void, ) -> u32
pub unsafe fn DestroyImageKHR( &self, dpy: *const c_void, image: *const c_void, ) -> u32
pub unsafe fn DestroySurface( &self, dpy: *const c_void, surface: *const c_void, ) -> u32
pub unsafe fn DestroySync(&self, dpy: *const c_void, sync: *const c_void) -> u32
pub unsafe fn DestroySyncKHR( &self, dpy: *const c_void, sync: *const c_void, ) -> u32
pub unsafe fn DupNativeFenceFDANDROID( &self, dpy: *const c_void, sync: *const c_void, ) -> i32
pub unsafe fn GetConfigAttrib( &self, dpy: *const c_void, config: *const c_void, attribute: i32, value: *mut i32, ) -> u32
pub unsafe fn GetConfigs( &self, dpy: *const c_void, configs: *mut *const c_void, config_size: i32, num_config: *mut i32, ) -> u32
pub unsafe fn GetCurrentContext(&self) -> *const c_void
pub unsafe fn GetCurrentDisplay(&self) -> *const c_void
pub unsafe fn GetCurrentSurface(&self, readdraw: i32) -> *const c_void
pub unsafe fn GetDisplay(&self, display_id: *const c_void) -> *const c_void
pub unsafe fn GetError(&self) -> i32
pub unsafe fn GetPlatformDisplay( &self, platform: u32, native_display: *mut c_void, attrib_list: *const isize, ) -> *const c_void
pub unsafe fn GetPlatformDisplayEXT( &self, platform: u32, native_display: *mut c_void, attrib_list: *const i32, ) -> *const c_void
pub unsafe fn GetProcAddress( &self, procname: *const i8, ) -> *mut __eglMustCastToProperFunctionPointerType_fn
pub unsafe fn GetSyncAttrib( &self, dpy: *const c_void, sync: *const c_void, attribute: i32, value: *mut isize, ) -> u32
pub unsafe fn GetSyncAttribKHR( &self, dpy: *const c_void, sync: *const c_void, attribute: i32, value: *mut i32, ) -> u32
pub unsafe fn Initialize( &self, dpy: *const c_void, major: *mut i32, minor: *mut i32, ) -> u32
pub unsafe fn MakeCurrent( &self, dpy: *const c_void, draw: *const c_void, read: *const c_void, ctx: *const c_void, ) -> u32
pub unsafe fn QueryAPI(&self) -> u32
pub unsafe fn QueryContext( &self, dpy: *const c_void, ctx: *const c_void, attribute: i32, value: *mut i32, ) -> u32
pub unsafe fn QueryDeviceAttribEXT( &self, device: *const c_void, attribute: i32, value: *mut isize, ) -> u32
pub unsafe fn QueryDeviceStringEXT( &self, device: *const c_void, name: i32, ) -> *const i8
pub unsafe fn QueryDevicesEXT( &self, max_devices: i32, devices: *mut *const c_void, num_devices: *mut i32, ) -> u32
pub unsafe fn QueryDisplayAttribEXT( &self, dpy: *const c_void, attribute: i32, value: *mut isize, ) -> u32
pub unsafe fn QueryDisplayAttribKHR( &self, dpy: *const c_void, name: i32, value: *mut isize, ) -> u32
pub unsafe fn QueryString(&self, dpy: *const c_void, name: i32) -> *const i8
pub unsafe fn QuerySurface( &self, dpy: *const c_void, surface: *const c_void, attribute: i32, value: *mut i32, ) -> u32
pub unsafe fn ReleaseTexImage( &self, dpy: *const c_void, surface: *const c_void, buffer: i32, ) -> u32
pub unsafe fn ReleaseThread(&self) -> u32
pub unsafe fn SurfaceAttrib( &self, dpy: *const c_void, surface: *const c_void, attribute: i32, value: i32, ) -> u32
pub unsafe fn SwapBuffers( &self, dpy: *const c_void, surface: *const c_void, ) -> u32
pub unsafe fn SwapBuffersWithDamageEXT( &self, dpy: *const c_void, surface: *const c_void, rects: *mut i32, n_rects: i32, ) -> u32
pub unsafe fn SwapBuffersWithDamageKHR( &self, dpy: *const c_void, surface: *const c_void, rects: *mut i32, n_rects: i32, ) -> u32
pub unsafe fn SwapInterval(&self, dpy: *const c_void, interval: i32) -> u32
pub unsafe fn Terminate(&self, dpy: *const c_void) -> u32
pub unsafe fn WaitClient(&self) -> u32
pub unsafe fn WaitGL(&self) -> u32
pub unsafe fn WaitNative(&self, engine: i32) -> u32
pub unsafe fn WaitSync( &self, dpy: *const c_void, sync: *const c_void, flags: i32, ) -> u32
pub unsafe fn WaitSyncKHR( &self, dpy: *const c_void, sync: *const c_void, flags: i32, ) -> i32
pub unsafe fn CreateWaylandBufferFromImageWL( &self, dpy: *const c_void, image: *const c_void, ) -> *mut c_void
pub unsafe fn BindWaylandDisplayWL( &self, dpy: *const c_void, display: *mut c_void, ) -> u32
pub unsafe fn UnbindWaylandDisplayWL( &self, dpy: *const c_void, display: *mut c_void, ) -> u32
pub unsafe fn QueryWaylandBufferWL( &self, dpy: *const c_void, buffer: *mut c_void, attribute: i32, value: *mut i32, ) -> u32
Trait Implementations§
impl Send for Egl
impl Sync for Egl
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