Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_mask.c73 SDL_Surface * surface = lv_sdl_create_opa_surface(mask_buf, w, h, w); in lv_draw_sdl_mask_dump_texture() local
75 SDL_Texture * texture = SDL_CreateTextureFromSurface(renderer, surface); in lv_draw_sdl_mask_dump_texture()
76 SDL_FreeSurface(surface); in lv_draw_sdl_mask_dump_texture()
Dlv_draw_sdl_img.c260 …SDL_Surface * surface = SDL_CreateRGBSurfaceFrom(data, w, h, LV_COLOR_DEPTH, w * LV_COLOR_DEPTH / … in upload_img_texture() local
262 SDL_SetColorKey(surface, chroma_keyed, lv_color_to32(LV_COLOR_CHROMA_KEY)); in upload_img_texture()
263 SDL_Texture * texture = SDL_CreateTextureFromSurface(renderer, surface); in upload_img_texture()
264 SDL_FreeSurface(surface); in upload_img_texture()
280 …SDL_Surface * surface = SDL_CreateRGBSurfaceFrom(data, w, h, LV_COLOR_DEPTH, w * LV_COLOR_DEPTH / … in upload_img_texture_fallback() local
282 SDL_SetColorKey(surface, SDL_TRUE, lv_color_to32(LV_COLOR_CHROMA_KEY)); in upload_img_texture_fallback()
283 SDL_Texture * texture = SDL_CreateTextureFromSurface(renderer, surface); in upload_img_texture_fallback()
284 SDL_FreeSurface(surface); in upload_img_texture_fallback()
Dlv_draw_sdl_rect.c269 …SDL_Surface * surface = SDL_CreateRGBSurfaceFrom(pixels, width, height, LV_COLOR_DEPTH, width * LV… in lv_draw_sdl_rect_grad_strip_obtain() local
271 texture = SDL_CreateTextureFromSurface(ctx->renderer, surface); in lv_draw_sdl_rect_grad_strip_obtain()
273 SDL_FreeSurface(surface); in lv_draw_sdl_rect_grad_strip_obtain()
/lvgl-3.7.0/
DKconfig198 … LV_DITHER_GRADIENT implies allocating one or two more lines of the object's rendering surface