summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-07-03 15:49:59 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-04 13:02:48 +0900
commit46b7baa3790e700c941c62431e3e2c06ef5550bb (patch)
treeed46d31b6fba50e7fb0dd73320b586a442dc3331 /src/lib/evas/cache2
parentca5d174568e7ebae829899811d36f48bf0dc9d6e (diff)
evas/cserve2: merge SETOPTS into OPEN
When opening an image, OPEN and SETOPTS were always sent consecutively. Merging these two messages may improve the performance a bit (not measured), but also simplify the whole thing. Note: cserve2 debug tools have not been fixed yet.
Diffstat (limited to 'src/lib/evas/cache2')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index f753233a51..302c65800b 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -259,7 +259,7 @@ _evas_cache_image_entry_new(Evas_Cache2 *cache,
259 if (lo) ie->load_opts = *lo; 259 if (lo) ie->load_opts = *lo;
260 if (ie->file) 260 if (ie->file)
261 { 261 {
262 if (!evas_cserve2_image_load(ie, ie->file, ie->key, &(ie->load_opts))) 262 if (!evas_cserve2_image_load(ie))
263 { 263 {
264 ERR("couldn't load '%s' '%s' with cserve2!", 264 ERR("couldn't load '%s' '%s' with cserve2!",
265 ie->file, ie->key ? ie->key : ""); 265 ie->file, ie->key ? ie->key : "");