lv_cache_entry_private.h

API reference for lv_cache_entry_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_cache_entry.h

Functions

lv_cache_entry_set_node_size

 
void lv_cache_entry_set_node_size(lv_cache_entry_t *entry, uint32_t node_size)
Parameters
NameType
entrylv_cache_entry_t *
node_sizeuint32_t

lv_cache_entry_set_cache

 
void lv_cache_entry_set_cache(lv_cache_entry_t *entry, const lv_cache_t *cache)
Parameters

lv_cache_entry_set_flag

 
void lv_cache_entry_set_flag(lv_cache_entry_t *entry, uint8_t flags)
Parameters
NameType
entrylv_cache_entry_t *
flagsuint8_t

Structs

struct

_lv_cache_entry_t

MemberTypeDescription
cacheconst lv_cache_t *
ref_cntint32_t
node_sizeuint32_t
flagsuint8_t
Used by 2 functions
  • lv_nanovg_fbo_cache_release — param entry
  • lv_nanovg_fbo_cache_entry_to_fb — param entry

Macros

LV_CACHE_ENTRY_FLAG_INVALID

 
#define LV_CACHE_ENTRY_FLAG_INVALID (1 << 0) /** Flag indicating if the entry is invalid and can be released */

LV_CACHE_ENTRY_FLAG_DISABLE_DELETE

 
#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*/

LV_CACHE_ENTRY_FLAG_CLASS_CUSTOM

 
#define LV_CACHE_ENTRY_FLAG_CLASS_CUSTOM (1 << 7) /**A custom flag that can be used by the different cache classes*/

Dependencies

How is this guide?

Last updated on

On this page