Home
last modified time | relevance | path

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

/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl.c76 lv_draw_sdl_ctx_t * draw_ctx_sdl = (lv_draw_sdl_ctx_t *) draw_ctx; in lv_draw_sdl_init_ctx() local
77 draw_ctx_sdl->renderer = ((lv_draw_sdl_drv_param_t *) disp_drv->user_data)->renderer; in lv_draw_sdl_init_ctx()
78 draw_ctx_sdl->internals = lv_mem_alloc(sizeof(lv_draw_sdl_context_internals_t)); in lv_draw_sdl_init_ctx()
79 lv_memset_00(draw_ctx_sdl->internals, sizeof(lv_draw_sdl_context_internals_t)); in lv_draw_sdl_init_ctx()
80 lv_draw_sdl_texture_cache_init(draw_ctx_sdl); in lv_draw_sdl_init_ctx()
85 lv_draw_sdl_ctx_t * draw_ctx_sdl = (lv_draw_sdl_ctx_t *) draw_ctx; in lv_draw_sdl_deinit_ctx() local
86 lv_draw_sdl_texture_cache_deinit(draw_ctx_sdl); in lv_draw_sdl_deinit_ctx()
87 lv_mem_free(draw_ctx_sdl->internals); in lv_draw_sdl_deinit_ctx()