fix(vg_lite): add config to disable draw shadow (#5534)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech
2024-01-31 14:33:57 +08:00
committed by GitHub
parent 0988eddfca
commit e271b23341
4 changed files with 26 additions and 0 deletions

View File

@@ -179,6 +179,11 @@
/* VG-Lite flush commit trigger threshold. GPU will try to batch these many draw tasks. */
#define LV_VG_LITE_FLUSH_MAX_COUNT 8
/* Enable border to simulate shadow
* NOTE: which usually improves performance,
* but does not guarantee the same rendering quality as the software. */
#define LV_VG_LITE_USE_BOX_SHADOW 0
#endif
/*=======================