Home
last modified time | relevance | path

Searched refs:vres (Results 1 – 3 of 3) sorted by relevance

/lvgl-latest/demos/high_res/
Dlv_demo_high_res_util.c167 int32_t vres = lv_display_get_vertical_resolution(disp); in lv_demo_high_res_base_obj_create() local
170 if(hres < 1280 && vres < 720) { in lv_demo_high_res_base_obj_create()
171 is_exact = hres == 800 && vres == 480; in lv_demo_high_res_base_obj_create()
174 else if(hres < 1920 && vres < 1080) { in lv_demo_high_res_base_obj_create()
175 is_exact = hres == 1280 && vres == 720; in lv_demo_high_res_base_obj_create()
179 is_exact = hres == 1920 && vres == 1080; in lv_demo_high_res_base_obj_create()
363 int32_t scale = (9 * 256 * vres) / (16 * header.h); in lv_demo_high_res_base_obj_create()
/lvgl-latest/src/drivers/sdl/
Dlv_sdl_window.c316 int32_t vres = (int32_t)((float)(event.window.data2) / dsc->zoom); in sdl_event_handler() local
317 lv_display_set_resolution(disp, hres, vres); in sdl_event_handler()
/lvgl-latest/src/drivers/wayland/
Dlv_wayland.c2177 int32_t vres; in _lv_wayland_flush() local
2192 vres = (rot == LV_DISPLAY_ROTATION_0) ? h : w; in _lv_wayland_flush()
2199 else if((area->x2 < 0) || (area->y2 < 0) || (area->x1 > hres - 1) || (area->y1 > vres - 1)) { in _lv_wayland_flush()