mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(pxp,vglite): extend base structure to create vglite and pxp draw units (#7578)
Signed-off-by: Cristian Stoica <cristianmarian.stoica@nxp.com>
This commit is contained in:
parent
62a2804d97
commit
3f13398673
@ -35,7 +35,16 @@ extern "C" {
|
|||||||
* TYPEDEFS
|
* TYPEDEFS
|
||||||
**********************/
|
**********************/
|
||||||
|
|
||||||
typedef lv_draw_sw_unit_t lv_draw_pxp_unit_t;
|
typedef struct lv_draw_pxp_unit_t {
|
||||||
|
lv_draw_unit_t base_unit;
|
||||||
|
lv_draw_task_t * task_act;
|
||||||
|
#if LV_USE_OS
|
||||||
|
lv_thread_sync_t sync;
|
||||||
|
lv_thread_t thread;
|
||||||
|
volatile bool inited;
|
||||||
|
volatile bool exit_status;
|
||||||
|
#endif
|
||||||
|
} lv_draw_pxp_unit_t;
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
* GLOBAL PROTOTYPES
|
* GLOBAL PROTOTYPES
|
||||||
|
@ -36,7 +36,14 @@ extern "C" {
|
|||||||
**********************/
|
**********************/
|
||||||
|
|
||||||
typedef struct lv_draw_vglite_unit {
|
typedef struct lv_draw_vglite_unit {
|
||||||
lv_draw_sw_unit_t;
|
lv_draw_unit_t base_unit;
|
||||||
|
lv_draw_task_t * task_act;
|
||||||
|
#if LV_USE_OS
|
||||||
|
lv_thread_sync_t sync;
|
||||||
|
lv_thread_t thread;
|
||||||
|
volatile bool inited;
|
||||||
|
volatile bool exit_status;
|
||||||
|
#endif
|
||||||
#if LV_USE_VGLITE_DRAW_ASYNC
|
#if LV_USE_VGLITE_DRAW_ASYNC
|
||||||
volatile bool wait_for_finish;
|
volatile bool wait_for_finish;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user