On LV_DISPLAY_RENDER_MODE_DIRECT render mode & double buffer, flush the same buffer

Bug (archived)

LVGL VERSION

v9.2.2

Platform

bes2800, Arm cortex-m55

what happened?

I set lvgl with LV_DISPLAY_RENDER_MODE_DIRECT & double buffer. When devices run, i find some area is not display or some area is not disappear correctly.

what I test for this problems?

1

I add some log and find that buffer is not switch correctly when device flush to screen. For example, buffer1 is addr A, buffer2 is addr B. The log show: Addr A, Addr A, Addr B, Addr B, Addr A, Addr A…

2

I switch to LV_DISPLAY_RENDER_MODE_FULL mode & double buffer. This problem is gone.
And buffer Addr log is: Addr A, Addr B, Addr A…

I see the same issue on github/lvgl/issue.