Skip to main content

dispatch_draw_tasks

Function dispatch_draw_tasks 

Source
pub fn dispatch_draw_tasks<D: DrawTarget<Color = Rgb565>, const CAP: usize>(
    queue: &DrawTaskQueue<'_, CAP>,
    target: &mut D,
    units: &mut [&mut dyn DrawUnit<D>],
    fallback: &mut SoftwareDrawUnit,
) -> Result<(), D::Error>
Expand description

Dispatches a queue of draw tasks through a list of draw units with a fallback unit.