mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 05:26:18 +08:00
fix(draw/g2d): disable image rendering (#9729)
This commit is contained in:
@@ -201,6 +201,9 @@ static int32_t _g2d_evaluate(lv_draw_unit_t * u, lv_draw_task_t * t)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
case LV_DRAW_TASK_TYPE_IMAGE: {
|
case LV_DRAW_TASK_TYPE_IMAGE: {
|
||||||
|
/* TODO: Fix issue where images rendered to a different layer don't render in the final layer.*/
|
||||||
|
return 0;
|
||||||
|
#if 0
|
||||||
const lv_draw_image_dsc_t * draw_dsc = (lv_draw_image_dsc_t *) t->draw_dsc;
|
const lv_draw_image_dsc_t * draw_dsc = (lv_draw_image_dsc_t *) t->draw_dsc;
|
||||||
|
|
||||||
if(!_g2d_src_cf_supported(draw_dsc->header.cf))
|
if(!_g2d_src_cf_supported(draw_dsc->header.cf))
|
||||||
@@ -214,6 +217,7 @@ static int32_t _g2d_evaluate(lv_draw_unit_t * u, lv_draw_task_t * t)
|
|||||||
t->preferred_draw_unit_id = DRAW_UNIT_ID_G2D;
|
t->preferred_draw_unit_id = DRAW_UNIT_ID_G2D;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user