1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

feat(vg_lite): remove support for RGB565A8 (#5574)

This commit is contained in:
Benign X 2024-02-02 17:26:23 +08:00 committed by GitHub
parent c1c3580c5a
commit 8a272e0950
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -309,7 +309,6 @@ bool lv_vg_lite_is_dest_cf_supported(lv_color_format_t cf)
case LV_COLOR_FORMAT_XRGB8888:
return true;
case LV_COLOR_FORMAT_RGB565A8:
case LV_COLOR_FORMAT_RGB888:
return vg_lite_query_feature(gcFEATURE_BIT_VG_24BIT) ? true : false;
@ -336,7 +335,6 @@ bool lv_vg_lite_is_src_cf_supported(lv_color_format_t cf)
case LV_COLOR_FORMAT_I8:
return vg_lite_query_feature(gcFEATURE_BIT_VG_IM_INDEX_FORMAT) ? true : false;
case LV_COLOR_FORMAT_RGB565A8:
case LV_COLOR_FORMAT_RGB888:
return vg_lite_query_feature(gcFEATURE_BIT_VG_24BIT) ? true : false;
@ -377,9 +375,6 @@ vg_lite_buffer_format_t lv_vg_lite_vg_fmt(lv_color_format_t cf)
case LV_COLOR_FORMAT_RGB565:
return VG_LITE_BGR565;
case LV_COLOR_FORMAT_RGB565A8:
return VG_LITE_BGRA5658;
case LV_COLOR_FORMAT_RGB888:
return VG_LITE_BGR888;