Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_line.c49 static SDL_Texture * line_texture_create(lv_draw_sdl_ctx_t * sdl_ctx, const lv_draw_line_dsc_t * ds…
58 lv_draw_sdl_ctx_t * sdl_ctx = (lv_draw_sdl_ctx_t *) draw_ctx; in lv_draw_sdl_draw_line() local
59 SDL_Renderer * renderer = sdl_ctx->renderer; in lv_draw_sdl_draw_line()
68 SDL_Texture * texture = lv_draw_sdl_texture_cache_get(sdl_ctx, &key, sizeof(key), NULL); in lv_draw_sdl_draw_line()
70 texture = line_texture_create(sdl_ctx, dsc, (lv_coord_t) length); in lv_draw_sdl_draw_line()
71 *in_cache = lv_draw_sdl_texture_cache_put(sdl_ctx, &key, sizeof(key), texture); in lv_draw_sdl_draw_line()
83 …lv_draw_sdl_composite_begin(sdl_ctx, &coords, clip, &extension, dsc->blend_mode, &t_coords, &t_cli… in lv_draw_sdl_draw_line()
103 lv_draw_sdl_composite_end(sdl_ctx, &apply_area, dsc->blend_mode); in lv_draw_sdl_draw_line()
121 static SDL_Texture * line_texture_create(lv_draw_sdl_ctx_t * sdl_ctx, const lv_draw_line_dsc_t * ds… in line_texture_create() argument
123 …SDL_Texture * texture = SDL_CreateTexture(sdl_ctx->renderer, LV_DRAW_SDL_TEXTURE_FORMAT, SDL_TEXTU… in line_texture_create()
[all …]