feat(draw_buf): add option to select draw_buf implementation
This commit is contained in:
@@ -86,12 +86,18 @@
|
||||
/*========================
|
||||
* RENDERING CONFIGURATION
|
||||
*========================*/
|
||||
/* Select a draw buffer implementation. Possible values:
|
||||
* - LV_DRAW_BUF_BASIC: LVGL's built in implementation
|
||||
* - LV_DRAW_BUF_CUSTOM: Implement teh function of lv_draw_buf.h externally
|
||||
*/
|
||||
#define LV_USE_DRAW_BUF LV_DRAW_BUF_BASIC
|
||||
|
||||
/*Align the stride of all layers and images to this bytes*/
|
||||
#define LV_DRAW_BUF_STRIDE_ALIGN 1
|
||||
|
||||
/*Align the start address of draw_buf addresses to this bytes*/
|
||||
#define LV_DRAW_BUF_ALIGN 4
|
||||
#if LV_USE_DRAW_BUF == LV_DRAW_BUF_BASIC
|
||||
/*Align the stride of all layers and images to this bytes*/
|
||||
#define LV_DRAW_BUF_STRIDE_ALIGN 1 /*Multiple of these Bytes*/
|
||||
/*Align the start address of draw_buf addresses to this bytes*/
|
||||
#define LV_DRAW_BUF_ALIGN 4
|
||||
#endif
|
||||
|
||||
/* Max. memory to be used for layers */
|
||||
#define LV_LAYER_MAX_MEMORY_USAGE 150 /*[kB]*/
|
||||
|
||||
Reference in New Issue
Block a user