lcd driver: use LVGL direct mode or rotation in driver

see https://forum.lvgl.io/t/v8-display-driver-double-buffer-low-fps-high-cpu/6901/19
This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent e255b40b1f
commit 40eb89e6ed
4 changed files with 320 additions and 92 deletions
+4
View File
@@ -28,7 +28,11 @@
extern int g_snapshot_idx;
extern bool simuLcdRefresh;
#if defined(COLORLCD)
extern pixel_t* simuLcdBuf;
#else
extern pixel_t simuLcdBuf[DISPLAY_BUFFER_SIZE];
extern pixel_t displayBuf[DISPLAY_BUFFER_SIZE];
#endif
#endif // _SIMULCD_H_