Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/draw/sdl/
Dlv_draw_sdl_composite.h56 … const lv_area_t * extension, lv_blend_mode_t blend_mode, lv_area_t * coords_out,
59 …l_composite_end(lv_draw_sdl_ctx_t * ctx, const lv_area_t * apply_area, lv_blend_mode_t blend_mode);
Dlv_draw_sdl_composite.c56 … const lv_area_t * extension, lv_blend_mode_t blend_mode, lv_area_t * coords_out, in lv_draw_sdl_composite_begin() argument
84 const bool draw_blend = blend_mode != LV_BLEND_MODE_NORMAL; in lv_draw_sdl_composite_begin()
124 …dl_composite_end(lv_draw_sdl_ctx_t * ctx, const lv_area_t * apply_area, lv_blend_mode_t blend_mode) in lv_draw_sdl_composite_end() argument
144 switch(blend_mode) { in lv_draw_sdl_composite_end()
168 LV_LOG_WARN("Doesn't support blend mode %d", blend_mode); in lv_draw_sdl_composite_end()
Dlv_draw_sdl_label.c122 …bool has_mask = lv_draw_sdl_composite_begin(ctx, &letter_area, clip_area, NULL, dsc->blend_mode, &… in lv_draw_sdl_draw_letter()
140 lv_draw_sdl_composite_end(ctx, &apply_area, dsc->blend_mode); in lv_draw_sdl_draw_letter()
Dlv_draw_sdl_line.c83 …lv_draw_sdl_composite_begin(sdl_ctx, &coords, clip, &extension, dsc->blend_mode, &t_coords, &t_cli… in lv_draw_sdl_draw_line()
103 lv_draw_sdl_composite_end(sdl_ctx, &apply_area, dsc->blend_mode); in lv_draw_sdl_draw_line()
Dlv_draw_sdl_rect.c74 lv_blend_mode_t blend_mode);
127 …lv_draw_sdl_composite_begin(ctx, coords, clip, &extension, dsc->blend_mode, &t_coords, &t_clip, &a… in lv_draw_sdl_draw_rect()
141 lv_draw_sdl_composite_end(ctx, &apply_area, dsc->blend_mode); in lv_draw_sdl_draw_rect()
318 img_dsc.blend_mode = dsc->blend_mode; in draw_bg_img()
460 dsc->blend_mode); in draw_border()
503 dsc->blend_mode); in draw_outline()
508 lv_blend_mode_t blend_mode) in draw_border_generic() argument
Dlv_draw_sdl_img.c127 lv_draw_sdl_composite_begin(ctx, &zoomed_cords, clip, NULL, draw_dsc->blend_mode, in lv_draw_sdl_img_core()
144 lv_draw_sdl_composite_end(ctx, &apply_area, draw_dsc->blend_mode); in lv_draw_sdl_img_core()
397 … SDL_BlendMode blend_mode = SDL_ComposeCustomBlendMode(SDL_BLENDFACTOR_ONE, SDL_BLENDFACTOR_ZERO, in img_rounded_frag_obtain() local
400 SDL_SetTextureBlendMode(texture, blend_mode); in img_rounded_frag_obtain()
/lvgl-3.4.0/src/draw/sw/
Dlv_draw_sw_blend.h38 lv_blend_mode_t blend_mode; /**< E.g. LV_BLEND_MODE_ADDITIVE*/ member
Dlv_draw_sw_blend.c32 … lv_opa_t opa, const lv_opa_t * mask, lv_coord_t mask_stride, lv_blend_mode_t blend_mode);
44 const lv_opa_t * mask, lv_coord_t mask_stride, lv_blend_mode_t blend_mode);
158 if(dsc->blend_mode == LV_BLEND_MODE_NORMAL) { in lv_draw_sw_blend_basic()
163 …nded(dest_buf, &blend_area, dest_stride, dsc->color, dsc->opa, mask, mask_stride, dsc->blend_mode); in lv_draw_sw_blend_basic()
168 if(dsc->blend_mode == LV_BLEND_MODE_NORMAL) { in lv_draw_sw_blend_basic()
173 …_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa, mask, mask_stride, dsc->blend_mode); in lv_draw_sw_blend_basic()
366 lv_blend_mode_t blend_mode) in fill_blended() argument
376 switch(blend_mode) { in fill_blended()
602 const lv_opa_t * mask, lv_coord_t mask_stride, lv_blend_mode_t blend_mode) in map_blended() argument
612 switch(blend_mode) { in map_blended()
Dlv_draw_sw_rect.c46 … lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode);
124 blend_dsc.blend_mode = dsc->blend_mode; in draw_bg()
363 img_dsc.blend_mode = dsc->blend_mode; in draw_bg_img()
419 …ric(draw_ctx, coords, &area_inner, rout, rin, dsc->border_color, dsc->border_opa, dsc->blend_mode); in draw_border()
505 …if(mask_any || dsc->bg_opa < LV_OPA_COVER || dsc->blend_mode != LV_BLEND_MODE_NORMAL) simple = fal… in draw_shadow()
529 blend_dsc.blend_mode = dsc->blend_mode; in draw_shadow()
1143 dsc->blend_mode); in draw_outline()
1147 … lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode) in draw_border_generic() argument
1189 blend_dsc.blend_mode = blend_mode; in draw_border_generic()
1368 LV_UNUSED(blend_mode); in draw_border_generic()
Dlv_draw_sw_letter.c224 blend_dsc.blend_mode = dsc->blend_mode; in draw_letter_normal()
417 blend_dsc.blend_mode = dsc->blend_mode; in draw_letter_subpx()
Dlv_draw_sw_img.c53 blend_dsc.blend_mode = draw_dsc->blend_mode; in lv_draw_sw_img_decoded()
Dlv_draw_sw_arc.c73 cir_dsc.blend_mode = dsc->blend_mode; in lv_draw_sw_arc()
/lvgl-3.4.0/src/draw/
Dlv_draw_line.h34 lv_blend_mode_t blend_mode : 2; member
Dlv_draw_arc.h35 lv_blend_mode_t blend_mode : 2; member
Dlv_draw_img.h42 lv_blend_mode_t blend_mode : 4; member
Dlv_draw_label.h46 lv_blend_mode_t blend_mode: 3; member
Dlv_draw_rect.h34 lv_blend_mode_t blend_mode; member
Dlv_draw_label.c199 line_dsc.blend_mode = dsc->blend_mode; in lv_draw_label()
/lvgl-3.4.0/src/core/
Dlv_obj_draw.c55 draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_rect_dsc()
210 draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_label_dsc()
243 draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_img_dsc()
272 draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_line_dsc()
296 draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_arc_dsc()
/lvgl-3.4.0/docs/porting/
Dgpu.md81 - `lv_blend_mode_t blend_mode` E.g. `LV_BLEND_MODE_ADDITIVE`
136        dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_area) > 100) {
174      dsc->shadow_width == 0 && dsc->blend_mode = LV_BLEND_MODE_NORMAL)
/lvgl-3.4.0/src/draw/stm32_dma2d/
Dlv_gpu_stm32_dma2d.c123 …if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_are… in lv_draw_stm32_dma2d_blend()
/lvgl-3.4.0/src/extra/widgets/span/
Dlv_span.c915 label_draw_dsc.blend_mode = lv_span_get_style_text_blend_mode(obj, pinfo->span); in lv_draw_span()
981 line_dsc.blend_mode = label_draw_dsc.blend_mode; in lv_draw_span()
/lvgl-3.4.0/docs/overview/
Dstyle-props.md738 ### blend_mode subsection