Lines Matching refs:key

104 …lv_draw_sdl_cache_key_head_img_t * key = lv_draw_sdl_texture_img_key_create(src, draw_dsc->frame_i…  in lv_draw_sdl_img_core()  local
107 …SDL_Texture * texture = lv_draw_sdl_texture_cache_get_with_userdata(ctx, key, key_size, &texture_f… in lv_draw_sdl_img_core()
111 lv_draw_sdl_img_load_texture(ctx, key, key_size, src, draw_dsc->frame_id, &texture, &header, in lv_draw_sdl_img_core()
117 SDL_free(key); in lv_draw_sdl_img_core()
199 bool lv_draw_sdl_img_load_texture(lv_draw_sdl_ctx_t * ctx, lv_draw_sdl_cache_key_head_img_t * key, … in lv_draw_sdl_img_load_texture() argument
230 …*texture_in_cache = lv_draw_sdl_texture_cache_put_advanced(ctx, key, key_size, *texture, *header, … in lv_draw_sdl_img_load_texture()
235 *texture_in_cache = lv_draw_sdl_texture_cache_put(ctx, key, key_size, NULL); in lv_draw_sdl_img_load_texture()
403 lv_draw_img_rounded_key_t key = rounded_key_create(texture, w, h, radius); in img_rounded_frag_obtain() local
406 SDL_Texture * img_frag = lv_draw_sdl_texture_cache_get(ctx, &key, sizeof(key), NULL); in img_rounded_frag_obtain()
472 *in_cache = lv_draw_sdl_texture_cache_put(ctx, &key, sizeof(key), img_frag); in img_rounded_frag_obtain()
487 lv_draw_img_rounded_key_t key; in rounded_key_create() local
488 SDL_memset(&key, 0, sizeof(key)); in rounded_key_create()
489 key.magic = LV_GPU_CACHE_KEY_MAGIC_IMG_ROUNDED_CORNERS; in rounded_key_create()
490 key.texture = texture; in rounded_key_create()
491 key.w = w; in rounded_key_create()
492 key.h = h; in rounded_key_create()
493 key.radius = radius; in rounded_key_create()
494 return key; in rounded_key_create()