@@ -16,18 +16,43 @@ enum ColorMixRoundOFS {
16
16
}
17
17
18
18
pub struct LvConfig {
19
+ // Color
19
20
color_depth : ColorDepth ,
20
21
color_16_swap : bool ,
21
22
color_screen_transp : bool ,
22
23
color_mix_round_ofs : ColorMixRoundOFS ,
23
24
color_chroma_hex : u64 ,
25
+ // Memory
24
26
mem_custom : bool ,
25
27
mem_size : u128 ,
26
28
mem_adr : usize , // TODO: is this fine when cross-compiling to targets w/ different usize?
27
29
mem_custom_include : String ,
28
30
mem_custom_alloc : String ,
29
31
mem_custom_free : String ,
30
32
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
+
31
56
}
32
57
33
58
pub struct DrvConfig {
0 commit comments