[][src]Trait sunrise_libuser::vi::IBuffer

pub trait IBuffer {
    fn draw(&mut self, manager: WorkQueue<'static>) -> Result<(), Error>;

    fn dispatch<'a>(
        &'a mut self,
        manager: WorkQueue<'static>,
        cmdid: u32,
        buf: &'a mut [u8]
    ) -> FutureObj<Result<(), Error>> { ... } }

IPC Window object

Required methods

fn draw(&mut self, manager: WorkQueue<'static>) -> Result<(), Error>

Blit the buffer to the framebuffer.

Loading content...

Provided methods

fn dispatch<'a>(
    &'a mut self,
    manager: WorkQueue<'static>,
    cmdid: u32,
    buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>

Handle an incoming IPC request.

Loading content...

Implementors

Loading content...