Update LVGL to v9.1.0
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
# ARM-2D GPU
|
||||
|
||||
TODO
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
==========
|
||||
Arm-2D GPU
|
||||
==========
|
||||
|
||||
Arm-2D is not a GPU but **an abstraction layer for 2D GPUs dedicated to
|
||||
Microcontrollers**. It supports all Cortex-M processors ranging from
|
||||
Cortex-M0 to the latest Cortex-M85.
|
||||
|
||||
Arm-2D accelerates LVGL9 with two modes: **Synchronous Mode** and
|
||||
**Asynchronous Mode**.
|
||||
- When **Helium** and **ACI (Arm Custom Instruction)** are available, it is recommend
|
||||
to use **Synchronous Mode** to accelerate LVGL.
|
||||
- When Arm-2D backed 2D-GPUs are available, for example, **DMAC-350 based 2D
|
||||
GPUs**, it is recommend to use **Asynchronous Mode** to accelerate LVGL.
|
||||
|
||||
Arm-2D is an open-source project on Github. For more, please refer to:
|
||||
https://github.com/ARM-software/Arm-2D.
|
||||
|
||||
How to Use
|
||||
**********
|
||||
|
||||
In general:
|
||||
- you can set the macro :c:macro:`LV_USE_DRAW_ARM2D_SYNC` to ``1`` in
|
||||
``lv_conf.h`` to enable Arm-2D synchronous acceleration for LVGL.
|
||||
- You can set
|
||||
the macro :c:macro:`LV_USE_DRAW_ARM2D_ASYNC` to ``1`` in ``lv_conf.h`` to enable
|
||||
Arm-2D Asynchronous acceleration for LVGL.
|
||||
|
||||
If you are using
|
||||
`CMSIS-Pack <https://github.com/lvgl/lvgl/tree/master/env_support/cmsis-pack>`__
|
||||
to deploy the LVGL. You don't have to define the macro
|
||||
:c:macro:`LV_USE_DRAW_ARM2D_SYNC` manually, instead the lv_conf_cmsis.h will
|
||||
check the environment and set the :c:macro:`LV_USE_DRAW_ARM2D_SYNC` accordingly.
|
||||
|
||||
Design Considerations
|
||||
*********************
|
||||
|
||||
As mentioned before, Arm-2D is an abstraction layer for 2D GPU; hence if
|
||||
there is no accelerator or dedicated instruction set (such as Helium or
|
||||
ACI) available for Arm-2D, it provides negligible performance boost for
|
||||
LVGL (sometimes worse) for regular Cortex-M processors.
|
||||
|
||||
**We highly recommend you enable Arm-2D acceleration for LVGL** when:
|
||||
|
||||
- The target processors are **Cortex-M55**, **Cortex-M52** and **Cortex-M85**
|
||||
- The target processors support
|
||||
`Helium <https://developer.arm.com/documentation/102102/0103/?lang=en>`__.
|
||||
- The device vendor provides an arm-2d compliant driver for their
|
||||
propriotory 2D accelerators and/or ACI(Arm Customized Instruction).
|
||||
- The target device contains
|
||||
`DMAC-350 <https://community.arm.com/arm-community-blogs/b/internet-of-things-blog/posts/arm-corelink-dma-350-next-generation-direct-memory-access-for-endpoint-ai>`__
|
||||
|
||||
Examples
|
||||
********
|
||||
|
||||
- `A Cortex-M55 (supports Helium) based MDK Project, PC emulation is
|
||||
available. <https://github.com/lvgl/lv_port_an547_cm55_sim>`__
|
||||
|
||||
API
|
||||
***
|
||||
|
||||
:ref:`lv_gpu_arm2d`
|
||||
@@ -1,4 +0,0 @@
|
||||
# DMA2D GPU
|
||||
|
||||
TODO
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
|
||||
# Renderers and GPUs
|
||||
|
||||
|
||||
```eval_rst
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
sw
|
||||
sdl
|
||||
arm-2d
|
||||
pxp-vglite
|
||||
dma2d
|
||||
```
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
==================
|
||||
Renderers and GPUs
|
||||
==================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
sw
|
||||
sdl
|
||||
arm2d
|
||||
pxp
|
||||
stm32_dma2d
|
||||
vglite
|
||||
@@ -1,4 +0,0 @@
|
||||
# NXP PXP and VGLite GPU
|
||||
|
||||
TODO
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
===========
|
||||
NXP PXP GPU
|
||||
===========
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
:ref:`lv_draw_pxp`
|
||||
|
||||
:ref:`lv_draw_pxp_blend`
|
||||
|
||||
:ref:`lv_gpu_nxp_pxp`
|
||||
|
||||
:ref:`lv_gpu_nxp_pxp_osa`
|
||||
@@ -1,4 +0,0 @@
|
||||
# SDL renderer
|
||||
|
||||
TODO
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
============
|
||||
SDL renderer
|
||||
============
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
:ref:`lv_draw_sdl`
|
||||
|
||||
:ref:`lv_draw_sdl_composite`
|
||||
|
||||
:ref:`lv_draw_sdl_img`
|
||||
|
||||
:ref:`lv_draw_sdl_layer`
|
||||
|
||||
:ref:`lv_draw_sdl_mask`
|
||||
|
||||
:ref:`lv_draw_sdl_priv`
|
||||
|
||||
:ref:`lv_draw_sdl_rect`
|
||||
|
||||
:ref:`lv_draw_sdl_stack_blur`
|
||||
|
||||
:ref:`lv_draw_sdl_texture_cache`
|
||||
|
||||
:ref:`lv_draw_sdl_utils`
|
||||
@@ -0,0 +1,8 @@
|
||||
=========
|
||||
DMA2D GPU
|
||||
=========
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
:ref:`lv_gpu_stm32_dma2d`
|
||||
@@ -1,4 +0,0 @@
|
||||
# Software renderer
|
||||
|
||||
TODO
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
=================
|
||||
Software renderer
|
||||
=================
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
:ref:`lv_draw_sw`
|
||||
|
||||
:ref:`lv_draw_sw_blend`
|
||||
|
||||
:ref:`lv_draw_sw_dither`
|
||||
|
||||
:ref:`lv_draw_sw_gradient`
|
||||
@@ -0,0 +1,17 @@
|
||||
==============
|
||||
NXP VGLite GPU
|
||||
==============
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
:ref:`lv_draw_vglite`
|
||||
|
||||
:ref:`lv_draw_vglite_arc`
|
||||
|
||||
:ref:`lv_draw_vglite_blend`
|
||||
|
||||
:ref:`lv_draw_vglite_line`
|
||||
|
||||
:ref:`lv_draw_vglite_rect`
|
||||
|
||||
Reference in New Issue
Block a user