Home
last modified time | relevance | path

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

12

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_composite.h58 … const lv_area_t * extension, lv_blend_mode_t blend_mode, lv_area_t * coords_out,
61 …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.c55 … const lv_area_t * extension, lv_blend_mode_t blend_mode, lv_area_t * coords_out, in lv_draw_sdl_composite_begin() argument
83 const bool draw_blend = blend_mode != LV_BLEND_MODE_NORMAL; in lv_draw_sdl_composite_begin()
129 …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
149 switch(blend_mode) { in lv_draw_sdl_composite_end()
173 LV_LOG_WARN("Doesn't support blend mode %d", blend_mode); in lv_draw_sdl_composite_end()
Dlv_draw_sdl_label.c141 …osite = lv_draw_sdl_composite_begin(ctx, &letter_area, clip_area, NULL, dsc->blend_mode, &t_letter, in lv_draw_sdl_draw_letter()
165 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_img.c135 … has_composite = lv_draw_sdl_composite_begin(ctx, &zoomed_cords, clip, NULL, draw_dsc->blend_mode, in lv_draw_sdl_img_core()
154 lv_draw_sdl_composite_end(ctx, &apply_area, draw_dsc->blend_mode); in lv_draw_sdl_img_core()
428 … SDL_BlendMode blend_mode = SDL_ComposeCustomBlendMode(SDL_BLENDFACTOR_ONE, SDL_BLENDFACTOR_ZERO, in img_rounded_frag_obtain() local
431 SDL_SetTextureBlendMode(texture, blend_mode); in img_rounded_frag_obtain()
Dlv_draw_sdl_rect.c99 lv_blend_mode_t blend_mode);
157 …bool has_composite = lv_draw_sdl_composite_begin(ctx, coords, clip, &extension, dsc->blend_mode, &… in lv_draw_sdl_draw_rect()
175 lv_draw_sdl_composite_end(ctx, &apply_area, dsc->blend_mode); in lv_draw_sdl_draw_rect()
572 img_dsc.blend_mode = dsc->blend_mode; in draw_bg_img()
722 dsc->blend_mode); in draw_border()
765 dsc->blend_mode); in draw_outline()
770 lv_blend_mode_t blend_mode) in draw_border_generic() argument
/lvgl-3.7.0/src/draw/renesas/
Dlv_gpu_d2_draw_label.c67 img_dsc.blend_mode = dsc->blend_mode; in draw_letter_normal()
137 blend_dsc.blend_mode = dsc->blend_mode; in draw_letter_normal()
282 draw_letter_subpx(pos_x, pos_y, &g, clip_area, map_p, color, opa, blend_mode); in lv_draw_gpu_letter()
Dlv_gpu_d2_ra6m3.c459 if(blend_en && draw_dsc->blend_mode != LV_BLEND_MODE_NORMAL
460 && draw_dsc->blend_mode != LV_BLEND_MODE_ADDITIVE) {
640 … img_dsc.blend_mode != LV_BLEND_MODE_NORMAL ? d2_bm_one : d2_bm_one_minus_alpha));
660 …if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_are…
/lvgl-3.7.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.c41 … lv_opa_t opa, const lv_opa_t * mask, lv_coord_t mask_stride, lv_blend_mode_t blend_mode);
57 … lv_coord_t mask_stride, lv_blend_mode_t blend_mode);
64 const lv_opa_t * mask, lv_coord_t mask_stride, lv_blend_mode_t blend_mode);
182 …_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa, mask, mask_stride, dsc->blend_mode); in lv_draw_sw_blend_basic()
186 else if(dsc->blend_mode == LV_BLEND_MODE_NORMAL) { in lv_draw_sw_blend_basic()
197 …nded(dest_buf, &blend_area, dest_stride, dsc->color, dsc->opa, mask, mask_stride, dsc->blend_mode); in lv_draw_sw_blend_basic()
200 …_buf, &blend_area, dest_stride, src_buf, src_stride, dsc->opa, mask, mask_stride, dsc->blend_mode); in lv_draw_sw_blend_basic()
536 lv_blend_mode_t blend_mode) in fill_blended() argument
546 switch(blend_mode) { in fill_blended()
740 lv_coord_t mask_stride, lv_blend_mode_t blend_mode) in map_argb() argument
[all …]
Dlv_draw_sw_letter.c188 img_dsc.blend_mode = dsc->blend_mode; in draw_letter_normal()
258 blend_dsc.blend_mode = dsc->blend_mode; in draw_letter_normal()
451 blend_dsc.blend_mode = dsc->blend_mode; in draw_letter_subpx()
Dlv_draw_sw_rect.c45 … lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode);
121 blend_dsc.blend_mode = dsc->blend_mode; in draw_bg()
360 img_dsc.blend_mode = dsc->blend_mode; in draw_bg_img()
422 …ric(draw_ctx, coords, &area_inner, rout, rin, dsc->border_color, dsc->border_opa, dsc->blend_mode); in draw_border()
507 …if(mask_any || dsc->bg_opa < LV_OPA_COVER || dsc->blend_mode != LV_BLEND_MODE_NORMAL) simple = fal… in draw_shadow()
531 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_img.c61 blend_dsc.blend_mode = draw_dsc->blend_mode; in lv_draw_sw_img_decoded()
/lvgl-3.7.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.7.0/src/core/
Dlv_obj_draw.c54 if(part != LV_PART_MAIN) draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_rect_dsc()
211 if(part != LV_PART_MAIN) draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_label_dsc()
248 if(part != LV_PART_MAIN) draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_img_dsc()
281 if(part != LV_PART_MAIN) draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_line_dsc()
309 if(part != LV_PART_MAIN) draw_dsc->blend_mode = lv_obj_get_style_blend_mode(obj, part); in lv_obj_init_draw_arc_dsc()
/lvgl-3.7.0/src/draw/nxp/vglite/
Dlv_draw_vglite_line.c87 vg_lite_blend_t vglite_blend_mode = lv_vglite_get_blend_mode(dsc->blend_mode); in lv_gpu_nxp_vglite_draw_line()
/lvgl-3.7.0/docs/porting/
Dgpu.md77 - `lv_blend_mode_t blend_mode` E.g. `LV_BLEND_MODE_ADDITIVE`
132        dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_area) > 100) {
170      dsc->shadow_width == 0 && dsc->blend_mode = LV_BLEND_MODE_NORMAL)
/lvgl-3.7.0/src/draw/arm2d/
Dlv_gpu_arm2d.c523 if(dsc->blend_mode == LV_BLEND_MODE_NORMAL in lv_draw_arm2d_blend()
740 if(dsc->blend_mode == LV_BLEND_MODE_NORMAL) { in lv_draw_arm2d_blend()
751 if(dsc->blend_mode == LV_BLEND_MODE_NORMAL) { in lv_draw_arm2d_blend()
913 blend_dsc.blend_mode = draw_dsc->blend_mode; in lv_draw_arm2d_img_decoded()
/lvgl-3.7.0/src/draw/nxp/pxp/
Dlv_draw_pxp.c148 if(dsc->mask_buf != NULL || dsc->blend_mode != LV_BLEND_MODE_NORMAL || in lv_draw_pxp_blend()
/lvgl-3.7.0/src/draw/swm341_dma2d/
Dlv_gpu_swm341_dma2d.c109 …if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_are… in lv_draw_swm341_dma2d_blend()

12