chore(vg_lite): remove 64-bytes alignment requirement (#5477)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech
2024-01-25 16:58:54 +08:00
committed by GitHub
parent 27ad83afdd
commit cd930f7c8a
2 changed files with 0 additions and 9 deletions

View File

@@ -82,9 +82,6 @@ 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
@@ -109,10 +106,8 @@ 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