Lines Matching refs:task

58     lv_draw_task_t * task;  member
75 static int32_t nema_gfx_evaluate(lv_draw_unit_t * draw_unit, lv_draw_task_t * task);
133 static int32_t nema_gfx_evaluate(lv_draw_unit_t * draw_unit, lv_draw_task_t * task) in nema_gfx_evaluate() argument
137 switch(task->type) { in nema_gfx_evaluate()
139 if(task->preference_score > 80) { in nema_gfx_evaluate()
140 task->preference_score = 80; in nema_gfx_evaluate()
141 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()
149 if(task->preference_score > 80) { in nema_gfx_evaluate()
150 task->preference_score = 80; in nema_gfx_evaluate()
151 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()
157 lv_draw_fill_dsc_t * draw_fill_dsc = (lv_draw_fill_dsc_t *) task->draw_dsc; in nema_gfx_evaluate()
159 if(task->preference_score > 80) { in nema_gfx_evaluate()
160 task->preference_score = 80; in nema_gfx_evaluate()
161 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()
168 … lv_draw_triangle_dsc_t * draw_triangle_dsc = (lv_draw_triangle_dsc_t *) task->draw_dsc; in nema_gfx_evaluate()
170 if(task->preference_score > 80) { in nema_gfx_evaluate()
171 task->preference_score = 80; in nema_gfx_evaluate()
172 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()
180 lv_draw_image_dsc_t * draw_image_dsc = (lv_draw_image_dsc_t *) task->draw_dsc; in nema_gfx_evaluate()
191 if(task->preference_score > 80) { in nema_gfx_evaluate()
192 task->preference_score = 80; in nema_gfx_evaluate()
193 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()
200 lv_draw_label_dsc_t * draw_label_dsc = (lv_draw_label_dsc_t *) task->draw_dsc; in nema_gfx_evaluate()
203 if(task->preference_score > 80) { in nema_gfx_evaluate()
204 task->preference_score = 80; in nema_gfx_evaluate()
205 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()
212 lv_draw_line_dsc_t * draw_line_dsc = (lv_draw_line_dsc_t *) task->draw_dsc; in nema_gfx_evaluate()
215 if(task->preference_score > 80) { in nema_gfx_evaluate()
216 task->preference_score = 80; in nema_gfx_evaluate()
217 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()
224 const lv_draw_border_dsc_t * draw_dsc = (lv_draw_border_dsc_t *) task->draw_dsc; in nema_gfx_evaluate()
227 if(task->preference_score > 80) { in nema_gfx_evaluate()
228 task->preference_score = 80; in nema_gfx_evaluate()
229 task->preferred_draw_unit_id = DRAW_UNIT_ID_NEMA_GFX; in nema_gfx_evaluate()