1 #ifndef LV_TEST_CONF_VG_LITE_H
2 #define LV_TEST_CONF_VG_LITE_H
3 
4 /* Use VG-Lite GPU. */
5 #define LV_USE_DRAW_VG_LITE 1
6 
7 /* Enable VG-Lite custom external 'gpu_init()' function */
8 #define LV_VG_LITE_USE_GPU_INIT 1
9 
10 /* Enable VG-Lite assert. */
11 #define LV_VG_LITE_USE_ASSERT 1
12 
13 /* VG-Lite flush commit trigger threshold. GPU will try to batch these many draw tasks. */
14 #define LV_VG_LITE_FLUSH_MAX_COUNT 0
15 
16 /* Enable border to simulate shadow
17  * NOTE: which usually improves performance,
18  * but does not guarantee the same rendering quality as the software. */
19 #define LV_VG_LITE_USE_BOX_SHADOW 1
20 
21 /* VG-Lite gradient maximum cache number.
22  * NOTE: The memory usage of a single gradient image is 4K bytes.
23  */
24 #define LV_VG_LITE_GRAD_CACHE_CNT 32
25 
26 /* Disable 16 pixels alignment */
27 #define LV_VG_LITE_THORVG_16PIXELS_ALIGN 0
28 
29 /* Enable ThorVG internal rendering engine */
30 #define LV_USE_THORVG_INTERNAL      1
31 
32 /* Simulate VG-Lite hardware using ThorVG */
33 #define LV_USE_VG_LITE_THORVG       1
34 
35 /* Enable performance monitor log mode for build test */
36 #define LV_USE_PERF_MONITOR_LOG_MODE 1
37 
38 /*Using matrix for transformations.
39  *Requirements:
40     `LV_USE_MATRIX = 1`.
41     The rendering engine needs to support 3x3 matrix transformations.*/
42 #define LV_DRAW_TRANSFORM_USE_MATRIX            1
43 
44 #endif /* LV_TEST_CONF_VG_LITE_H */
45