feat(nxp): add G2D support (#7625)

Signed-off-by: Ana Grad <ana.grad@nxp.com>
Co-authored-by: Ana Grad <ana.grad@nxp.com>
This commit is contained in:
Cosmin-Daniel Radu
2025-02-27 12:31:57 +02:00
committed by GitHub
parent 00df4ca7a4
commit 560364adaa
19 changed files with 1610 additions and 15 deletions

View File

@@ -278,6 +278,23 @@
#define LV_USE_PXP_ASSERT 0
#endif
/** Use NXP's G2D on MPU platforms. */
#define LV_USE_DRAW_G2D 0
#if LV_USE_DRAW_G2D
/** Maximum number of buffers that can be stored for G2D draw unit.
* Includes the frame buffers and assets. */
#define LV_G2D_HASH_TABLE_SIZE 50
#if LV_USE_OS
/** Use additional draw thread for G2D processing.*/
#define LV_USE_G2D_DRAW_THREAD 1
#endif
/** Enable G2D asserts. */
#define LV_USE_G2D_ASSERT 0
#endif
/** Use Renesas Dave2D on RA platforms. */
#define LV_USE_DRAW_DAVE2D 0