lv_cache_entry_private.h
API reference for lv_cache_entry_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_cache_entry.h
void lv_cache_entry_set_node_size(lv_cache_entry_t *entry, uint32_t node_size)
Parametersvoid lv_cache_entry_set_cache(lv_cache_entry_t *entry, const lv_cache_t *cache)
Parametersvoid lv_cache_entry_set_flag(lv_cache_entry_t *entry, uint8_t flags)
Parametersvoid lv_cache_entry_reset_ref(lv_cache_entry_t *entry)
Parametersvoid lv_cache_entry_inc_ref(lv_cache_entry_t *entry)
Parametersvoid lv_cache_entry_dec_ref(lv_cache_entry_t *entry)
Parametersvoid * lv_cache_entry_acquire_data(lv_cache_entry_t *entry)
Parametersvoid lv_cache_entry_release_data(lv_cache_entry_t *entry, void *user_data)
Parametersvoid lv_cache_entry_remove_flag(lv_cache_entry_t *entry, uint8_t flags)
Parametersbool lv_cache_entry_has_flag(lv_cache_entry_t *entry, uint8_t flags)
Parameters
Used by 2 functions
lv_nanovg_fbo_cache_release — param entry
lv_nanovg_fbo_cache_entry_to_fb — param entry
#define LV_CACHE_ENTRY_FLAG_INVALID (1 << 0) /** Flag indicating if the entry is invalid and can be released */
#define LV_CACHE_ENTRY_FLAG_DISABLE_DELETE (1 << 1) /** This flag should be set if the cache class is managing the memory of the entry itself*/
#define LV_CACHE_ENTRY_FLAG_CLASS_CUSTOM (1 << 7) /**A custom flag that can be used by the different cache classes*/
Last updated on