Searched refs:img_frag (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_img.c | 406 SDL_Texture * img_frag = lv_draw_sdl_texture_cache_get(ctx, &key, sizeof(key), NULL); in img_rounded_frag_obtain() local 407 if(img_frag == NULL) { in img_rounded_frag_obtain() 409 … img_frag = SDL_CreateTexture(ctx->renderer, LV_DRAW_SDL_TEXTURE_FORMAT, SDL_TEXTUREACCESS_TARGET, in img_rounded_frag_obtain() 411 SDL_assert(img_frag); in img_rounded_frag_obtain() 412 SDL_SetTextureBlendMode(img_frag, SDL_BLENDMODE_BLEND); in img_rounded_frag_obtain() 414 SDL_SetRenderTarget(ctx->renderer, img_frag); 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() 481 return img_frag; in img_rounded_frag_obtain()
|