chore(vg_lite): clean useless function and macro (#5346)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech
2024-01-17 21:35:48 +08:00
committed by GitHub
parent 32828206d1
commit 0379088110
5 changed files with 12 additions and 44 deletions

View File

@@ -82,6 +82,9 @@ typedef void * lv_user_data_t;
/* Simulate VG-Lite hardware using ThorVG */
#define LV_USE_VG_LITE_THORVG 1
/* VG-Lite GPU buffer alignment. */
#define LV_DRAW_BUF_ALIGN 64
#include "lv_test_conf_full.h"
#elif LV_TEST_OPTION == 4
#define LV_COLOR_DEPTH 24
@@ -106,8 +109,10 @@ typedef void * lv_user_data_t;
/*Use a large value be sure any issues will cause crash*/
#define LV_DRAW_BUF_STRIDE_ALIGN 64
#if !defined(LV_DRAW_BUF_ALIGN)
/*Use non power of 2 to avoid the case when `malloc` returns aligned pointer by default, and use a large value be sure any issues will cause crash*/
#define LV_DRAW_BUF_ALIGN 852
#endif
/*For screenshots*/
#undef LV_USE_PERF_MONITOR