Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_gradient.c160 lv_coord_t map_size = LV_MAX(w, h); /* The map is being used horizontally (width) unless in allocate_item() local
163 size_t req_size = ALIGN(sizeof(lv_grad_t)) + ALIGN(map_size * sizeof(lv_color_t)); in allocate_item()
201 item->alloc_size = map_size; in allocate_item()
207 … item->hmap = (lv_color32_t *)(p + ALIGN(sizeof(*item)) + ALIGN(map_size * sizeof(lv_color_t))); in allocate_item()
210 ALIGN(map_size * sizeof(lv_color_t))); in allocate_item()
218 …item->hmap = (lv_color32_t *)(grad_cache_end + ALIGN(sizeof(*item)) + ALIGN(map_size * sizeof(lv_c… in allocate_item()
221 ALIGN(map_size * sizeof(lv_color_t))); in allocate_item()