/lvgl-3.5.0/src/draw/ |
D | lv_draw_mask.c | 29 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_line(lv_opa_t * mask_buf, lv_coord_t a… 32 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_radius(lv_opa_t * mask_buf, lv_coord_t… 35 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_angle(lv_opa_t * mask_buf, lv_coord_t … 38 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_fade(lv_opa_t * mask_buf, lv_coord_t a… 41 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_map(lv_opa_t * mask_buf, lv_coord_t ab… 44 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t lv_draw_mask_polygon(lv_opa_t * mask_buf, lv_coord_… 48 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t line_mask_flat(lv_opa_t * mask_buf, lv_coord_t abs_… 51 LV_ATTRIBUTE_FAST_MEM static lv_draw_mask_res_t line_mask_steep(lv_opa_t * mask_buf, lv_coord_t abs… 111 LV_ATTRIBUTE_FAST_MEM lv_draw_mask_res_t lv_draw_mask_apply(lv_opa_t * mask_buf, lv_coord_t abs_x, … in lv_draw_mask_apply() argument 122 res = dsc->cb(mask_buf, abs_x, abs_y, len, (void *)m->param); in lv_draw_mask_apply() [all …]
|
D | lv_draw_mask.h | 92 typedef lv_draw_mask_res_t (*lv_draw_mask_xcb_t)(lv_opa_t * mask_buf, lv_coord_t abs_x, lv_coord_t … 244 LV_ATTRIBUTE_FAST_MEM lv_draw_mask_res_t lv_draw_mask_apply(lv_opa_t * mask_buf, lv_coord_t abs_x, … 260 LV_ATTRIBUTE_FAST_MEM lv_draw_mask_res_t lv_draw_mask_apply_ids(lv_opa_t * mask_buf, lv_coord_t abs…
|
/lvgl-3.5.0/src/draw/sdl/ |
D | lv_draw_sdl_mask.c | 49 lv_opa_t * mask_buf = lv_mem_buf_get(w * h); in lv_draw_sdl_mask_dump_opa() local 51 lv_opa_t * line_buf = &mask_buf[y * w]; in lv_draw_sdl_mask_dump_opa() 65 return mask_buf; in lv_draw_sdl_mask_dump_opa() 72 lv_opa_t * mask_buf = lv_draw_sdl_mask_dump_opa(coords, ids, ids_count); in lv_draw_sdl_mask_dump_texture() local 73 SDL_Surface * surface = lv_sdl_create_opa_surface(mask_buf, w, h, w); in lv_draw_sdl_mask_dump_texture() 74 lv_mem_buf_release(mask_buf); in lv_draw_sdl_mask_dump_texture()
|
D | lv_draw_sdl_rect.c | 645 lv_opa_t * mask_buf = lv_draw_sdl_mask_dump_opa(&mask_area_blurred, &mask_id, 1); in draw_shadow() local 646 …lv_stack_blur_grayscale(mask_buf, lv_area_get_width(&mask_area_blurred), lv_area_get_height(&mask_… in draw_shadow() 648 texture = lv_sdl_create_opa_texture(ctx->renderer, mask_buf, blur_frag_size, blur_frag_size, in draw_shadow() 650 lv_mem_buf_release(mask_buf); in draw_shadow()
|
/lvgl-3.5.0/src/draw/sw/ |
D | lv_draw_sw_rect.c | 150 lv_opa_t * mask_buf = NULL; in draw_bg() local 153 mask_buf = lv_mem_buf_get(clipped_w); in draw_bg() 164 blend_dsc.mask_buf = mask_buf; in draw_bg() 228 lv_memset(mask_buf, opa, clipped_w); in draw_bg() 229 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, clipped_coords.x1, h, clipped_w); in draw_bg() 250 lv_memset(mask_buf, opa, clipped_w); in draw_bg() 251 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, top_y, clipped_w); in draw_bg() 290 blend_dsc.mask_buf = NULL; in draw_bg() 301 lv_memset(mask_buf, opa, clipped_w); in draw_bg() 302 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, clipped_coords.x1, h, clipped_w); in draw_bg() [all …]
|
D | lv_draw_sw_line.c | 158 lv_opa_t * mask_buf = lv_mem_buf_get(blend_area_w); in draw_line_hor() local 159 blend_dsc.mask_buf = mask_buf; in draw_line_hor() 163 lv_memset_ff(mask_buf, blend_area_w); in draw_line_hor() 164 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, h, blend_area_w); in draw_line_hor() 180 mask_buf[i] = 0x00; in draw_line_hor() 193 lv_mem_buf_release(mask_buf); in draw_line_hor() 239 lv_opa_t * mask_buf = lv_mem_buf_get(draw_area_w); in draw_line_ver() local 240 blend_dsc.mask_buf = mask_buf; in draw_line_ver() 252 lv_memset_ff(mask_buf, draw_area_w); in draw_line_ver() 253 blend_dsc.mask_res = lv_draw_mask_apply(mask_buf, blend_area.x1, h, draw_area_w); in draw_line_ver() [all …]
|
D | lv_draw_sw_img.c | 74 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_sw_img_decoded() 88 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_sw_img_decoded() 89 blend_dsc.mask_buf += sizeof(lv_color_t) * src_w * src_h; in lv_draw_sw_img_decoded() 124 lv_opa_t * mask_buf = lv_mem_buf_get(buf_size); in lv_draw_sw_img_decoded() local 125 blend_dsc.mask_buf = mask_buf; in lv_draw_sw_img_decoded() 144 draw_dsc, cf, rgb_buf, mask_buf); in lv_draw_sw_img_decoded() 147 … convert_cb(&transform_area, src_buf, src_w, src_h, src_w, draw_dsc, cf, rgb_buf, mask_buf); in lv_draw_sw_img_decoded() 166 lv_opa_t * mask_buf_tmp = mask_buf; in lv_draw_sw_img_decoded() 192 lv_mem_buf_release(mask_buf); in lv_draw_sw_img_decoded()
|
D | lv_draw_sw_letter.c | 263 lv_opa_t * mask_buf = lv_mem_buf_get(mask_buf_size); in draw_letter_normal() local 264 blend_dsc.mask_buf = mask_buf; in draw_letter_normal() 294 mask_buf[mask_p] = bpp_opa_table_p[letter_px]; in draw_letter_normal() 297 mask_buf[mask_p] = 0; in draw_letter_normal() 318 … blend_dsc.mask_res = lv_draw_mask_apply(mask_buf + mask_p_start, fill_area.x1, fill_area.y2, in draw_letter_normal() 321 lv_memset_00(mask_buf + mask_p_start, fill_w); in draw_letter_normal() 351 lv_mem_buf_release(mask_buf); in draw_letter_normal() 418 lv_opa_t * mask_buf = lv_mem_buf_get(mask_buf_size); in draw_letter_subpx() local 450 blend_dsc.mask_buf = mask_buf; in draw_letter_subpx() 511 … if(font_rgb[0] == 0 && font_rgb[1] == 0 && font_rgb[2] == 0) mask_buf[mask_p] = LV_OPA_TRANSP; in draw_letter_subpx() [all …]
|
D | lv_draw_sw_blend.h | 34 … lv_opa_t * mask_buf; /**< NULL if ignored, or an alpha mask to apply on `blend_area`*/ member
|
D | lv_draw_sw_blend.c | 107 if(dsc->mask_buf == NULL) mask = NULL; in lv_draw_sw_blend_basic() 108 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_sw_blend_basic() 110 else mask = dsc->mask_buf; in lv_draw_sw_blend_basic()
|
/lvgl-3.5.0/src/draw/arm2d/ |
D | lv_gpu_arm2d.c | 519 if(dsc->mask_buf == NULL) mask = NULL; in lv_draw_arm2d_blend() 520 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_arm2d_blend() 522 else mask = dsc->mask_buf; in lv_draw_arm2d_blend() 698 if(dsc->mask_buf == NULL) mask = NULL; in lv_draw_arm2d_blend() 699 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_arm2d_blend() 701 else mask = dsc->mask_buf; in lv_draw_arm2d_blend() 952 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_arm2d_img_decoded() 967 blend_dsc.mask_buf = (lv_opa_t *)src_buf; in lv_draw_arm2d_img_decoded() 968 blend_dsc.mask_buf += sizeof(lv_color_t) * src_w * src_h; in lv_draw_arm2d_img_decoded() 1003 lv_opa_t * mask_buf = lv_mem_buf_get(buf_size); in lv_draw_arm2d_img_decoded() local [all …]
|
/lvgl-3.5.0/src/draw/stm32_dma2d/ |
D | lv_gpu_stm32_dma2d.h | 77 …const lv_area_t * draw_area, const lv_opa_t * mask_buf, lv_coord_t mask_stride, const lv_point_t *…
|
D | lv_gpu_stm32_dma2d.c | 115 const lv_opa_t * mask = dsc->mask_buf; in lv_draw_stm32_dma2d_blend() 117 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_stm32_dma2d_blend() 504 …const lv_area_t * draw_area, const lv_opa_t * mask_buf, lv_coord_t mask_stride, const lv_point_t *… in _lv_draw_stm32_dma2d_blend_paint() argument 522 DMA2D->FGMAR = (uint32_t)(mask_buf + (mask_stride * mask_offset->y) + mask_offset->x); in _lv_draw_stm32_dma2d_blend_paint()
|
/lvgl-3.5.0/src/draw/nxp/pxp/ |
D | lv_draw_pxp.c | 143 if(dsc->mask_buf != NULL || dsc->blend_mode != LV_BLEND_MODE_NORMAL || in lv_draw_pxp_blend()
|
/lvgl-3.5.0/src/draw/swm341_dma2d/ |
D | lv_gpu_swm341_dma2d.c | 109 …if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && lv_area_get_size(&blend_are… in lv_draw_swm341_dma2d_blend()
|
/lvgl-3.5.0/docs/porting/ |
D | gpu.md | 73 - `lv_opa_t * mask_buf` NULL if ignored, or an alpha mask to apply on `blend_area` 75 - `const lv_area_t * mask_area` The area of `mask_buf` with absolute coordinates
|
/lvgl-3.5.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite.c | 178 if(dsc->mask_buf == NULL && dsc->blend_mode == LV_BLEND_MODE_NORMAL && in lv_draw_vglite_blend()
|