lv_draw_get_next_available_task() function
Find and available draw task
Arguments
layer
the draw ctx to search in
t_prev
continue searching from this task
draw_unit_id
check the task where `preferred_draw_unit_id` equals this value or `LV_DRAW_UNIT_NONE`
Return value
tan available draw task or NULL if there is no any