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
This commit is contained in:
parent
dcd25a2d9c
commit
633e29c5a5
|
@ -2138,10 +2138,9 @@ cserve2_cache_image_opts_set(Client *client, Msg_Setopts *msg)
|
||||||
fentry = entry->file;
|
fentry = entry->file;
|
||||||
fentry->images = eina_list_append(fentry->images, entry);
|
fentry->images = eina_list_append(fentry->images, entry);
|
||||||
|
|
||||||
if ((!entry->opts.scale_dst_w) && (!entry->opts.scale_dst_h))
|
entry->base.request = cserve2_request_add(CSERVE2_REQ_IMAGE_SPEC_LOAD,
|
||||||
entry->base.request = cserve2_request_add(CSERVE2_REQ_IMAGE_SPEC_LOAD,
|
0, NULL, fentry->base.request,
|
||||||
0, NULL, fentry->base.request,
|
&_load_funcs, entry);
|
||||||
&_load_funcs, entry);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue