Macros | |
#define | INIT_EMP(Tp, Sz, Ce) |
#define | INIT_EMP_BOTH(Tp, Sz, Ce) |
Functions | |
void | _edje_cache_coll_clean (Edje_File *edf) |
void | _edje_cache_coll_flush (Edje_File *edf) |
void | _edje_cache_coll_unref (Edje_File *edf, Edje_Part_Collection *edc) |
Edje_File * | _edje_cache_file_coll_open (const char *file, const char *coll, int *error_ret, Edje_Part_Collection **edc_ret) |
void | _edje_cache_file_unref (Edje_File *edf) |
void | _edje_file_cache_shutdown (void) |
EAPI void | edje_collection_cache_flush (void) |
Clean the collection cache. | |
EAPI int | edje_collection_cache_get (void) |
Return the collection cache size. | |
EAPI void | edje_collection_cache_set (int count) |
Set the collection cache size. | |
EAPI void | edje_file_cache_flush (void) |
Clean the file cache. | |
EAPI int | edje_file_cache_get (void) |
Return the file cache size. | |
EAPI void | edje_file_cache_set (int count) |
Set the file cache size. |
Macro Definition Documentation
#define INIT_EMP | ( | Tp, | |
Sz, | |||
Ce | |||
) |
#define INIT_EMP_BOTH | ( | Tp, | |
Sz, | |||
Ce | |||
) |
Function Documentation
void _edje_cache_coll_clean | ( | Edje_File * | edf | ) |
References _edje_collection_free(), _Edje_File::collection, _Edje_File::collection_cache, and _Edje_Part_Collection::part.
Referenced by _edje_cache_coll_unref(), edje_collection_cache_set(), and edje_edit_group_add().
void _edje_cache_coll_flush | ( | Edje_File * | edf | ) |
References _edje_collection_free(), _Edje_File::collection, _Edje_File::collection_cache, and _Edje_Part_Collection::part.
Referenced by _edje_cache_coll_unref(), _edje_file_free(), and edje_collection_cache_flush().
void _edje_cache_coll_unref | ( | Edje_File * | edf, |
Edje_Part_Collection * | edc | ||
) |
References _edje_cache_coll_clean(), _edje_cache_coll_flush(), _edje_collection_free(), _Edje_File::collection, _Edje_File::collection_cache, _Edje_File::dangling, ERR, _Edje_Part_Collection::part, _Edje_Part_Collection_Directory_Entry::ref, and _Edje_Part_Collection::references.
Referenced by _edje_file_del().
Edje_File* _edje_cache_file_coll_open | ( | const char * | file, |
const char * | coll, | ||
int * | error_ret, | ||
Edje_Part_Collection ** | edc_ret | ||
) |
References _edje_file_free(), _Edje_Part_Collection::checked, _Edje_Part::clip_to_id, _Edje_Part_Dragable::confine_id, _Edje_Part::dragable, EDJE_LOAD_ERROR_UNKNOWN_COLLECTION, ERR, _Edje_Part_Dragable::event_id, _Edje_File::mtime, _Edje_Part_Collection::parts, _Edje_Part_Collection::parts_count, _Edje_File::path, _Edje_File::references, _Edje_Part_Dragable::x, and _Edje_Part_Dragable::y.
Referenced by _edje_file_add(), edje_file_collection_list(), edje_file_data_get(), and edje_file_group_exists().
void _edje_cache_file_unref | ( | Edje_File * | edf | ) |
References _edje_file_free(), _Edje_File::dangling, _Edje_File::path, and _Edje_File::references.
Referenced by _edje_file_add(), _edje_file_del(), edje_file_collection_list(), edje_file_data_get(), and edje_file_group_exists().
void _edje_file_cache_shutdown | ( | void | ) |
References edje_file_cache_flush().
EAPI void edje_collection_cache_flush | ( | void | ) |
Clean the collection cache.
This function cleans the collection cache, but keeps this cache's size to the last value set.
References _edje_cache_coll_flush().
EAPI int edje_collection_cache_get | ( | void | ) |
Return the collection cache size.
- Returns
- The collection cache size, in edje object units. Default is 16.
This function returns the collection cache size set by edje_collection_cache_set().
EAPI void edje_collection_cache_set | ( | int | count | ) |
Set the collection cache size.
- Parameters
-
count The collection cache size, in edje object units. Default is 16.
This function sets the collection cache size. Edje keeps this cache in order to prevent duplicates of edje {collection,group,part} entries in memory. The collection cache size can be retrieved with edje_collection_cache_get().
References _edje_cache_coll_clean().
EAPI void edje_file_cache_flush | ( | void | ) |
Clean the file cache.
This function cleans the file cache entries, but keeps this cache's size to the last value set.
Referenced by _edje_file_cache_shutdown().
EAPI int edje_file_cache_get | ( | void | ) |
Return the file cache size.
- Returns
- The file cache size in edje file units. Default is 16.
This function returns the file cache size set by edje_file_cache_set().
EAPI void edje_file_cache_set | ( | int | count | ) |
Set the file cache size.
- Parameters
-
count The file cache size in edje file units. Default is 16.
This function sets the file cache size. Edje keeps this cache in order to prevent duplicates of edje file entries in memory. The file cache size can be retrieved with edje_file_cache_get().