Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_rect.c445 …SDL_Texture * grad_texture = lv_draw_sdl_rect_grad_strip_obtain(ctx, grad, &grad_texture_in_cache); in draw_bg_grad_simple() local
447 SDL_SetTextureBlendMode(grad_texture, SDL_BLENDMODE_MOD); in draw_bg_grad_simple()
450 SDL_SetTextureBlendMode(grad_texture, SDL_BLENDMODE_BLEND); in draw_bg_grad_simple()
453 SDL_RenderCopy(ctx->renderer, grad_texture, &srcrect, &dstrect); in draw_bg_grad_simple()
457 SDL_DestroyTexture(grad_texture); in draw_bg_grad_simple()
469 …SDL_Texture * grad_texture = lv_draw_sdl_rect_grad_frag_obtain(ctx, &dsc->bg_grad, bg_w, bg_h, rad… in draw_bg_grad_radius() local
471 SDL_SetTextureBlendMode(grad_texture, SDL_BLENDMODE_BLEND); in draw_bg_grad_radius()
473 lv_draw_sdl_rect_bg_frag_draw_corners(ctx, grad_texture, real_radius, coords, draw_area, true); in draw_bg_grad_radius()
525 SDL_DestroyTexture(grad_texture); in draw_bg_grad_radius()