Home
last modified time | relevance | path

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

/lvgl-latest/demos/high_res/
Dlv_demo_high_res_util.c166 int32_t hres = lv_display_get_horizontal_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()
/lvgl-latest/src/drivers/sdl/
Dlv_sdl_window.c315 int32_t hres = (int32_t)((float)(event.window.data1) / 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.c2176 int32_t hres; in _lv_wayland_flush() local
2191 hres = (rot == LV_DISPLAY_ROTATION_0) ? w : h; 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()
2230 memcpy(((char *)buf_base) + ((((area->y1 + y) * hres) + area->x1) * bpp), in _lv_wayland_flush()