Lines Matching refs:disp
33 static void init_fake_disp(lv_obj_t * canvas, lv_disp_t * disp, lv_disp_drv_t * drv, lv_area_t * cl…
34 static void deinit_fake_disp(lv_obj_t * canvas, lv_disp_t * disp);
791 static void init_fake_disp(lv_obj_t * canvas, lv_disp_t * disp, lv_disp_drv_t * drv, lv_area_t * cl… in init_fake_disp() argument
801 lv_memset_00(disp, sizeof(lv_disp_t)); in init_fake_disp()
802 disp->driver = drv; in init_fake_disp()
804 lv_disp_drv_init(disp->driver); in init_fake_disp()
805 disp->driver->hor_res = dsc->header.w; in init_fake_disp()
806 disp->driver->ver_res = dsc->header.h; in init_fake_disp()
812 disp->driver->draw_ctx = draw_ctx; in init_fake_disp()
817 lv_disp_drv_use_generic_set_px_cb(disp->driver, dsc->header.cf); in init_fake_disp()
823 static void deinit_fake_disp(lv_obj_t * canvas, lv_disp_t * disp) in deinit_fake_disp() argument
826 lv_draw_sw_deinit_ctx(disp->driver, disp->driver->draw_ctx); in deinit_fake_disp()
827 lv_mem_free(disp->driver->draw_ctx); in deinit_fake_disp()