pub const DRAW_BUFFER_ALIGNMENT: usize = 4;
Alignment of the start of a draw buffer, in bytes. LVGL refuses buffers that are not aligned to LV_DRAW_BUF_ALIGN (include/lv_conf.h), which must not exceed this.
LV_DRAW_BUF_ALIGN
include/lv_conf.h