Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_composite.c86 …LV_ASSERT(internals->mask == NULL && internals->composition == NULL && internals->target_backup ==… in lv_draw_sdl_composite_begin()
89 …internals->composition = lv_draw_sdl_composite_texture_obtain(ctx, LV_DRAW_SDL_COMPOSITE_TEXTURE_I… in lv_draw_sdl_composite_begin()
97 SDL_SetRenderTarget(ctx->renderer, internals->composition); in lv_draw_sdl_composite_begin()
144 if(internals->composition) { in lv_draw_sdl_composite_end()
151 SDL_SetTextureBlendMode(internals->composition, SDL_BLENDMODE_BLEND); in lv_draw_sdl_composite_end()
154 SDL_SetTextureBlendMode(internals->composition, SDL_BLENDMODE_ADD); in lv_draw_sdl_composite_end()
161 SDL_SetTextureBlendMode(internals->composition, mode); in lv_draw_sdl_composite_end()
168 SDL_SetTextureBlendMode(internals->composition, mode); in lv_draw_sdl_composite_end()
174 SDL_SetTextureBlendMode(internals->composition, SDL_BLENDMODE_BLEND); in lv_draw_sdl_composite_end()
178 SDL_RenderCopy(ctx->renderer, internals->composition, &src_rect, &dst_rect); in lv_draw_sdl_composite_end()
[all …]
Dlv_draw_sdl_priv.h36 SDL_Texture * composition; member