Struct cognitive_device_manager::GraphicsManager
[−]
[src]
pub struct GraphicsManager { /* fields omitted */ }
Graphics manager provides basic access to GPU for non-rendering components.
Methods
impl GraphicsManager
[src]
Trait Implementations
impl Send for GraphicsManager
[src]
GraphicsManager
contains only pointers. It is Send
but not Sync
.
impl GraphicsManagement for GraphicsManager
[src]
fn create_egl_image(&mut self, attrs: &EglAttributes) -> Option<HwImage>
Creates EGL image from given parameters.
fn import_dmabuf(&mut self, attrs: &DmabufAttributes) -> Option<HwImage>
Imports dmabuf as EGL image.
fn destroy_hw_image(&mut self, image: HwImage) -> Result<(), ()>
Destroys given hardware image.