Do I just replace lv_disp_buf_t with lv_disp_draw_buf_t?

I am trying to port a 7x lvgl sketch to 8x in Arduino and just want to see how others did it with lv_disp_buf_t. Is it a simple mapping to lv_disp_draw_buf_t?


You can see the driver API changes in v8:

I searched the change log for lv_disp_buf_t and nothing came up.

See here:

Thank you!!!

In v.8.3, the LVGL_Arduino.ino example code contains:

static lv_disp_draw_buf_t draw_buf;
static lv_color_t buf[ screenWidth * screenHeight / 10 ];

but lv_disp_draw_buf_t appears to be undefined:

/Arduino/LVGL_Arduino/LVGL_Arduino.ino:19:8: error: 'lv_disp_draw_buf_t' does not name a type; did you mean 'lv_disp_render_t'?
 static lv_disp_draw_buf_t draw_buf;

It not updated to v9 yet, we will start working on it this December. See the schedule in on the ROADMAP.