Tizen Native API
6.5
|
Evas has an (optional) module that provides client-server infrastructure to share bitmaps across multiple processes, saving data and processing power.
Be warned that it doesn't work when threaded image preloading is enabled for Evas, though.
Functions | |
Eina_Bool | evas_cserve_want_get (void) |
Eina_Bool | evas_cserve_connected_get (void) |
Eina_Bool | evas_cserve_stats_get (Evas_Cserve_Stats *stats) |
void | evas_cserve_image_cache_contents_clean (Evas_Cserve_Image_Cache *cache) |
void | evas_cserve_disconnect (void) |
Function Documentation
Eina_Bool evas_cserve_connected_get | ( | void | ) |
Retrieves if the system is connected to the server used to share bitmaps.
- Returns:
EINA_TRUE
if it's connected,EINA_FALSE
otherwise.
void evas_cserve_disconnect | ( | void | ) |
Force the system to disconnect from the bitmap caching server.
void evas_cserve_image_cache_contents_clean | ( | Evas_Cserve_Image_Cache * | cache | ) |
Completely discard/clean a given images cache, thus re-setting it.
- Parameters:
-
cache A handle to the given images cache.
Eina_Bool evas_cserve_stats_get | ( | Evas_Cserve_Stats * | stats | ) |
Retrieves statistics from a running bitmap sharing server.
- Parameters:
-
stats pointer to structure to fill with statistics about the bitmap cache server.
- Returns:
EINA_TRUE
ifstats
were filled with data,EINA_FALSE
otherwise (whenstats
is untouched)
Eina_Bool evas_cserve_want_get | ( | void | ) |
Retrieves if the system wants to share bitmaps using the server.
- Returns:
EINA_TRUE
if it wants,EINA_FALSE
otherwise.