Skip to content

Commit bbd3319

Browse files
committed
oop
1 parent f28e3ad commit bbd3319

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

lvgl-sys/build/config.rs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,43 @@ enum ColorMixRoundOFS {
1616
}
1717

1818
pub struct LvConfig {
19+
// Color
1920
color_depth: ColorDepth,
2021
color_16_swap: bool,
2122
color_screen_transp: bool,
2223
color_mix_round_ofs: ColorMixRoundOFS,
2324
color_chroma_hex: u64,
25+
// Memory
2426
mem_custom: bool,
2527
mem_size: u128,
2628
mem_adr: usize, // TODO: is this fine when cross-compiling to targets w/ different usize?
2729
mem_custom_include: String,
2830
mem_custom_alloc: String,
2931
mem_custom_free: String,
3032
mem_custom_realloc: String,
33+
mem_buf_max_num: u32,
34+
memcpy_memset_std: bool,
35+
// HAL
36+
disp_def_refr_period: u32,
37+
indev_def_read_period: u32,
38+
tick_custom: bool,
39+
tick_custom_include: String,
40+
tick_custom_sys_time_expr: String,
41+
dpi_def: u32,
42+
// Drawing
43+
draw_complex: bool,
44+
shadow_cache_size: u128,
45+
circle_cache_size: u128,
46+
layer_simple_buf_size: u128,
47+
layer_simple_fallback_buf_size: u128,
48+
img_cache_def_size: u128,
49+
gradient_max_stops: u32,
50+
grad_cache_def_size: u128,
51+
dither_grdient: bool,
52+
dither_gradient_error_diffusion: bool,
53+
disp_rot_max_buf: u128,
54+
// GPU
55+
3156
}
3257

3358
pub struct DrvConfig {

0 commit comments

Comments
 (0)