Lines Matching refs:texture
68 SDL_Texture * texture = lv_draw_sdl_texture_cache_get(sdl_ctx, &key, sizeof(key), NULL); in lv_draw_sdl_draw_line() local
69 if(!texture) { 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()
89 SDL_SetTextureColorMod(texture, color.r, color.g, color.b); in lv_draw_sdl_draw_line()
90 SDL_SetTextureAlphaMod(texture, dsc->opa); in lv_draw_sdl_draw_line()
100 SDL_RenderCopyEx(renderer, texture, &srcrect, &dstrect, angle, ¢er, 0); in lv_draw_sdl_draw_line()
123 …SDL_Texture * texture = SDL_CreateTexture(sdl_ctx->renderer, LV_DRAW_SDL_TEXTURE_FORMAT, SDL_TEXTU… in line_texture_create() local
126 SDL_SetRenderTarget(sdl_ctx->renderer, texture); in line_texture_create()
127 SDL_SetTextureBlendMode(texture, SDL_BLENDMODE_BLEND); in line_texture_create()
154 return texture; in line_texture_create()