Trait cognitive_qualia::traits::HwGraphics [] [src]

pub trait HwGraphics {
    fn set_graphics_manager(
        &mut self,
        graphics_manager: Box<GraphicsManagement + Send>
    ); fn has_hardware_acceleration_support(&self) -> bool; fn create_egl_image(&mut self, attrs: EglAttributes) -> Option<EglImageId>; fn destroy_egl_image(&mut self, eiid: EglImageId); fn import_dmabuf(&mut self, attrs: DmabufAttributes) -> Option<DmabufId>; fn destroy_dmabuf(&mut self, dbid: DmabufId); }

Hardware accelerated graphics functionality.

Required Methods

Sets graphics manager.

Checks if hardware acceleration support is available.

Makes request to create EGL buffer.

Requests destruction of hardware image.

Makes request to create EGL buffer from dmabuf.

Requests destruction of dmabuf.

Implementors