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
devs/devilhorns/wayland_egl
Paulo Alcantara 10 years ago committed by Iván Briano
parent dcd25a2d9c
commit 633e29c5a5
  1. 7
      src/bin/evas/evas_cserve2_cache.c

@ -2138,10 +2138,9 @@ cserve2_cache_image_opts_set(Client *client, Msg_Setopts *msg)
fentry = entry->file;
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,
0, NULL, fentry->base.request,
&_load_funcs, entry);
entry->base.request = cserve2_request_add(CSERVE2_REQ_IMAGE_SPEC_LOAD,
0, NULL, fentry->base.request,
&_load_funcs, entry);
return 0;
}

Loading…
Cancel
Save