Home
last modified time | relevance | path

Searched refs:buf_area (Results 1 – 17 of 17) sorted by relevance

/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite.c153 …lv_gpu_nxp_vglite_init_buf(draw_ctx->buf, draw_ctx->buf_area, lv_area_get_width(draw_ctx->buf_area in lv_draw_vglite_init_buf()
177 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_vglite_blend()
192 src_area.x1 = blend_area.x1 - (dsc->blend_area->x1 - draw_ctx->buf_area->x1); in lv_draw_vglite_blend()
193 src_area.y1 = blend_area.y1 - (dsc->blend_area->y1 - draw_ctx->buf_area->y1); in lv_draw_vglite_blend()
200 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_vglite_blend()
236 lv_area_move(&rel_coords, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_vglite_img_decoded()
240 lv_area_move(&rel_clip_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_vglite_img_decoded()
261 src_area.x1 = blend_area.x1 - (coords->x1 - draw_ctx->buf_area->x1); in lv_draw_vglite_img_decoded()
262 src_area.y1 = blend_area.y1 - (coords->y1 - draw_ctx->buf_area->y1); in lv_draw_vglite_img_decoded()
269 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_vglite_img_decoded()
[all …]
/lvgl-latest/src/draw/nxp/pxp/
Dlv_draw_pxp.c147 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_pxp_blend()
156 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_pxp_blend()
164 src_area.x1 = blend_area.x1 - (dsc->blend_area->x1 - draw_ctx->buf_area->x1); in lv_draw_pxp_blend()
165 src_area.y1 = blend_area.y1 - (dsc->blend_area->y1 - draw_ctx->buf_area->y1); in lv_draw_pxp_blend()
194 lv_area_move(&rel_coords, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_pxp_img_decoded()
198 lv_area_move(&rel_clip_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_pxp_img_decoded()
248 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_pxp_img_decoded()
251 src_area.x1 = blend_area.x1 - (coords->x1 - draw_ctx->buf_area->x1); in lv_draw_pxp_img_decoded()
252 src_area.y1 = blend_area.y1 - (coords->y1 - draw_ctx->buf_area->y1); in lv_draw_pxp_img_decoded()
/lvgl-latest/src/draw/
Dlv_draw_layer.c53 layer_ctx->original.buf_area = draw_ctx->buf_area; in lv_draw_layer_create()
82 draw_ctx->buf_area = layer_ctx->original.buf_area; in lv_draw_layer_destroy()
Dlv_draw.h53 lv_area_t * buf_area; member
68 lv_area_t * buf_area; member
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_layer.c83 draw_ctx->buf_area = &layer_sw_ctx->base_draw.area_act; in lv_draw_sw_layer_create()
110 draw_ctx->buf_area = &layer_ctx->area_act; in lv_draw_sw_layer_adjust()
122 img.header.w = lv_area_get_width(draw_ctx->buf_area); in lv_draw_sw_layer_blend()
123 img.header.h = lv_area_get_height(draw_ctx->buf_area); in lv_draw_sw_layer_blend()
128 draw_ctx->buf_area = layer_ctx->original.buf_area; in lv_draw_sw_layer_blend()
Dlv_draw_sw_blend.c117 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_sw_blend_basic()
126 …st_buf += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) + (blend_area.x1 - draw_ctx->buf_… in lv_draw_sw_blend_basic()
131 … dest_buf8 += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_draw_sw_blend_basic()
132 dest_buf8 += (blend_area.x1 - draw_ctx->buf_area->x1) * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_draw_sw_blend_basic()
166 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_sw_blend_basic()
Dlv_draw_sw_letter.c422 int32_t dest_buf_stride = lv_area_get_width(draw_ctx->buf_area); in draw_letter_subpx()
426 …dest_buf_tmp += ((pos->y - draw_ctx->buf_area->y1) * dest_buf_stride) + pos->x - draw_ctx->buf_are… in draw_letter_subpx()
Dlv_draw_sw_rect.c86 lv_memset_00(draw_ctx->buf, lv_area_get_size(draw_ctx->buf_area) * sizeof(lv_color_t)); in lv_draw_sw_bg()
/lvgl-latest/src/draw/swm341_dma2d/
Dlv_gpu_swm341_dma2d.c110 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_swm341_dma2d_blend()
113 …st_buf += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) + (blend_area.x1 - draw_ctx->buf_… in lv_draw_swm341_dma2d_blend()
121 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_swm341_dma2d_blend()
126 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_swm341_dma2d_blend()
/lvgl-latest/src/draw/stm32_dma2d/
Dlv_gpu_stm32_dma2d.c158 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_stm32_dma2d_blend()
169 lv_area_move(&draw_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_stm32_dma2d_blend()
200 lv_area_move(&draw_area, -draw_ctx->buf_area->x1, in lv_draw_stm32_dma2d_blend()
201 … -draw_ctx->buf_area->y1); // translate the screen draw area to the origin of the buffer area in lv_draw_stm32_dma2d_blend()
218 lv_area_move(&draw_area, -draw_ctx->buf_area->x1, in lv_draw_stm32_dma2d_blend()
219 … -draw_ctx->buf_area->y1); // translate the screen draw area to the origin of the buffer area in lv_draw_stm32_dma2d_blend()
225 lv_area_move(&draw_area, -draw_ctx->buf_area->x1, in lv_draw_stm32_dma2d_blend()
226 … -draw_ctx->buf_area->y1); // translate the screen draw area to the origin of the buffer area in lv_draw_stm32_dma2d_blend()
269 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_stm32_dma2d_img_decoded()
272 lv_area_move(&draw_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1); in lv_draw_stm32_dma2d_img_decoded()
[all …]
/lvgl-latest/src/draw/arm2d/
Dlv_gpu_arm2d.c187 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); \
190 dest_buf += dest_stride * (blend_area2.y1 - draw_ctx->buf_area->y1) \
191 + (blend_area2.x1 - draw_ctx->buf_area->x1); \
207 .iWidth = lv_area_get_width(draw_ctx->buf_area), \
208 .iHeight = lv_area_get_height(draw_ctx->buf_area), \
217 .iX = (__blend_area).x1 - draw_ctx->buf_area->x1, \
218 .iY = (__blend_area).y1 - draw_ctx->buf_area->y1, \
690 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_arm2d_blend()
704 …st_buf += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) + (blend_area.x1 - draw_ctx->buf_… in lv_draw_arm2d_blend()
709 … dest_buf8 += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) * LV_IMG_PX_SIZE_ALPHA_BYTE; in lv_draw_arm2d_blend()
[all …]
/lvgl-latest/docs/porting/
Dgpu.md11 - `lv_area_t * buf_area` The position and size of `buf` (absolute coordinates)
12 …t clip area with absolute coordinates, always the same or smaller than `buf_area`. All drawings sh…
135         lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); /*Width of the destination …
137 …st_buf += dest_stride * (blend_area.y1 - draw_ctx->buf_area->y1) + (blend_area.x1 - draw_ctx->buf_…
140         lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1);
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl_layer.c82 draw_ctx->buf_area = &layer_ctx->area_full; in lv_draw_sdl_layer_init()
135 lv_area_t * area = ctx->base_draw.buf_area; in lv_draw_sdl_transform_areas_offset()
/lvgl-latest/src/core/
Dlv_refr.c639 draw_ctx->buf_area = &disp_area; in refr_area()
672 draw_ctx->buf_area = &sub_area; in refr_area()
688 draw_ctx->buf_area = &sub_area; in refr_area()
730 top_act_scr = lv_refr_get_top_obj(draw_ctx->buf_area, lv_disp_get_scr_act(disp_refr)); in refr_area_part()
732 top_prev_scr = lv_refr_get_top_obj(draw_ctx->buf_area, disp_refr->prev_scr); in refr_area_part()
767 lv_draw_rect(draw_ctx, &dsc, draw_ctx->buf_area); in refr_area_part()
1033 draw_dsc.pivot.x = obj->coords.x1 + pivot.x - draw_ctx->buf_area->x1; in refr_obj()
1034 draw_dsc.pivot.y = obj->coords.y1 + pivot.y - draw_ctx->buf_area->y1; in refr_obj()
1294 draw_buf_rotate(draw_ctx->buf_area, draw_ctx->buf); in draw_buf_flush()
1297 call_flush_cb(disp->driver, draw_ctx->buf_area, draw_ctx->buf); in draw_buf_flush()
/lvgl-latest/src/draw/renesas/
Dlv_gpu_d2_ra6m3.c661 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area);
670 src_area.x1 = blend_area.x1 - (dsc->blend_area->x1 - draw_ctx->buf_area->x1);
671 src_area.y1 = blend_area.y1 - (dsc->blend_area->y1 - draw_ctx->buf_area->y1);
679 lv_area_move(&blend_area, -draw_ctx->buf_area->x1, -draw_ctx->buf_area->y1);
/lvgl-latest/src/extra/others/snapshot/
Dlv_snapshot.c137 draw_ctx->buf_area = &snapshot_area; in lv_snapshot_take_to_buf()
/lvgl-latest/src/widgets/
Dlv_canvas.c814 draw_ctx->buf_area = clip_area; in init_fake_disp()