Lines Matching refs:u
71 static void nema_gfx_execute_drawing(lv_draw_nema_gfx_unit_t * u);
287 static void nema_gfx_execute_drawing(lv_draw_nema_gfx_unit_t * u) in nema_gfx_execute_drawing() argument
289 lv_draw_task_t * t = u->task_act; in nema_gfx_execute_drawing()
290 lv_draw_unit_t * draw_unit = (lv_draw_unit_t *)u; in nema_gfx_execute_drawing()
356 lv_draw_nema_gfx_unit_t * u = ptr; in nema_gfx_render_thread_cb() local
358 lv_thread_sync_init(&u->sync); in nema_gfx_render_thread_cb()
359 u->inited = true; in nema_gfx_render_thread_cb()
363 while(u->task_act == NULL) { in nema_gfx_render_thread_cb()
364 if(u->exit_status) in nema_gfx_render_thread_cb()
367 lv_thread_sync_wait(&u->sync); in nema_gfx_render_thread_cb()
370 if(u->exit_status) { in nema_gfx_render_thread_cb()
375 if(u->task_act) { in nema_gfx_render_thread_cb()
376 nema_gfx_execute_drawing(u); in nema_gfx_render_thread_cb()
379 u->task_act->state = LV_DRAW_TASK_STATE_READY; in nema_gfx_render_thread_cb()
381 u->task_act = NULL; in nema_gfx_render_thread_cb()
387 u->inited = false; in nema_gfx_render_thread_cb()
388 lv_thread_sync_delete(&u->sync); in nema_gfx_render_thread_cb()