summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@profusion.mobi>2012-12-04 15:40:00 +0000
committerIván Briano <sachieru@gmail.com>2012-12-04 15:40:00 +0000
commit633e29c5a50fa1a1087df88d8d9859c79a83e486 (patch)
tree9d59b94b7238263d1bc75a28bbeece8401d8b319
parentdcd25a2d9cc86e1a7a318b8544753352d205da1f (diff)
evas/cserve2: Re-enable speculative load
I've tested it and I can confirm that it's working fine with the new scalecache support on Cserve2. So, let's use it again. Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi> Patch by: Paulo Alcantara <pcacjr@profusion.mobi> SVN revision: 80177
-rw-r--r--src/bin/evas/evas_cserve2_cache.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/evas/evas_cserve2_cache.c b/src/bin/evas/evas_cserve2_cache.c
index 97c9444..be30619 100644
--- a/src/bin/evas/evas_cserve2_cache.c
+++ b/src/bin/evas/evas_cserve2_cache.c
@@ -2138,10 +2138,9 @@ cserve2_cache_image_opts_set(Client *client, Msg_Setopts *msg)
2138 fentry = entry->file; 2138 fentry = entry->file;
2139 fentry->images = eina_list_append(fentry->images, entry); 2139 fentry->images = eina_list_append(fentry->images, entry);
2140 2140
2141 if ((!entry->opts.scale_dst_w) && (!entry->opts.scale_dst_h)) 2141 entry->base.request = cserve2_request_add(CSERVE2_REQ_IMAGE_SPEC_LOAD,
2142 entry->base.request = cserve2_request_add(CSERVE2_REQ_IMAGE_SPEC_LOAD, 2142 0, NULL, fentry->base.request,
2143 0, NULL, fentry->base.request, 2143 &_load_funcs, entry);
2144 &_load_funcs, entry);
2145 return 0; 2144 return 0;
2146} 2145}
2147 2146