summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_shm_debug.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-01-01 22:15:24 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-01-02 18:53:56 +0900
commit9e01cf2698d5b24f440d696fd57d469cdc5a6b5f (patch)
tree63d213239f7bc70c0e8a850e5271ffd259ae6ac0 /src/bin/evas/evas_cserve2_shm_debug.c
parentb0530aba4f777352cc3ae9772fb1d22f598679a5 (diff)
evas image async preload - add option to also make header load async
to date if you use async preload we still load the header synchronously and this can be horrible especially with generic loaders. there is no way to farm this off to the preload thread. now there is. youhave to set it as a skip head load option before doing a file_set AND you need to issue a preload ... but now it's possible. @feature
Diffstat (limited to 'src/bin/evas/evas_cserve2_shm_debug.c')
-rw-r--r--src/bin/evas/evas_cserve2_shm_debug.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/bin/evas/evas_cserve2_shm_debug.c b/src/bin/evas/evas_cserve2_shm_debug.c
index f3689869f6..27112180ec 100644
--- a/src/bin/evas/evas_cserve2_shm_debug.c
+++ b/src/bin/evas/evas_cserve2_shm_debug.c
@@ -515,20 +515,20 @@ _images_all_print_full(void)
515 id->valid ? "YES" : "NO"); 515 id->valid ? "YES" : "NO");
516 printf("Shm Path: '%s'\n", 516 printf("Shm Path: '%s'\n",
517 id->shm_id ? _shared_string_get(id->shm_id) : ""); 517 id->shm_id ? _shared_string_get(id->shm_id) : "");
518 printf("LoadOpts: width %d\n", id->opts.w); 518 printf("LoadOpts: width %d\n", id->opts.emile.w);
519 printf(" height %d\n", id->opts.h); 519 printf(" height %d\n", id->opts.emile.h);
520 printf(" degree %d\n", id->opts.degree); 520 printf(" degree %d\n", id->opts.emile.degree);
521 printf(" scale_down_by %d\n", id->opts.scale_down_by); 521 printf(" scale_down_by %d\n", id->opts.emile.scale_down_by);
522 if (!EINA_DBL_CMP(id->opts.dpi, 0.0)) 522 if (!EINA_DBL_CMP(id->opts.emile.dpi, 0.0))
523 printf(" dpi %.2f\n", id->opts.dpi); 523 printf(" dpi %.2f\n", id->opts.emile.dpi);
524 else 524 else
525 printf(" dpi 0\n"); 525 printf(" dpi 0\n");
526 printf(" orientation %s\n", id->opts.orientation ? "YES" : "NO"); 526 printf(" orientation %s\n", id->opts.emile.orientation ? "YES" : "NO");
527 printf(" region (%d,%d) %dx%d\n", 527 printf(" region (%d,%d) %dx%d\n",
528 id->opts.region.x, id->opts.region.y, 528 id->opts.emile.region.x, id->opts.emile.region.y,
529 id->opts.region.w, id->opts.region.h); 529 id->opts.emile.region.w, id->opts.emile.region.h);
530 530
531 switch (id->opts.scale_load.scale_hint) 531 switch (id->opts.emile.scale_load.scale_hint)
532 { 532 {
533 case EVAS_IMAGE_SCALE_HINT_NONE: 533 case EVAS_IMAGE_SCALE_HINT_NONE:
534 scale_hint = "EVAS_IMAGE_SCALE_HINT_NONE"; break; 534 scale_hint = "EVAS_IMAGE_SCALE_HINT_NONE"; break;
@@ -541,14 +541,14 @@ _images_all_print_full(void)
541 } 541 }
542 542
543 printf(" scale src (%d,%d) %dx%d\n", 543 printf(" scale src (%d,%d) %dx%d\n",
544 id->opts.scale_load.src_x, id->opts.scale_load.src_y, 544 id->opts.emile.scale_load.src_x, id->opts.emile.scale_load.src_y,
545 id->opts.scale_load.src_w, id->opts.scale_load.src_h); 545 id->opts.emile.scale_load.src_w, id->opts.emile.scale_load.src_h);
546 printf(" scale dst %dx%d\n", 546 printf(" scale dst %dx%d\n",
547 id->opts.scale_load.dst_w, id->opts.scale_load.dst_h); 547 id->opts.emile.scale_load.dst_w, id->opts.emile.scale_load.dst_h);
548 printf(" scale smooth %s\n", 548 printf(" scale smooth %s\n",
549 id->opts.scale_load.smooth ? "YES" : "NO"); 549 id->opts.emile.scale_load.smooth ? "YES" : "NO");
550 printf(" scale hint %s (%d)\n", 550 printf(" scale hint %s (%d)\n",
551 scale_hint, id->opts.scale_load.scale_hint); 551 scale_hint, id->opts.emile.scale_load.scale_hint);
552 552
553 fd = (File_Data *) 553 fd = (File_Data *)
554 _shared_index_item_get_by_id(sf_files, sizeof(*fd), id->file_id); 554 _shared_index_item_get_by_id(sf_files, sizeof(*fd), id->file_id);