18#ifndef __VSF_TINY_GUI_SV_PORT_H__
19#define __VSF_TINY_GUI_SV_PORT_H__
23#include "../../vsf_tgui_cfg.h"
25#if VSF_USE_TINY_GUI == ENABLED \
26 && VSF_TGUI_CFG_RENDERING_TEMPLATE_SEL == VSF_TGUI_V_TEMPLATE_SIMPLE_VIEW
28#define __VSF_DISP_CLASS_INHERIT__
33#ifndef VSF_TGUI_CFG_SV_REFRESH_RATE
34# define VSF_TGUI_CFG_SV_REFRESH_RATE ENABLED
37#ifndef VSF_TGUI_CFG_SV_DRAW_IMMEDIATELY
38# define VSF_TGUI_CFG_SV_DRAW_IMMEDIATELY DISABLED
41#ifndef VSF_TGUI_CFG_SV_DRAW_DOUBLE_BUFFER
42# define VSF_TGUI_CFG_SV_DRAW_DOUBLE_BUFFER ENABLED
47#define vsf_tgui_vport_init(__vsf_tgui_v_port_ptr) \
49 (__vsf_tgui_v_port_ptr)->current_region.tSize.iHeight = 0; \
50 (__vsf_tgui_v_port_ptr)->current_region.tSize.iWidth = 0; \
61#if VSF_TGUI_CFG_SV_DRAW_DOUBLE_BUFFER == ENABLED
70#if VSF_TGUI_CFG_SV_DRAW_IMMEDIATELY == ENABLED
75#if VSF_TGUI_CFG_SV_REFRESH_RATE == ENABLED
Definition vsf_disp.h:173
uint64_t vsf_systimer_tick_t
Definition cortex_a_generic.h:73
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
vsf_tgui_region_t current_region
Definition vsf_tgui_sv_port.h:74
bool refresh_pending
Definition vsf_tgui_sv_port.h:63
volatile bool is_draw_ready
Definition vsf_tgui_sv_port.h:71
uint16_t refresh_cnt
Definition vsf_tgui_sv_port.h:77
bool refresh_pending_notify
Definition vsf_tgui_sv_port.h:65
vk_disp_area_t refresh_pending_area
Definition vsf_tgui_sv_port.h:68
declare_class(vsf_tgui_t) declare_structure(vsf_tgui_v_port_t) def_structure(vsf_tgui_v_port_t) vk_disp_t *disp
Definition __vk_tgui_slider.c:41
uint8_t refresh_pending_cnt
Definition vsf_tgui_sv_port.h:66
bool is_disp_inited
Definition vsf_tgui_sv_port.h:60
void * pfb
Definition vsf_tgui_sv_port.h:59
bool refresh_is_first_pfb
Definition vsf_tgui_sv_port.h:62
size_t pfb_size
Definition vsf_tgui_sv_port.h:67
uint16_t fps
Definition vsf_tgui_sv_port.h:78
vsf_tgui_region_t request_region
Definition vsf_tgui_sv_port.h:73
vsf_systimer_tick_t start_cnt
Definition vsf_tgui_sv_port.h:76
Definition vsf_disp.h:144
Definition vsf_tgui_common.h:275
vsf_tgui_evt_t declare_structure(__vk_tgui_focus_t) def_structure(__vk_tgui_focus_t) const vsf_tgui_control_t *current_ptr
end_def_structure(vsf_tgui_v_port_t) extern void __vsf_tgui_v_update_dirty_region(vsf_tgui_t *gui_ptr
def_structure(vsf_tgui_v_port_t) vk_disp_t *disp