Lines Matching refs:base_draw

54         uint32_t full_size = lv_area_get_size(&layer_sw_ctx->base_draw.area_full) * px_size;  in lv_draw_sw_layer_create()
56 layer_sw_ctx->base_draw.buf = lv_mem_alloc(layer_sw_ctx->buf_size_bytes); in lv_draw_sw_layer_create()
57 if(layer_sw_ctx->base_draw.buf == NULL) { in lv_draw_sw_layer_create()
61 layer_sw_ctx->base_draw.buf = lv_mem_alloc(layer_sw_ctx->buf_size_bytes); in lv_draw_sw_layer_create()
62 if(layer_sw_ctx->base_draw.buf == NULL) { in lv_draw_sw_layer_create()
66 layer_sw_ctx->base_draw.area_act = layer_sw_ctx->base_draw.area_full; in lv_draw_sw_layer_create()
67 layer_sw_ctx->base_draw.area_act.y2 = layer_sw_ctx->base_draw.area_full.y1; in lv_draw_sw_layer_create()
68 lv_coord_t w = lv_area_get_width(&layer_sw_ctx->base_draw.area_act); in lv_draw_sw_layer_create()
69 …layer_sw_ctx->base_draw.max_row_with_alpha = layer_sw_ctx->buf_size_bytes / w / LV_IMG_PX_SIZE_ALP… in lv_draw_sw_layer_create()
70 …layer_sw_ctx->base_draw.max_row_with_no_alpha = layer_sw_ctx->buf_size_bytes / w / sizeof(lv_color… in lv_draw_sw_layer_create()
73 layer_sw_ctx->base_draw.area_act = layer_sw_ctx->base_draw.area_full; in lv_draw_sw_layer_create()
74 … layer_sw_ctx->buf_size_bytes = lv_area_get_size(&layer_sw_ctx->base_draw.area_full) * px_size; in lv_draw_sw_layer_create()
75 layer_sw_ctx->base_draw.buf = lv_mem_alloc(layer_sw_ctx->buf_size_bytes); in lv_draw_sw_layer_create()
76 lv_memset_00(layer_sw_ctx->base_draw.buf, layer_sw_ctx->buf_size_bytes); in lv_draw_sw_layer_create()
78 if(layer_sw_ctx->base_draw.buf == NULL) { in lv_draw_sw_layer_create()
82 draw_ctx->buf = layer_sw_ctx->base_draw.buf; in lv_draw_sw_layer_create()
83 draw_ctx->buf_area = &layer_sw_ctx->base_draw.area_act; in lv_draw_sw_layer_create()
84 draw_ctx->clip_area = &layer_sw_ctx->base_draw.area_act; in lv_draw_sw_layer_create()