Searched refs:draw_ctx_size (Results 1 – 4 of 4) sorted by relevance
102 driver->draw_ctx_size = sizeof(lv_draw_ra6m3_dma2d_ctx_t); in lv_disp_drv_init()106 driver->draw_ctx_size = sizeof(lv_draw_stm32_dma2d_ctx_t); in lv_disp_drv_init()110 driver->draw_ctx_size = sizeof(lv_draw_swm341_dma2d_ctx_t); in lv_disp_drv_init()114 driver->draw_ctx_size = sizeof(lv_draw_vglite_ctx_t); in lv_disp_drv_init()118 driver->draw_ctx_size = sizeof(lv_draw_pxp_ctx_t); in lv_disp_drv_init()122 driver->draw_ctx_size = sizeof(lv_draw_sdl_ctx_t); in lv_disp_drv_init()126 driver->draw_ctx_size = sizeof(lv_draw_arm2d_ctx_t); in lv_disp_drv_init()130 driver->draw_ctx_size = sizeof(lv_draw_sw_ctx_t); in lv_disp_drv_init()176 lv_draw_ctx_t * draw_ctx = lv_mem_alloc(driver->draw_ctx_size); in lv_disp_drv_register()
146 size_t draw_ctx_size; member
37 - `size_t draw_ctx_size` Size of the draw context structure. E.g. `sizeof(lv_draw_sw_ctx_t)`40 `lv_disp_drv_register()` will allocate a `draw_ctx` based on `draw_ctx_size` and call `draw_ctx_ini…107 …_init(&drv)` you can assign the new `draw_ctx_init` callback and set `draw_ctx_size` to overwrite …117 drv->draw_ctx_size = sizeof(my_draw_ctx_t);
131 lv_draw_ctx_t * draw_ctx = lv_mem_alloc(obj_disp->driver->draw_ctx_size); in lv_snapshot_take_to_buf()