lv_draw_buf_handlers_init() function
Initialize the draw buffer with given handlers.
Arguments
handlers
the draw buffer handlers to set
buf_malloc_cb
the callback to allocate memory for the buffer
buf_free_cb
the callback to free memory of the buffer
align_pointer_cb
the callback to align the buffer
invalidate_cache_cb
the callback to invalidate the cache of the buffer
flush_cache_cb
the callback to flush buffer
width_to_stride_cb
the callback to calculate the stride based on the width and color format