diff options
Diffstat (limited to 'libraries/elementary/src/lib/elm_cache.h')
-rw-r--r-- | libraries/elementary/src/lib/elm_cache.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/elementary/src/lib/elm_cache.h b/libraries/elementary/src/lib/elm_cache.h new file mode 100644 index 0000000..7546f6b --- /dev/null +++ b/libraries/elementary/src/lib/elm_cache.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /** | ||
2 | * @defgroup Caches Caches | ||
3 | * @ingroup Elementary | ||
4 | * | ||
5 | * These are functions which let one fine-tune some cache values for | ||
6 | * Elementary applications, thus allowing for performance adjustments. | ||
7 | * | ||
8 | * @{ | ||
9 | */ | ||
10 | |||
11 | /** | ||
12 | * @brief Flush all caches. | ||
13 | * | ||
14 | * Frees all data that was in cache and is not currently being used to reduce | ||
15 | * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent | ||
16 | * to calling all of the following functions: | ||
17 | * @li edje_file_cache_flush() | ||
18 | * @li edje_collection_cache_flush() | ||
19 | * @li eet_clearcache() | ||
20 | * @li evas_image_cache_flush() | ||
21 | * @li evas_font_cache_flush() | ||
22 | * @li evas_render_dump() | ||
23 | * @note Evas caches are flushed for every canvas associated with a window. | ||
24 | * | ||
25 | * @ingroup Caches | ||
26 | */ | ||
27 | EAPI void elm_cache_all_flush(void); | ||
28 | |||
29 | /** | ||
30 | * @} | ||
31 | */ | ||