Rendering in vertical direction

I am using a monochrome display, bitmap pixel data send by lvgl is in horizontal direction. My display renders bitmap in vertical direction.
Is there already a way to render display column first then proceed for next column.

To handle monochrome displays with vertical bit alignment you need to to

  • be sure that LVGL always redraws a multiple of 8 rows.
    • In v8 see the rounder_cb
    • In v9 you can use catch the LV_EVENT_INVALIDATE_AREA sent to the display and modify the area to be invalidated. (use lv_display_add_event)
  • In the flush_cb convert the colors if needed
  • Send the rendered image to the display.