Lines Matching refs:hor_res
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()
122 uint32_t stride = lv_draw_buf_width_to_stride(disp->hor_res, in lv_sdl_window_create()
245 int32_t fb_stride = lv_draw_buf_width_to_stride(disp->hor_res, cf); in flush_cb()
349 int32_t hor_res = (int32_t)((float)(disp->hor_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()
377 int32_t hor_res = disp->hor_res; in window_update() local
382 uint32_t stride = lv_draw_buf_width_to_stride(hor_res, cf); in window_update()
403 uint32_t stride = lv_draw_buf_width_to_stride(disp->hor_res, cf); in texture_resize()
433 SDL_TEXTUREACCESS_STATIC, disp->hor_res, disp->ver_res); in texture_resize()
472 … (int)((float)(disp->hor_res)*dsc->zoom), (int)((float)(disp->ver_res)*dsc->zoom)); in res_chg_event_cb()