/lvgl-latest/src/drivers/glfw/ |
D | lv_opengles_texture.c | 83 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, disp->hor_res, disp->ver_res, 0, GL_RED, GL_UNSIGNED… in lv_opengles_texture_create() 85 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB565, disp->hor_res, disp->ver_res, 0, GL_RGB, GL_UNSI… in lv_opengles_texture_create() 88 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, disp->hor_res, disp->ver_res, 0, GL_BGR, GL_UNSIGNE… in lv_opengles_texture_create() 90 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, disp->hor_res, disp->ver_res, 0, GL_BGRA, GL_UNSIG… in lv_opengles_texture_create() 151 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, disp->hor_res, disp->ver_res, 0, GL_RED, GL_UNSIGNED… in flush_cb() 153 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB565, disp->hor_res, disp->ver_res, 0, GL_RGB, GL_UNSI… in flush_cb() 156 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, disp->hor_res, disp->ver_res, 0, GL_BGR, GL_UNSIGNE… in flush_cb() 158 …GL_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, disp->hor_res, disp->ver_res, 0, GL_BGRA, GL_UNSIG… in flush_cb()
|
D | lv_glfw_window.c | 70 lv_glfw_window_t * lv_glfw_window_create(int32_t hor_res, int32_t ver_res, bool use_mouse_indev) in lv_glfw_window_create() argument 83 window->window = glfwCreateWindow(hor_res, ver_res, "LVGL Simulator", NULL, in lv_glfw_window_create() 93 window->ver_res = ver_res; in lv_glfw_window_create() 291 lv_opengles_viewport(0, 0, window->hor_res, window->ver_res); in window_update_handler() 305 …render_texture(texture->texture_id, &texture->area, texture->opa, window->hor_res, window->ver_res, in window_update_handler() 308 …render_texture(texture->texture_id, &texture->area, texture->opa, window->hor_res, window->ver_res, in window_update_handler() 389 lv_window->ver_res = height; in framebuffer_size_callback()
|
D | lv_glfw_window_private.h | 38 int32_t ver_res; member
|
/lvgl-latest/src/drivers/sdl/ |
D | lv_sdl_window.c | 83 lv_display_t * lv_sdl_window_create(int32_t hor_res, int32_t ver_res) in lv_sdl_window_create() argument 99 lv_display_t * disp = lv_display_create(hor_res, ver_res); in lv_sdl_window_create() 124 lv_display_set_buffers(disp, dsc->fb1, dsc->fb2, stride * disp->ver_res, in lv_sdl_window_create() 350 int32_t ver_res = (int32_t)((float)(disp->ver_res) * dsc->zoom); in window_create() local 353 … hor_res, ver_res, flag); /*last param. SDL_WINDOW_BORDERLESS to hide borders*/ in window_create() 361 lv_memset(dsc->fb1, 0xff, hor_res * ver_res * px_size); in window_create() 363 lv_memset(dsc->fb2, 0xff, hor_res * ver_res * px_size); in window_create() 367 SDL_SetWindowSize(dsc->window, hor_res, ver_res); in window_create() 406 dsc->fb1 = sdl_draw_buf_realloc_aligned(dsc->fb1, stride * disp->ver_res); in texture_resize() 407 lv_memzero(dsc->fb1, stride * disp->ver_res); in texture_resize() [all …]
|
D | lv_sdl_mouse.c | 147 int32_t ver_res = lv_display_get_vertical_resolution(disp); in lv_sdl_mouse_handler() local 178 indev_dev->last_y = (int16_t)((float)ver_res * event->tfinger.y / zoom); in lv_sdl_mouse_handler() 183 indev_dev->last_y = (int16_t)((float)ver_res * event->tfinger.y / zoom); in lv_sdl_mouse_handler() 187 indev_dev->last_y = (int16_t)((float)ver_res * event->tfinger.y / zoom); in lv_sdl_mouse_handler()
|
D | lv_sdl_window.h | 38 lv_display_t * lv_sdl_window_create(int32_t hor_res, int32_t ver_res);
|
/lvgl-latest/src/drivers/display/tft_espi/ |
D | lv_tft_espi.cpp | 43 lv_display_t * lv_tft_espi_create(uint32_t hor_res, uint32_t ver_res, void * buf, uint32_t buf_size… in lv_tft_espi_create() argument 49 lv_display_t * disp = lv_display_create(hor_res, ver_res); in lv_tft_espi_create() 55 dsc->tft = new TFT_eSPI(hor_res, ver_res); in lv_tft_espi_create() 90 int32_t ver_res = lv_display_get_vertical_resolution(disp); in resolution_changed_event_cb() local
|
D | lv_tft_espi.h | 31 lv_display_t * lv_tft_espi_create(uint32_t hor_res, uint32_t ver_res, void * buf, uint32_t buf_size…
|
/lvgl-latest/src/drivers/windows/ |
D | lv_windows_display.c | 47 int32_t ver_res, in lv_windows_create_display() argument 57 data.ver_res = ver_res; in lv_windows_create_display() 137 data->ver_res, in lv_windows_display_thread_entrypoint()
|
/lvgl-latest/src/drivers/x11/ |
D | lv_x11_display.c | 173 int32_t ver_res = lv_display_get_vertical_resolution(disp); in x11_resolution_evt_cb() local 177 int sz_buffers = (hor_res * ver_res * (LV_COLOR_DEPTH + 7) / 8); in x11_resolution_evt_cb() 185 size_t sz_buffers = hor_res * ver_res * sizeof(lv_color32_t); in x11_resolution_evt_cb() 188 … hor_res, ver_res, lv_color_format_get_bpp(LV_COLOR_FORMAT_ARGB8888), 0); in x11_resolution_evt_cb() 313 int32_t ver_res = lv_display_get_vertical_resolution(disp); in x11_window_create() local 320 0, 0, hor_res, ver_res, 0, col_fg, col_bg); in x11_window_create() 323 0, 0, hor_res, ver_res, 0, in x11_window_create() 341 size_t sz_buffers = hor_res * ver_res * sizeof(lv_color32_t); in x11_window_create() 345 … hor_res, ver_res, lv_color_format_get_bpp(LV_COLOR_FORMAT_ARGB8888), 0); in x11_window_create() 359 lv_display_t * lv_x11_window_create(char const * title, int32_t hor_res, int32_t ver_res) in lv_x11_window_create() argument [all …]
|
D | lv_x11.h | 74 lv_display_t * lv_x11_window_create(char const * title, int32_t hor_res, int32_t ver_res);
|
/lvgl-latest/src/display/ |
D | lv_display.c | 62 lv_display_t * lv_display_create(int32_t hor_res, int32_t ver_res) in lv_display_create() argument 71 disp->ver_res = ver_res; in lv_display_create() 96 disp->layer_head->buf_area.y2 = ver_res - 1; in lv_display_create() 244 void lv_display_set_resolution(lv_display_t * disp, int32_t hor_res, int32_t ver_res) in lv_display_set_resolution() argument 249 if(disp->hor_res == hor_res && disp->ver_res == ver_res) return; in lv_display_set_resolution() 252 disp->ver_res = ver_res; in lv_display_set_resolution() 257 void lv_display_set_physical_resolution(lv_display_t * disp, int32_t hor_res, int32_t ver_res) in lv_display_set_physical_resolution() argument 263 disp->physical_ver_res = ver_res; in lv_display_set_physical_resolution() 300 return disp->ver_res; in lv_display_get_horizontal_resolution() 320 return disp->ver_res; in lv_display_get_vertical_resolution() [all …]
|
D | lv_display.h | 94 lv_display_t * lv_display_create(int32_t hor_res, int32_t ver_res); 133 void lv_display_set_resolution(lv_display_t * disp, int32_t hor_res, int32_t ver_res); 143 void lv_display_set_physical_resolution(lv_display_t * disp, int32_t hor_res, int32_t ver_res);
|
/lvgl-latest/src/drivers/display/st7735/ |
D | lv_st7735.c | 81 lv_display_t * lv_st7735_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags, in lv_st7735_create() argument 84 …lv_display_t * disp = lv_lcd_generic_mipi_create(hor_res, ver_res, flags, send_cmd_cb, send_color_… in lv_st7735_create()
|
D | lv_st7735.h | 47 lv_display_t * lv_st7735_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags,
|
/lvgl-latest/src/drivers/display/st7796/ |
D | lv_st7796.c | 87 lv_display_t * lv_st7796_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags, in lv_st7796_create() argument 90 …lv_display_t * disp = lv_lcd_generic_mipi_create(hor_res, ver_res, flags, send_cmd_cb, send_color_… in lv_st7796_create()
|
/lvgl-latest/src/drivers/display/ili9341/ |
D | lv_ili9341.c | 85 lv_display_t * lv_ili9341_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags, in lv_ili9341_create() argument 88 …lv_display_t * disp = lv_lcd_generic_mipi_create(hor_res, ver_res, flags, send_cmd_cb, send_color_… in lv_ili9341_create()
|
D | lv_ili9341.h | 47 lv_display_t * lv_ili9341_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags,
|
/lvgl-latest/src/drivers/display/st7789/ |
D | lv_st7789.c | 84 lv_display_t * lv_st7789_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags, in lv_st7789_create() argument 87 …lv_display_t * disp = lv_lcd_generic_mipi_create(hor_res, ver_res, flags, send_cmd_cb, send_color_… in lv_st7789_create()
|
D | lv_st7789.h | 47 lv_display_t * lv_st7789_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags,
|
/lvgl-latest/src/drivers/nuttx/ |
D | lv_nuttx_lcd.c | 52 static lv_display_t * lcd_init(int fd, int hor_res, int ver_res); 151 static lv_display_t * lcd_init(int fd, int hor_res, int ver_res) in lcd_init() argument 162 lv_display_t * disp = lv_display_create(hor_res, ver_res); in lcd_init() 170 uint32_t buf_size = hor_res * ver_res * px_size; in lcd_init()
|
/lvgl-latest/src/drivers/qnx/ |
D | lv_qnx.h | 43 lv_display_t * lv_qnx_window_create(int32_t hor_res, int32_t ver_res);
|
/lvgl-latest/src/drivers/display/lcd/ |
D | lv_lcd_generic_mipi.c | 48 lv_display_t * lv_lcd_generic_mipi_create(uint32_t hor_res, uint32_t ver_res, lv_lcd_flag_t flags, in lv_lcd_generic_mipi_create() argument 51 lv_display_t * disp = lv_display_create(hor_res, ver_res); in lv_lcd_generic_mipi_create() 324 uint16_t ver_res = lv_display_get_vertical_resolution(disp); in res_chg_event_cb() local 329 LV_UNUSED(ver_res); in res_chg_event_cb()
|
/lvgl-latest/src/drivers/libinput/ |
D | lv_libinput.c | 443 const int32_t ver_res = disp->physical_ver_res > 0 ? disp->physical_ver_res : disp->ver_res; in _read_pointer() local 451 …)LV_CLAMP(INT32_MIN, libinput_event_touch_get_y_transformed(touch_event, ver_res) - disp->offset_y, in _read_pointer() 453 … if(point.x < 0 || point.x > disp->hor_res || point.y < 0 || point.y > disp->ver_res) { in _read_pointer() 519 disp->ver_res - 1); in _read_pointer() 529 … ver_res) - disp->offset_y, INT32_MAX); in _read_pointer() 530 … if(point.x < 0 || point.x > disp->hor_res || point.y < 0 || point.y > disp->ver_res) { in _read_pointer()
|
/lvgl-latest/src/drivers/display/fb/ |
D | lv_linux_fbdev.c | 214 int32_t ver_res = dsc->vinfo.yres; in lv_linux_fbdev_set_file() local 221 draw_buf_size *= ver_res; in lv_linux_fbdev_set_file() 232 lv_display_set_resolution(disp, hor_res, ver_res); in lv_linux_fbdev_set_file() 240 hor_res, ver_res, lv_display_get_dpi(disp)); in lv_linux_fbdev_set_file()
|