pub struct GraphicsManager { /* private fields */ }Expand description
Graphics manager provides basic access to GPU for non-rendering components.
Implementations§
Trait Implementations§
Source§impl GraphicsManagement for GraphicsManager
impl GraphicsManagement for GraphicsManager
Source§fn create_egl_image(&mut self, attrs: &EglAttributes) -> Option<HwImage>
fn create_egl_image(&mut self, attrs: &EglAttributes) -> Option<HwImage>
Creates EGL image from given parameters.
Source§fn import_dmabuf(&mut self, attrs: &DmabufAttributes) -> Option<HwImage>
fn import_dmabuf(&mut self, attrs: &DmabufAttributes) -> Option<HwImage>
Imports dmabuf as EGL image.
impl Send for GraphicsManager
GraphicsManager contains only pointers. It is Send but not Sync.
Auto Trait Implementations§
impl Freeze for GraphicsManager
impl RefUnwindSafe for GraphicsManager
impl !Sync for GraphicsManager
impl Unpin for GraphicsManager
impl UnwindSafe for GraphicsManager
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