fix(draw/g2d): disable image rendering (#9729)

This commit is contained in:
André Costa
2026-02-12 21:22:19 +01:00
committed by GitHub
parent 648b503efe
commit 58fdf6f338

View File

@@ -201,6 +201,9 @@ static int32_t _g2d_evaluate(lv_draw_unit_t * u, lv_draw_task_t * t)
return 1;
}
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;
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;
}
return 1;
#endif
}
default:
return 0;