lv_draw_buf_private.h
API reference for lv_draw_buf_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_draw_buf.h
Summary
Functions
lv_draw_buf_init_handlers
Called internally to initialize the draw_buf_handlers in lv_global
void lv_draw_buf_init_handlers(void)lv_draw_buf_clear_ex
TODO(v10): the draw buffer should describe its own storage well enough that the layer isn't needed. Merge this back into lv_draw_buf_clear() then.
void lv_draw_buf_clear_ex(lv_draw_buf_t *draw_buf, const lv_area_t *a, lv_layer_t *layer)| Name | Type | Description |
|---|---|---|
draw_buf | lv_draw_buf_t * | pointer to draw buffer |
a | const lv_area_t * | the area to clear May be NULL.. When NULL the whole buffer is cleared |
layer | lv_layer_t * | the layer draw_buf belongs to May be NULL. |
Structs
struct
_lv_draw_buf_handlers_t
| Member | Type | Description |
|---|---|---|
buf_malloc_cb | lv_draw_buf_malloc_cb_t | |
buf_free_cb | lv_draw_buf_free_cb_t | |
buf_copy_cb | lv_draw_buf_copy_cb_t | |
align_pointer_cb | lv_draw_buf_align_cb_t | |
invalidate_cache_cb | lv_draw_buf_cache_operation_cb_t | |
flush_cache_cb | lv_draw_buf_cache_operation_cb_t | |
width_to_stride_cb | lv_draw_buf_width_to_stride_cb_t | |
buf_clear_cb | lv_draw_buf_clear_cb_t |
Dependencies
lvgl_public.h
Last updated on