use the canvas image buffer to draw libopenui, one screen operation less per draw call
This commit is contained in:
committed by
Raphael Coeffic
parent
0844e8d480
commit
daa957bb47
@@ -93,6 +93,7 @@ lv_color_t makeLvColor(uint32_t colorFlags)
|
||||
|
||||
lv_obj_t * canvas=nullptr;
|
||||
static lv_color_t cbuf[LV_CANVAS_BUF_SIZE_TRUE_COLOR(LCD_W, LCD_H)] __SDRAM;
|
||||
BitmapBuffer canBuf(BMP_RGB565, LCD_W, LCD_H, (uint16_t *)cbuf);
|
||||
|
||||
extern BitmapBuffer * lcdFront;
|
||||
extern BitmapBuffer * lcd;
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 2435236d71...6823e11f13
Reference in New Issue
Block a user