summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_cache.h')
-rw-r--r--src/lib/elementary/elm_cache.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_cache.h b/src/lib/elementary/elm_cache.h
new file mode 100644
index 0000000000..d78113efa5
--- /dev/null
+++ b/src/lib/elementary/elm_cache.h
@@ -0,0 +1,31 @@
+/**
+ * @defgroup Elm_Caches Caches
+ * @ingroup Elementary
+ *
+ * These are functions which let one fine-tune some cache values for
+ * Elementary applications, thus allowing for performance adjustments.
+ *
+ * @{
+ */
+
+/**
+ * @brief Flush all caches.
+ *
+ * Frees all data that was in cache and is not currently being used to reduce
+ * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
+ * to calling all of the following functions:
+ * @li edje_file_cache_flush()
+ * @li edje_collection_cache_flush()
+ * @li eet_clearcache()
+ * @li evas_image_cache_flush()
+ * @li evas_font_cache_flush()
+ * @li evas_render_dump()
+ * @note Evas caches are flushed for every canvas associated with a window.
+ *
+ * @ingroup Elm_Caches
+ */
+EAPI void elm_cache_all_flush(void);
+
+/**
+ * @}
+ */