summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2013-01-23 15:05:24 +0000
committerYakov Goldberg <yakov.goldberg@gmail.com>2013-01-23 15:05:24 +0000
commitf473d6996b4cfe7973efa19116065c5bdacf0f41 (patch)
tree1c11c4826b6fb823c1b1b47f520e6ae807d5c804
parentfaf1579d35c232607a0bfa39b33a185071e843ed (diff)
adding if (obj) before eo_do(obj) to avoid Eo warning messages
"if (obj)" was added automatically before every "eo_do()" call. Later I removed this check from some places, so they are clean. Places, where check is still presenting, could either cause warning, or not. Signed-off-by: Yakov Goldberg <yakov.g@samsung.com> SVN revision: 83181
-rw-r--r--src/bin/about.c6
-rw-r--r--src/bin/filter_object_blur.c7
-rw-r--r--src/bin/filter_object_blur_solid.c7
-rw-r--r--src/bin/filter_object_brightness.c7
-rw-r--r--src/bin/filter_object_brightness_solid.c7
-rw-r--r--src/bin/filter_object_colors.c3
-rw-r--r--src/bin/filter_object_colors_solid.c3
-rw-r--r--src/bin/filter_object_greyscale.c7
-rw-r--r--src/bin/filter_object_greyscale_solid.c7
-rw-r--r--src/bin/filter_object_invert.c7
-rw-r--r--src/bin/filter_object_invert_solid.c7
-rw-r--r--src/bin/filter_object_sepia.c7
-rw-r--r--src/bin/filter_object_sepia_solid.c7
-rw-r--r--src/bin/image_blend_border.c6
-rw-r--r--src/bin/image_blend_border_recolor.c6
-rw-r--r--src/bin/image_blend_fade_pow2_unscaled.c9
-rw-r--r--src/bin/image_blend_fade_unscaled.c9
-rw-r--r--src/bin/image_blend_nearest_same_scaled.c6
-rw-r--r--src/bin/image_blend_nearest_scaled.c6
-rw-r--r--src/bin/image_blend_nearest_solid_same_scaled.c6
-rw-r--r--src/bin/image_blend_nearest_solid_scaled.c6
-rw-r--r--src/bin/image_blend_occlude1.c21
-rw-r--r--src/bin/image_blend_occlude1_few.c21
-rw-r--r--src/bin/image_blend_occlude1_many.c21
-rw-r--r--src/bin/image_blend_occlude1_very_many.c21
-rw-r--r--src/bin/image_blend_occlude2.c21
-rw-r--r--src/bin/image_blend_occlude2_few.c21
-rw-r--r--src/bin/image_blend_occlude2_many.c21
-rw-r--r--src/bin/image_blend_occlude2_very_many.c21
-rw-r--r--src/bin/image_blend_occlude3.c21
-rw-r--r--src/bin/image_blend_occlude3_few.c21
-rw-r--r--src/bin/image_blend_occlude3_many.c21
-rw-r--r--src/bin/image_blend_occlude3_very_many.c21
-rw-r--r--src/bin/image_blend_smooth_same_scaled.c6
-rw-r--r--src/bin/image_blend_smooth_scaled.c6
-rw-r--r--src/bin/image_blend_smooth_solid_same_scaled.c6
-rw-r--r--src/bin/image_blend_smooth_solid_scaled.c6
-rw-r--r--src/bin/image_blend_solid_border.c6
-rw-r--r--src/bin/image_blend_solid_fade_pow2_unscaled.c9
-rw-r--r--src/bin/image_blend_solid_fade_unscaled.c9
-rw-r--r--src/bin/image_blend_solid_middle_border.c6
-rw-r--r--src/bin/image_blend_solid_middle_unscaled.c6
-rw-r--r--src/bin/image_blend_solid_unscaled.c6
-rw-r--r--src/bin/image_blend_unscaled.c6
-rw-r--r--src/bin/image_crossfade.c9
-rw-r--r--src/bin/image_data_argb.c9
-rw-r--r--src/bin/image_data_argb_alpha.c9
-rw-r--r--src/bin/image_data_ycbcr601pl.c9
-rw-r--r--src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c9
-rw-r--r--src/bin/image_data_ycbcr601pl_map_solid_rotate.c9
-rw-r--r--src/bin/image_data_ycbcr601pl_wide_stride.c16
-rw-r--r--src/bin/image_map_3d_1.c15
-rw-r--r--src/bin/image_map_3d_2.c15
-rw-r--r--src/bin/image_map_3d_3.c12
-rw-r--r--src/bin/image_map_3d_4.c12
-rw-r--r--src/bin/image_map_3d_5.c15
-rw-r--r--src/bin/image_map_3d_6.c15
-rw-r--r--src/bin/image_map_3d_flow.c24
-rw-r--r--src/bin/image_map_color_alpha_nearest_rotate.c6
-rw-r--r--src/bin/image_map_color_alpha_nearest_solid_rotate.c6
-rw-r--r--src/bin/image_map_color_alpha_rotate.c6
-rw-r--r--src/bin/image_map_color_alpha_solid_rotate.c6
-rw-r--r--src/bin/image_map_color_nearest_rotate.c6
-rw-r--r--src/bin/image_map_color_nearest_solid_rotate.c6
-rw-r--r--src/bin/image_map_color_rotate.c6
-rw-r--r--src/bin/image_map_color_solid_rotate.c6
-rw-r--r--src/bin/image_map_nearest_rotate.c6
-rw-r--r--src/bin/image_map_nearest_solid_rotate.c6
-rw-r--r--src/bin/image_map_rotate.c6
-rw-r--r--src/bin/image_map_solid_rotate.c6
-rw-r--r--src/bin/image_mask.c5
-rw-r--r--src/bin/image_mask_10.c9
-rw-r--r--src/bin/image_mask_11.c10
-rw-r--r--src/bin/image_mask_12.c16
-rw-r--r--src/bin/image_mask_13.c10
-rw-r--r--src/bin/image_mask_14.c9
-rw-r--r--src/bin/image_mask_15.c9
-rw-r--r--src/bin/image_mask_2.c11
-rw-r--r--src/bin/image_mask_3.c11
-rw-r--r--src/bin/image_mask_4.c7
-rw-r--r--src/bin/image_mask_5.c7
-rw-r--r--src/bin/image_mask_6.c7
-rw-r--r--src/bin/image_mask_7.c10
-rw-r--r--src/bin/image_mask_8.c7
-rw-r--r--src/bin/image_mask_9.c10
-rw-r--r--src/bin/image_quality_scale.c4
-rw-r--r--src/bin/main.c3
-rw-r--r--src/bin/poly_blend.c12
-rw-r--r--src/bin/proxy_image.c5
-rw-r--r--src/bin/proxy_image_offscreen.c5
-rw-r--r--src/bin/proxy_text_fixed.c6
-rw-r--r--src/bin/proxy_text_random.c34
-rw-r--r--src/bin/rect_blend.c2
-rw-r--r--src/bin/rect_blend_few.c2
-rw-r--r--src/bin/rect_blend_pow2.c2
-rw-r--r--src/bin/rect_blend_pow2_few.c2
-rw-r--r--src/bin/rect_solid.c2
-rw-r--r--src/bin/rect_solid_few.c2
-rw-r--r--src/bin/text_basic.c3
-rw-r--r--src/bin/text_change.c4
-rw-r--r--src/bin/text_styles.c3
-rw-r--r--src/bin/text_styles_different_strings.c4
-rw-r--r--src/bin/textblock_auto_align.c21
-rw-r--r--src/bin/textblock_basic.c18
-rw-r--r--src/bin/textblock_intl.c21
-rw-r--r--src/bin/textblock_text_append.c18
-rw-r--r--src/bin/ui.c207
-rw-r--r--src/bin/widgets_file_icons.c14
-rw-r--r--src/bin/widgets_file_icons_2.c22
-rw-r--r--src/bin/widgets_file_icons_2_grouped.c33
-rw-r--r--src/bin/widgets_file_icons_2_same.c14
-rw-r--r--src/bin/widgets_file_icons_2_same_grouped.c14
-rw-r--r--src/bin/widgets_file_icons_3.c14
-rw-r--r--src/bin/widgets_file_icons_4.c12
-rw-r--r--src/bin/widgets_list_1.c28
-rw-r--r--src/bin/widgets_list_1_grouped.c28
-rw-r--r--src/bin/widgets_list_2.c28
-rw-r--r--src/bin/widgets_list_2_grouped.c28
-rw-r--r--src/bin/widgets_list_3.c44
-rw-r--r--src/bin/widgets_list_3_grouped.c28
-rw-r--r--src/bin/widgets_list_4.c44
-rw-r--r--src/bin/widgets_list_4_grouped.c46
122 files changed, 1047 insertions, 578 deletions
diff --git a/src/bin/about.c b/src/bin/about.c
index 084bd41..1023b9a 100644
--- a/src/bin/about.c
+++ b/src/bin/about.c
@@ -9,7 +9,8 @@ _setup(void)
9 Evas_Textblock_Style *st; 9 Evas_Textblock_Style *st;
10 10
11 o = eo_add(EVAS_OBJ_TEXTBLOCK_CLASS, evas); 11 o = eo_add(EVAS_OBJ_TEXTBLOCK_CLASS, evas);
12 eo_do(o, evas_obj_position_set(10, 40), 12 if (o)
13 eo_do(o, evas_obj_position_set(10, 40),
13 evas_obj_size_set(win_w - 20, win_h - 50), 14 evas_obj_size_set(win_w - 20, win_h - 50),
14 evas_obj_visibility_set(EINA_TRUE)); 15 evas_obj_visibility_set(EINA_TRUE));
15 st = evas_textblock_style_new(); 16 st = evas_textblock_style_new();
@@ -21,7 +22,8 @@ _setup(void)
21 "p='+ font=Vera font_size=10 align=left'" 22 "p='+ font=Vera font_size=10 align=left'"
22 "/p='- \n \n'" 23 "/p='- \n \n'"
23 ); 24 );
24 eo_do(o, evas_obj_textblock_style_set(st), 25 if (o)
26 eo_do(o, evas_obj_textblock_style_set(st),
25 evas_obj_textblock_clear(), 27 evas_obj_textblock_clear(),
26 evas_obj_textblock_text_markup_set 28 evas_obj_textblock_text_markup_set
27 ("<center>" 29 ("<center>"
diff --git a/src/bin/filter_object_blur.c b/src/bin/filter_object_blur.c
index 27f6e2a..65cb623 100644
--- a/src/bin/filter_object_blur.c
+++ b/src/bin/filter_object_blur.c
@@ -25,12 +25,14 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_BLUR); 32 evas_object_filter_set(o, EVAS_FILTER_BLUR);
32 evas_object_filter_param_int_set(o, "radius", 3); 33 evas_object_filter_param_int_set(o, "radius", 3);
33 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 34 if (o)
35 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
34 src = o; 36 src = o;
35 o_images[i] = src; 37 o_images[i] = src;
36 } 38 }
@@ -58,6 +60,7 @@ static void _loop(double t, int f)
58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
59 y = (win_h / 2) - (h / 2); 61 y = (win_h / 2) - (h / 2);
60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
63 if (o_images[i])
61 eo_do(o_images[i], evas_obj_position_set(x, y)); 64 eo_do(o_images[i], evas_obj_position_set(x, y));
62 } 65 }
63 FPS_STD(NAME); 66 FPS_STD(NAME);
diff --git a/src/bin/filter_object_blur_solid.c b/src/bin/filter_object_blur_solid.c
index c2e718e..4e08044 100644
--- a/src/bin/filter_object_blur_solid.c
+++ b/src/bin/filter_object_blur_solid.c
@@ -25,12 +25,14 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_BLUR); 32 evas_object_filter_set(o, EVAS_FILTER_BLUR);
32 evas_object_filter_param_int_set(o, "radius", 5); 33 evas_object_filter_param_int_set(o, "radius", 5);
33 eo_do(o, evas_obj_layer_set(1), 34 if (o)
35 eo_do(o, evas_obj_layer_set(1),
34 evas_obj_visibility_set(EINA_TRUE)); 36 evas_obj_visibility_set(EINA_TRUE));
35 src = o; 37 src = o;
36 o_images[i] = src; 38 o_images[i] = src;
@@ -59,6 +61,7 @@ static void _loop(double t, int f)
59 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 61 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
60 y = (win_h / 2) - (h / 2); 62 y = (win_h / 2) - (h / 2);
61 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 63 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
64 if (o_images[i])
62 eo_do(o_images[i], evas_obj_position_set(x, y)); 65 eo_do(o_images[i], evas_obj_position_set(x, y));
63 } 66 }
64 FPS_STD(NAME); 67 FPS_STD(NAME);
diff --git a/src/bin/filter_object_brightness.c b/src/bin/filter_object_brightness.c
index 4606200..8bd0dd0 100644
--- a/src/bin/filter_object_brightness.c
+++ b/src/bin/filter_object_brightness.c
@@ -25,12 +25,14 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_BRIGHTNESS); 32 evas_object_filter_set(o, EVAS_FILTER_BRIGHTNESS);
32 evas_object_filter_param_float_set(o, "adjust", i / (double)OBNUM); 33 evas_object_filter_param_float_set(o, "adjust", i / (double)OBNUM);
33 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 34 if (o)
35 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
34 src = o; 36 src = o;
35 o_images[i] = src; 37 o_images[i] = src;
36 } 38 }
@@ -58,6 +60,7 @@ static void _loop(double t, int f)
58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
59 y = (win_h / 2) - (h / 2); 61 y = (win_h / 2) - (h / 2);
60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
63 if (o_images[i])
61 eo_do(o_images[i], evas_obj_position_set(x, y)); 64 eo_do(o_images[i], evas_obj_position_set(x, y));
62 evas_object_filter_param_float_set(o_images[i], "adjust", 65 evas_object_filter_param_float_set(o_images[i], "adjust",
63 ((i + f) % OBNUM) / (2.0 * OBNUM) - 1); 66 ((i + f) % OBNUM) / (2.0 * OBNUM) - 1);
diff --git a/src/bin/filter_object_brightness_solid.c b/src/bin/filter_object_brightness_solid.c
index 43fd173..ef10d3d 100644
--- a/src/bin/filter_object_brightness_solid.c
+++ b/src/bin/filter_object_brightness_solid.c
@@ -25,13 +25,15 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_BRIGHTNESS); 32 evas_object_filter_set(o, EVAS_FILTER_BRIGHTNESS);
32 evas_object_filter_param_float_set(o, "adjust", 33 evas_object_filter_param_float_set(o, "adjust",
33 i / (2.0 * OBNUM) - 1.0); 34 i / (2.0 * OBNUM) - 1.0);
34 eo_do(o, evas_obj_layer_set(1), 35 if (o)
36 eo_do(o, evas_obj_layer_set(1),
35 evas_obj_visibility_set(EINA_TRUE)); 37 evas_obj_visibility_set(EINA_TRUE));
36 src = o; 38 src = o;
37 o_images[i] = src; 39 o_images[i] = src;
@@ -60,6 +62,7 @@ static void _loop(double t, int f)
60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 62 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
61 y = (win_h / 2) - (h / 2); 63 y = (win_h / 2) - (h / 2);
62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 64 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
65 if (o_images[i])
63 eo_do(o_images[i], evas_obj_position_set(x, y)); 66 eo_do(o_images[i], evas_obj_position_set(x, y));
64 evas_object_filter_param_float_set(o_images[i], "adjust", 67 evas_object_filter_param_float_set(o_images[i], "adjust",
65 (((i + f) % OBNUM) * 2.0) / (OBNUM) - 1.0); 68 (((i + f) % OBNUM) * 2.0) / (OBNUM) - 1.0);
diff --git a/src/bin/filter_object_colors.c b/src/bin/filter_object_colors.c
index f05c3cc..ccc6c1b 100644
--- a/src/bin/filter_object_colors.c
+++ b/src/bin/filter_object_colors.c
@@ -30,10 +30,12 @@ static void _setup(void)
30 for (i = 0; i < OBNUM; i++) 30 for (i = 0; i < OBNUM; i++)
31 { 31 {
32 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 32 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
33 if (o)
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 34 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
34 evas_obj_image_fill_set(0, 0, 120, 160), 35 evas_obj_image_fill_set(0, 0, 120, 160),
35 evas_obj_size_set(120, 160)); 36 evas_obj_size_set(120, 160));
36 evas_object_filter_set(o, filters[i % 3]); 37 evas_object_filter_set(o, filters[i % 3]);
38 if (o)
37 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 39 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
38 src = o; 40 src = o;
39 o_images[i] = src; 41 o_images[i] = src;
@@ -62,6 +64,7 @@ static void _loop(double t, int f)
62 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 64 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
63 y = (win_h / 2) - (h / 2); 65 y = (win_h / 2) - (h / 2);
64 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 66 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
67 if (o_images[i])
65 eo_do(o_images[i], evas_obj_position_set(x, y)); 68 eo_do(o_images[i], evas_obj_position_set(x, y));
66 } 69 }
67 FPS_STD(NAME); 70 FPS_STD(NAME);
diff --git a/src/bin/filter_object_colors_solid.c b/src/bin/filter_object_colors_solid.c
index 95d18f8..03b1714 100644
--- a/src/bin/filter_object_colors_solid.c
+++ b/src/bin/filter_object_colors_solid.c
@@ -30,10 +30,12 @@ static void _setup(void)
30 for (i = 0; i < OBNUM; i++) 30 for (i = 0; i < OBNUM; i++)
31 { 31 {
32 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 32 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
33 if (o)
33 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 34 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
34 evas_obj_image_fill_set(0, 0, 120, 160), 35 evas_obj_image_fill_set(0, 0, 120, 160),
35 evas_obj_size_set(120, 160)); 36 evas_obj_size_set(120, 160));
36 evas_object_filter_set(o, filters[i % 3]); 37 evas_object_filter_set(o, filters[i % 3]);
38 if (o)
37 eo_do(o, evas_obj_layer_set(1), 39 eo_do(o, evas_obj_layer_set(1),
38 evas_obj_visibility_set(EINA_TRUE)); 40 evas_obj_visibility_set(EINA_TRUE));
39 src = o; 41 src = o;
@@ -63,6 +65,7 @@ static void _loop(double t, int f)
63 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 65 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
64 y = (win_h / 2) - (h / 2); 66 y = (win_h / 2) - (h / 2);
65 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 67 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
68 if (o_images[i])
66 eo_do(o_images[i], evas_obj_position_set(x, y)); 69 eo_do(o_images[i], evas_obj_position_set(x, y));
67 } 70 }
68 FPS_STD(NAME); 71 FPS_STD(NAME);
diff --git a/src/bin/filter_object_greyscale.c b/src/bin/filter_object_greyscale.c
index 749f89c..70d1021 100644
--- a/src/bin/filter_object_greyscale.c
+++ b/src/bin/filter_object_greyscale.c
@@ -25,11 +25,13 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_GREYSCALE); 32 evas_object_filter_set(o, EVAS_FILTER_GREYSCALE);
32 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 33 if (o)
34 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
33 src = o; 35 src = o;
34 o_images[i] = src; 36 o_images[i] = src;
35 } 37 }
@@ -57,6 +59,7 @@ static void _loop(double t, int f)
57 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 59 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
58 y = (win_h / 2) - (h / 2); 60 y = (win_h / 2) - (h / 2);
59 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 61 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
62 if (o_images[i])
60 eo_do(o_images[i], evas_obj_position_set(x, y)); 63 eo_do(o_images[i], evas_obj_position_set(x, y));
61 } 64 }
62 FPS_STD(NAME); 65 FPS_STD(NAME);
diff --git a/src/bin/filter_object_greyscale_solid.c b/src/bin/filter_object_greyscale_solid.c
index b2695d5..11c7014 100644
--- a/src/bin/filter_object_greyscale_solid.c
+++ b/src/bin/filter_object_greyscale_solid.c
@@ -25,11 +25,13 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_GREYSCALE); 32 evas_object_filter_set(o, EVAS_FILTER_GREYSCALE);
32 eo_do(o, evas_obj_layer_set(1), 33 if (o)
34 eo_do(o, evas_obj_layer_set(1),
33 evas_obj_visibility_set(EINA_TRUE)); 35 evas_obj_visibility_set(EINA_TRUE));
34 src = o; 36 src = o;
35 o_images[i] = src; 37 o_images[i] = src;
@@ -58,6 +60,7 @@ static void _loop(double t, int f)
58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
59 y = (win_h / 2) - (h / 2); 61 y = (win_h / 2) - (h / 2);
60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
63 if (o_images[i])
61 eo_do(o_images[i], evas_obj_position_set(x, y)); 64 eo_do(o_images[i], evas_obj_position_set(x, y));
62 } 65 }
63 FPS_STD(NAME); 66 FPS_STD(NAME);
diff --git a/src/bin/filter_object_invert.c b/src/bin/filter_object_invert.c
index 4f3c0a1..85ccce3 100644
--- a/src/bin/filter_object_invert.c
+++ b/src/bin/filter_object_invert.c
@@ -25,11 +25,13 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_INVERT); 32 evas_object_filter_set(o, EVAS_FILTER_INVERT);
32 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 33 if (o)
34 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
33 src = o; 35 src = o;
34 o_images[i] = src; 36 o_images[i] = src;
35 } 37 }
@@ -57,6 +59,7 @@ static void _loop(double t, int f)
57 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 59 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
58 y = (win_h / 2) - (h / 2); 60 y = (win_h / 2) - (h / 2);
59 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 61 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
62 if (o_images[i])
60 eo_do(o_images[i], evas_obj_position_set(x, y)); 63 eo_do(o_images[i], evas_obj_position_set(x, y));
61 } 64 }
62 FPS_STD(NAME); 65 FPS_STD(NAME);
diff --git a/src/bin/filter_object_invert_solid.c b/src/bin/filter_object_invert_solid.c
index a67a4ae..f6a9afe 100644
--- a/src/bin/filter_object_invert_solid.c
+++ b/src/bin/filter_object_invert_solid.c
@@ -25,11 +25,13 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_INVERT); 32 evas_object_filter_set(o, EVAS_FILTER_INVERT);
32 eo_do(o, evas_obj_layer_set(1), 33 if (o)
34 eo_do(o, evas_obj_layer_set(1),
33 evas_obj_visibility_set(EINA_TRUE)); 35 evas_obj_visibility_set(EINA_TRUE));
34 src = o; 36 src = o;
35 o_images[i] = src; 37 o_images[i] = src;
@@ -58,6 +60,7 @@ static void _loop(double t, int f)
58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
59 y = (win_h / 2) - (h / 2); 61 y = (win_h / 2) - (h / 2);
60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
63 if (o_images[i])
61 eo_do(o_images[i], evas_obj_position_set(x, y)); 64 eo_do(o_images[i], evas_obj_position_set(x, y));
62 } 65 }
63 FPS_STD(NAME); 66 FPS_STD(NAME);
diff --git a/src/bin/filter_object_sepia.c b/src/bin/filter_object_sepia.c
index 01a6239..4e825b3 100644
--- a/src/bin/filter_object_sepia.c
+++ b/src/bin/filter_object_sepia.c
@@ -25,11 +25,13 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_SEPIA); 32 evas_object_filter_set(o, EVAS_FILTER_SEPIA);
32 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 33 if (o)
34 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
33 src = o; 35 src = o;
34 o_images[i] = src; 36 o_images[i] = src;
35 } 37 }
@@ -57,6 +59,7 @@ static void _loop(double t, int f)
57 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 59 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
58 y = (win_h / 2) - (h / 2); 60 y = (win_h / 2) - (h / 2);
59 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 61 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
62 if (o_images[i])
60 eo_do(o_images[i], evas_obj_position_set(x, y)); 63 eo_do(o_images[i], evas_obj_position_set(x, y));
61 } 64 }
62 FPS_STD(NAME); 65 FPS_STD(NAME);
diff --git a/src/bin/filter_object_sepia_solid.c b/src/bin/filter_object_sepia_solid.c
index 3e7c20c..0987dcb 100644
--- a/src/bin/filter_object_sepia_solid.c
+++ b/src/bin/filter_object_sepia_solid.c
@@ -25,11 +25,13 @@ static void _setup(void)
25 for (i = 0; i < OBNUM; i++) 25 for (i = 0; i < OBNUM; i++)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160)); 31 evas_obj_size_set(120, 160));
31 evas_object_filter_set(o, EVAS_FILTER_SEPIA); 32 evas_object_filter_set(o, EVAS_FILTER_SEPIA);
32 eo_do(o, evas_obj_layer_set(1), 33 if (o)
34 eo_do(o, evas_obj_layer_set(1),
33 evas_obj_visibility_set(EINA_TRUE)); 35 evas_obj_visibility_set(EINA_TRUE));
34 src = o; 36 src = o;
35 o_images[i] = src; 37 o_images[i] = src;
@@ -58,6 +60,7 @@ static void _loop(double t, int f)
58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
59 y = (win_h / 2) - (h / 2); 61 y = (win_h / 2) - (h / 2);
60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
63 if (o_images[i])
61 eo_do(o_images[i], evas_obj_position_set(x, y)); 64 eo_do(o_images[i], evas_obj_position_set(x, y));
62 } 65 }
63 FPS_STD(NAME); 66 FPS_STD(NAME);
diff --git a/src/bin/image_blend_border.c b/src/bin/image_blend_border.c
index b5e683d..103c70c 100644
--- a/src/bin/image_blend_border.c
+++ b/src/bin/image_blend_border.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("bar.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("bar.png"), NULL),
29 evas_obj_image_border_set(6, 6, 6, 6), 30 evas_obj_image_border_set(6, 6, 6, 6),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_border_recolor.c b/src/bin/image_blend_border_recolor.c
index b05d263..3b03606 100644
--- a/src/bin/image_blend_border_recolor.c
+++ b/src/bin/image_blend_border_recolor.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("pan.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("pan.png"), NULL),
29 evas_obj_color_set(64, 64, 64, 255), 30 evas_obj_color_set(64, 64, 64, 255),
30 evas_obj_image_border_set(3, 3, 3, 3), 31 evas_obj_image_border_set(3, 3, 3, 3),
31 evas_obj_visibility_set(EINA_TRUE)); 32 evas_obj_visibility_set(EINA_TRUE));
@@ -55,7 +56,8 @@ static void _loop(double t, int f)
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 56 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2); 57 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 58 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i], evas_obj_position_set(x, y), 59 if (o_images[i])
60 eo_do(o_images[i], evas_obj_position_set(x, y),
59 evas_obj_size_set(w, h), 61 evas_obj_size_set(w, h),
60 evas_obj_image_fill_set(0, 0, w, h)); 62 evas_obj_image_fill_set(0, 0, w, h));
61 } 63 }
diff --git a/src/bin/image_blend_fade_pow2_unscaled.c b/src/bin/image_blend_fade_pow2_unscaled.c
index c5d649b..c061c96 100644
--- a/src/bin/image_blend_fade_pow2_unscaled.c
+++ b/src/bin/image_blend_fade_pow2_unscaled.c
@@ -27,12 +27,14 @@ static void _setup(void)
27 27
28 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 28 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
29 o_images[i] = o; 29 o_images[i] = o;
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 30 if (o)
31 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
31 evas_obj_image_fill_set(0, 0, 120, 160), 32 evas_obj_image_fill_set(0, 0, 120, 160),
32 evas_obj_size_set(120, 160)); 33 evas_obj_size_set(120, 160));
33 a = 256 - (1 << ((rnd() % 8) + 1)); 34 a = 256 - (1 << ((rnd() % 8) + 1));
34 if (a < 128) a = 128; 35 if (a < 128) a = 128;
35 eo_do(o, evas_obj_color_set(a, a, a, a), 36 if (o)
37 eo_do(o, evas_obj_color_set(a, a, a, a),
36 evas_obj_visibility_set(EINA_TRUE)); 38 evas_obj_visibility_set(EINA_TRUE));
37 } 39 }
38 done = 0; 40 done = 0;
@@ -58,7 +60,8 @@ static void _loop(double t, int f)
58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
59 y = (win_h / 2) - (h / 2); 61 y = (win_h / 2) - (h / 2);
60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
61 eo_do(o_images[i], evas_obj_position_set(x, y)); 63 if (o_images[i])
64 eo_do(o_images[i], evas_obj_position_set(x, y));
62 } 65 }
63 FPS_STD(NAME); 66 FPS_STD(NAME);
64} 67}
diff --git a/src/bin/image_blend_fade_unscaled.c b/src/bin/image_blend_fade_unscaled.c
index 1361c53..b489238 100644
--- a/src/bin/image_blend_fade_unscaled.c
+++ b/src/bin/image_blend_fade_unscaled.c
@@ -26,11 +26,13 @@ static void _setup(void)
26 int a; 26 int a;
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160)); 32 evas_obj_size_set(120, 160));
32 a = rnd()&0xff; 33 a = rnd()&0xff;
33 eo_do(o, evas_obj_color_set(a, a, a, a), 34 if (o)
35 eo_do(o, evas_obj_color_set(a, a, a, a),
34 evas_obj_visibility_set(EINA_TRUE)); 36 evas_obj_visibility_set(EINA_TRUE));
35 } 37 }
36 done = 0; 38 done = 0;
@@ -56,7 +58,8 @@ static void _loop(double t, int f)
56 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
57 y = (win_h / 2) - (h / 2); 59 y = (win_h / 2) - (h / 2);
58 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
59 eo_do(o_images[i], evas_obj_position_set(x, y)); 61 if (o_images[i])
62 eo_do(o_images[i], evas_obj_position_set(x, y));
60 } 63 }
61 FPS_STD(NAME); 64 FPS_STD(NAME);
62} 65}
diff --git a/src/bin/image_blend_nearest_same_scaled.c b/src/bin/image_blend_nearest_same_scaled.c
index f2bad8b..bc5903a 100644
--- a/src/bin/image_blend_nearest_same_scaled.c
+++ b/src/bin/image_blend_nearest_same_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_smooth_scale_set(0), 30 evas_obj_image_smooth_scale_set(0),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_nearest_scaled.c b/src/bin/image_blend_nearest_scaled.c
index 951645e..0faf59f 100644
--- a/src/bin/image_blend_nearest_scaled.c
+++ b/src/bin/image_blend_nearest_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_smooth_scale_set(0), 30 evas_obj_image_smooth_scale_set(0),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_nearest_solid_same_scaled.c b/src/bin/image_blend_nearest_solid_same_scaled.c
index 21cb4be..3c46fbc 100644
--- a/src/bin/image_blend_nearest_solid_same_scaled.c
+++ b/src/bin/image_blend_nearest_solid_same_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_smooth_scale_set(0), 30 evas_obj_image_smooth_scale_set(0),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_nearest_solid_scaled.c b/src/bin/image_blend_nearest_solid_scaled.c
index d0af1a5..5196aff 100644
--- a/src/bin/image_blend_nearest_solid_scaled.c
+++ b/src/bin/image_blend_nearest_solid_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_smooth_scale_set(0), 30 evas_obj_image_smooth_scale_set(0),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_occlude1.c b/src/bin/image_blend_occlude1.c
index cefe973..f28a980 100644
--- a/src/bin/image_blend_occlude1.c
+++ b/src/bin/image_blend_occlude1.c
@@ -27,19 +27,25 @@ static void _setup(void)
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 if (i < (OBNUM / 2)) 29 if (i < (OBNUM / 2))
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 30 {
31 if (o)
32 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
33 }
31 else 34 else
32 { 35 {
33 Evas_Coord x, y; 36 Evas_Coord x, y;
34 37
35 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 38 if (o)
39 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
36 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
37 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
38 eo_do(o, evas_obj_position_set(x, y)); 42 if (o)
43 eo_do(o, evas_obj_position_set(x, y));
39 } 44 }
40 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 45 if (o)
41 evas_obj_size_set(120, 160), 46 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
42 evas_obj_visibility_set(EINA_TRUE)); 47 evas_obj_size_set(120, 160),
48 evas_obj_visibility_set(EINA_TRUE));
43 } 49 }
44 done = 0; 50 done = 0;
45} 51}
@@ -66,7 +72,8 @@ static void _loop(double t, int f)
66 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 72 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
67 y = (win_h / 2) - (h / 2); 73 y = (win_h / 2) - (h / 2);
68 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 74 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
69 eo_do(o_images[i], evas_obj_position_set(x, y)); 75 if (o_images[i])
76 eo_do(o_images[i], evas_obj_position_set(x, y));
70 } 77 }
71 } 78 }
72 FPS_STD(NAME); 79 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude1_few.c b/src/bin/image_blend_occlude1_few.c
index 830e181..c3f9ab8 100644
--- a/src/bin/image_blend_occlude1_few.c
+++ b/src/bin/image_blend_occlude1_few.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i < (OBNUM / 2)) 32 if (i < (OBNUM / 2))
33 eo_do(o, evas_obj_image_file_set(PACKAGE_DATA_DIR"/data/logo.png", NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(PACKAGE_DATA_DIR"/data/logo.png", NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(PACKAGE_DATA_DIR"/data/image.png", NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(PACKAGE_DATA_DIR"/data/image.png", NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude1_many.c b/src/bin/image_blend_occlude1_many.c
index 1953967..2a396d9 100644
--- a/src/bin/image_blend_occlude1_many.c
+++ b/src/bin/image_blend_occlude1_many.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i < (OBNUM / 2)) 32 if (i < (OBNUM / 2))
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude1_very_many.c b/src/bin/image_blend_occlude1_very_many.c
index 856d5a5..09428df 100644
--- a/src/bin/image_blend_occlude1_very_many.c
+++ b/src/bin/image_blend_occlude1_very_many.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i < (OBNUM / 2)) 32 if (i < (OBNUM / 2))
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude2.c b/src/bin/image_blend_occlude2.c
index 578f030..95fe06c 100644
--- a/src/bin/image_blend_occlude2.c
+++ b/src/bin/image_blend_occlude2.c
@@ -27,19 +27,25 @@ static void _setup(void)
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 if (i & 0x1) 29 if (i & 0x1)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 30 {
31 if (o)
32 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
33 }
31 else 34 else
32 { 35 {
33 Evas_Coord x, y; 36 Evas_Coord x, y;
34 37
35 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 38 if (o)
39 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
36 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
37 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
38 eo_do(o, evas_obj_position_set(x, y)); 42 if (o)
43 eo_do(o, evas_obj_position_set(x, y));
39 } 44 }
40 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 45 if (o)
41 evas_obj_size_set(120, 160), 46 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
42 evas_obj_visibility_set(EINA_TRUE)); 47 evas_obj_size_set(120, 160),
48 evas_obj_visibility_set(EINA_TRUE));
43 } 49 }
44 done = 0; 50 done = 0;
45} 51}
@@ -66,7 +72,8 @@ static void _loop(double t, int f)
66 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 72 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
67 y = (win_h / 2) - (h / 2); 73 y = (win_h / 2) - (h / 2);
68 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 74 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
69 eo_do(o_images[i], evas_obj_position_set(x, y)); 75 if (o_images[i])
76 eo_do(o_images[i], evas_obj_position_set(x, y));
70 } 77 }
71 } 78 }
72 FPS_STD(NAME); 79 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude2_few.c b/src/bin/image_blend_occlude2_few.c
index d0eb4bd..7086a38 100644
--- a/src/bin/image_blend_occlude2_few.c
+++ b/src/bin/image_blend_occlude2_few.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i & 0x1) 32 if (i & 0x1)
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude2_many.c b/src/bin/image_blend_occlude2_many.c
index 405f5ca..ed7bee5 100644
--- a/src/bin/image_blend_occlude2_many.c
+++ b/src/bin/image_blend_occlude2_many.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i & 0x1) 32 if (i & 0x1)
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude2_very_many.c b/src/bin/image_blend_occlude2_very_many.c
index d15445a..7d91162 100644
--- a/src/bin/image_blend_occlude2_very_many.c
+++ b/src/bin/image_blend_occlude2_very_many.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i & 0x1) 32 if (i & 0x1)
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude3.c b/src/bin/image_blend_occlude3.c
index db7edc7..c464d80 100644
--- a/src/bin/image_blend_occlude3.c
+++ b/src/bin/image_blend_occlude3.c
@@ -27,19 +27,25 @@ static void _setup(void)
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 if (i > (OBNUM / 2)) 29 if (i > (OBNUM / 2))
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 30 {
31 if (o)
32 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
33 }
31 else 34 else
32 { 35 {
33 Evas_Coord x, y; 36 Evas_Coord x, y;
34 37
35 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 38 if (o)
39 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
36 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 40 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
37 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 41 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
38 eo_do(o, evas_obj_position_set(x, y)); 42 if (o)
43 eo_do(o, evas_obj_position_set(x, y));
39 } 44 }
40 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 45 if (o)
41 evas_obj_size_set(120, 160), 46 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
42 evas_obj_visibility_set(EINA_TRUE)); 47 evas_obj_size_set(120, 160),
48 evas_obj_visibility_set(EINA_TRUE));
43 } 49 }
44 done = 0; 50 done = 0;
45} 51}
@@ -66,7 +72,8 @@ static void _loop(double t, int f)
66 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 72 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
67 y = (win_h / 2) - (h / 2); 73 y = (win_h / 2) - (h / 2);
68 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 74 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
69 eo_do(o_images[i], evas_obj_position_set(x, y)); 75 if (o_images[i])
76 eo_do(o_images[i], evas_obj_position_set(x, y));
70 } 77 }
71 } 78 }
72 FPS_STD(NAME); 79 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude3_few.c b/src/bin/image_blend_occlude3_few.c
index 57888fc..9ea8778 100644
--- a/src/bin/image_blend_occlude3_few.c
+++ b/src/bin/image_blend_occlude3_few.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i > (OBNUM / 2)) 32 if (i > (OBNUM / 2))
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude3_many.c b/src/bin/image_blend_occlude3_many.c
index 3dd41a4..9ab2ab1 100644
--- a/src/bin/image_blend_occlude3_many.c
+++ b/src/bin/image_blend_occlude3_many.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i > (OBNUM / 2)) 32 if (i > (OBNUM / 2))
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_occlude3_very_many.c b/src/bin/image_blend_occlude3_very_many.c
index 43d3642..3aedd91 100644
--- a/src/bin/image_blend_occlude3_very_many.c
+++ b/src/bin/image_blend_occlude3_very_many.c
@@ -30,19 +30,25 @@ static void _setup(void)
30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 30 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
31 o_images[i] = o; 31 o_images[i] = o;
32 if (i > (OBNUM / 2)) 32 if (i > (OBNUM / 2))
33 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL)); 33 {
34 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL));
36 }
34 else 37 else
35 { 38 {
36 Evas_Coord x, y; 39 Evas_Coord x, y;
37 40
38 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL)); 41 if (o)
42 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL));
39 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8); 43 x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
40 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8); 44 y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
41 eo_do(o, evas_obj_position_set(x, y)); 45 if (o)
46 eo_do(o, evas_obj_position_set(x, y));
42 } 47 }
43 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160), 48 if (o)
44 evas_obj_size_set(120, 160), 49 eo_do(o, evas_obj_image_fill_set(0, 0, 120, 160),
45 evas_obj_visibility_set(EINA_TRUE)); 50 evas_obj_size_set(120, 160),
51 evas_obj_visibility_set(EINA_TRUE));
46 } 52 }
47 done = 0; 53 done = 0;
48} 54}
@@ -69,7 +75,8 @@ static void _loop(double t, int f)
69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 75 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
70 y = (win_h / 2) - (h / 2); 76 y = (win_h / 2) - (h / 2);
71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 77 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 eo_do(o_images[i], evas_obj_position_set(x, y)); 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_position_set(x, y));
73 } 80 }
74 } 81 }
75 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_blend_smooth_same_scaled.c b/src/bin/image_blend_smooth_same_scaled.c
index 2301899..ddf1b43 100644
--- a/src/bin/image_blend_smooth_same_scaled.c
+++ b/src/bin/image_blend_smooth_same_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_smooth_scale_set(1), 30 evas_obj_image_smooth_scale_set(1),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_smooth_scaled.c b/src/bin/image_blend_smooth_scaled.c
index afa2b5d..e93babf 100644
--- a/src/bin/image_blend_smooth_scaled.c
+++ b/src/bin/image_blend_smooth_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_smooth_scale_set(1), 30 evas_obj_image_smooth_scale_set(1),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_smooth_solid_same_scaled.c b/src/bin/image_blend_smooth_solid_same_scaled.c
index fe0763c..a62421f 100644
--- a/src/bin/image_blend_smooth_solid_same_scaled.c
+++ b/src/bin/image_blend_smooth_solid_same_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_smooth_scale_set(1), 30 evas_obj_image_smooth_scale_set(1),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_smooth_solid_scaled.c b/src/bin/image_blend_smooth_solid_scaled.c
index db13620..b902d73 100644
--- a/src/bin/image_blend_smooth_solid_scaled.c
+++ b/src/bin/image_blend_smooth_solid_scaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_smooth_scale_set(1), 30 evas_obj_image_smooth_scale_set(1),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_solid_border.c b/src/bin/image_blend_solid_border.c
index 7e05605..e9e3e4d 100644
--- a/src/bin/image_blend_solid_border.c
+++ b/src/bin/image_blend_solid_border.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("frame.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("frame.png"), NULL),
29 evas_obj_image_border_set(8, 8, 8, 8), 30 evas_obj_image_border_set(8, 8, 8, 8),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 } 32 }
@@ -54,7 +55,8 @@ static void _loop(double t, int f)
54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
55 y = (win_h / 2) - (h / 2); 56 y = (win_h / 2) - (h / 2);
56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
57 eo_do(o_images[i], evas_obj_position_set(x, y), 58 if (o_images[i])
59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
60 } 62 }
diff --git a/src/bin/image_blend_solid_fade_pow2_unscaled.c b/src/bin/image_blend_solid_fade_pow2_unscaled.c
index 01e6e59..19e3227 100644
--- a/src/bin/image_blend_solid_fade_pow2_unscaled.c
+++ b/src/bin/image_blend_solid_fade_pow2_unscaled.c
@@ -27,12 +27,14 @@ static void _setup(void)
27 27
28 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 28 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
29 o_images[i] = o; 29 o_images[i] = o;
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 30 if (o)
31 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
31 evas_obj_image_fill_set(0, 0, 120, 160), 32 evas_obj_image_fill_set(0, 0, 120, 160),
32 evas_obj_size_set(120, 160)); 33 evas_obj_size_set(120, 160));
33 a = 256 - (1 << ((rnd() % 8) + 1)); 34 a = 256 - (1 << ((rnd() % 8) + 1));
34 if (a < 128) a = 128; 35 if (a < 128) a = 128;
35 eo_do(o, evas_obj_color_set(a, a, a, a), 36 if (o)
37 eo_do(o, evas_obj_color_set(a, a, a, a),
36 evas_obj_visibility_set(EINA_TRUE)); 38 evas_obj_visibility_set(EINA_TRUE));
37 } 39 }
38 done = 0; 40 done = 0;
@@ -58,7 +60,8 @@ static void _loop(double t, int f)
58 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 60 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
59 y = (win_h / 2) - (h / 2); 61 y = (win_h / 2) - (h / 2);
60 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 62 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
61 eo_do(o_images[i], evas_obj_position_set(x, y)); 63 if (o_images[i])
64 eo_do(o_images[i], evas_obj_position_set(x, y));
62 } 65 }
63 FPS_STD(NAME); 66 FPS_STD(NAME);
64} 67}
diff --git a/src/bin/image_blend_solid_fade_unscaled.c b/src/bin/image_blend_solid_fade_unscaled.c
index 769d59c..001d942 100644
--- a/src/bin/image_blend_solid_fade_unscaled.c
+++ b/src/bin/image_blend_solid_fade_unscaled.c
@@ -27,11 +27,13 @@ static void _setup(void)
27 27
28 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 28 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
29 o_images[i] = o; 29 o_images[i] = o;
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 30 if (o)
31 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
31 evas_obj_image_fill_set(0, 0, 120, 160), 32 evas_obj_image_fill_set(0, 0, 120, 160),
32 evas_obj_size_set(120, 160)); 33 evas_obj_size_set(120, 160));
33 a = rnd()&0xff; 34 a = rnd()&0xff;
34 eo_do(o, evas_obj_color_set(a, a, a, a), 35 if (o)
36 eo_do(o, evas_obj_color_set(a, a, a, a),
35 evas_obj_visibility_set(EINA_TRUE)); 37 evas_obj_visibility_set(EINA_TRUE));
36 } 38 }
37 done = 0; 39 done = 0;
@@ -57,7 +59,8 @@ static void _loop(double t, int f)
57 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 59 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
58 y = (win_h / 2) - (h / 2); 60 y = (win_h / 2) - (h / 2);
59 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 61 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
60 eo_do(o_images[i], evas_obj_position_set(x, y)); 62 if (o_images[i])
63 eo_do(o_images[i], evas_obj_position_set(x, y));
61 } 64 }
62 FPS_STD(NAME); 65 FPS_STD(NAME);
63} 66}
diff --git a/src/bin/image_blend_solid_middle_border.c b/src/bin/image_blend_solid_middle_border.c
index 86c4a5f..da53f69 100644
--- a/src/bin/image_blend_solid_middle_border.c
+++ b/src/bin/image_blend_solid_middle_border.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("bar.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("bar.png"), NULL),
29 evas_obj_image_border_set(6, 6, 6, 6), 30 evas_obj_image_border_set(6, 6, 6, 6),
30 evas_obj_image_border_center_fill_set(EVAS_BORDER_FILL_SOLID), 31 evas_obj_image_border_center_fill_set(EVAS_BORDER_FILL_SOLID),
31 evas_obj_visibility_set(EINA_TRUE)); 32 evas_obj_visibility_set(EINA_TRUE));
@@ -55,7 +56,8 @@ static void _loop(double t, int f)
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 56 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
56 y = (win_h / 2) - (h / 2); 57 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 58 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
58 eo_do(o_images[i], evas_obj_position_set(x, y), 59 if (o_images[i])
60 eo_do(o_images[i], evas_obj_position_set(x, y),
59 evas_obj_size_set(w, h), 61 evas_obj_size_set(w, h),
60 evas_obj_image_fill_set(0, 0, w, h)); 62 evas_obj_image_fill_set(0, 0, w, h));
61 } 63 }
diff --git a/src/bin/image_blend_solid_middle_unscaled.c b/src/bin/image_blend_solid_middle_unscaled.c
index 82860e8..a914f25 100644
--- a/src/bin/image_blend_solid_middle_unscaled.c
+++ b/src/bin/image_blend_solid_middle_unscaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
31 evas_obj_image_border_set(43, 48, 48, 83), 32 evas_obj_image_border_set(43, 48, 48, 83),
@@ -55,7 +56,8 @@ static void _loop(double t, int f)
55 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 56 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
56 y = (win_h / 2) - (h / 2); 57 y = (win_h / 2) - (h / 2);
57 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 58 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
58 eo_do(o_images[i], evas_obj_position_set(x, y)); 59 if (o_images[i])
60 eo_do(o_images[i], evas_obj_position_set(x, y));
59 } 61 }
60 FPS_STD(NAME); 62 FPS_STD(NAME);
61} 63}
diff --git a/src/bin/image_blend_solid_unscaled.c b/src/bin/image_blend_solid_unscaled.c
index e53b20f..895b3fa 100644
--- a/src/bin/image_blend_solid_unscaled.c
+++ b/src/bin/image_blend_solid_unscaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
31 evas_obj_visibility_set(EINA_TRUE)); 32 evas_obj_visibility_set(EINA_TRUE));
@@ -53,7 +54,8 @@ static void _loop(double t, int f)
53 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
54 y = (win_h / 2) - (h / 2); 55 y = (win_h / 2) - (h / 2);
55 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
56 eo_do(o_images[i], evas_obj_position_set(x, y)); 57 if (o_images[i])
58 eo_do(o_images[i], evas_obj_position_set(x, y));
57 } 59 }
58 FPS_STD(NAME); 60 FPS_STD(NAME);
59} 61}
diff --git a/src/bin/image_blend_unscaled.c b/src/bin/image_blend_unscaled.c
index 65f3f6b..8ec102a 100644
--- a/src/bin/image_blend_unscaled.c
+++ b/src/bin/image_blend_unscaled.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
31 evas_obj_visibility_set(EINA_TRUE)); 32 evas_obj_visibility_set(EINA_TRUE));
@@ -53,7 +54,8 @@ static void _loop(double t, int f)
53 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 54 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
54 y = (win_h / 2) - (h / 2); 55 y = (win_h / 2) - (h / 2);
55 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 56 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
56 eo_do(o_images[i], evas_obj_position_set(x, y)); 57 if (o_images[i])
58 eo_do(o_images[i], evas_obj_position_set(x, y));
57 } 59 }
58 FPS_STD(NAME); 60 FPS_STD(NAME);
59} 61}
diff --git a/src/bin/image_crossfade.c b/src/bin/image_crossfade.c
index b5694c3..20453b3 100644
--- a/src/bin/image_crossfade.c
+++ b/src/bin/image_crossfade.c
@@ -24,14 +24,16 @@ static void _setup(void)
24 24
25 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 25 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
26 o_images[0] = o; 26 o_images[0] = o;
27 eo_do(o, evas_obj_image_file_set(build_path("im1.png"), NULL), 27 if (o)
28 eo_do(o, evas_obj_image_file_set(build_path("im1.png"), NULL),
28 evas_obj_image_fill_set(0, 0, 720, 420), 29 evas_obj_image_fill_set(0, 0, 720, 420),
29 evas_obj_size_set(720, 420), 30 evas_obj_size_set(720, 420),
30 evas_obj_visibility_set(EINA_TRUE)); 31 evas_obj_visibility_set(EINA_TRUE));
31 32
32 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 33 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
33 o_images[1] = o; 34 o_images[1] = o;
34 eo_do(o, evas_obj_image_file_set(build_path("im2.png"), NULL), 35 if (o)
36 eo_do(o, evas_obj_image_file_set(build_path("im2.png"), NULL),
35 evas_obj_image_fill_set(0, 0, 720, 420), 37 evas_obj_image_fill_set(0, 0, 720, 420),
36 evas_obj_size_set(720, 420), 38 evas_obj_size_set(720, 420),
37 evas_obj_visibility_set(EINA_TRUE)); 39 evas_obj_visibility_set(EINA_TRUE));
@@ -53,7 +55,8 @@ static void _loop(double t, int f)
53 55
54 a = f & 0x1f; 56 a = f & 0x1f;
55 a = ((a << 3) | (a >> 2)) & 0xff; 57 a = ((a << 3) | (a >> 2)) & 0xff;
56 eo_do(o_images[1], evas_obj_color_set(a, a, a, a)); 58 if (o_images[1])
59 eo_do(o_images[1], evas_obj_color_set(a, a, a, a));
57 FPS_STD(NAME); 60 FPS_STD(NAME);
58} 61}
59 62
diff --git a/src/bin/image_data_argb.c b/src/bin/image_data_argb.c
index 6bdbc2f..0ec50ca 100644
--- a/src/bin/image_data_argb.c
+++ b/src/bin/image_data_argb.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC), 29 if (o)
30 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
30 evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888), 31 evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888),
31 evas_obj_image_size_set(640, 480), 32 evas_obj_image_size_set(640, 480),
32 evas_obj_image_alpha_set(0), 33 evas_obj_image_alpha_set(0),
@@ -57,7 +58,8 @@ static void _loop(double t, int f)
57 h = 480; 58 h = 480;
58 x = (win_w / 2) - (w / 2); 59 x = (win_w / 2) - (w / 2);
59 y = (win_h / 2) - (h / 2); 60 y = (win_h / 2) - (h / 2);
60 eo_do(o_images[i], evas_obj_position_set(x, y), 61 if (o_images[i])
62 eo_do(o_images[i], evas_obj_position_set(x, y),
61 evas_obj_size_set(w, h), 63 evas_obj_size_set(w, h),
62 evas_obj_image_fill_set(0, 0, w, h), 64 evas_obj_image_fill_set(0, 0, w, h),
63 evas_obj_image_data_get(1, (void **) &data), 65 evas_obj_image_data_get(1, (void **) &data),
@@ -73,7 +75,8 @@ static void _loop(double t, int f)
73 } 75 }
74 p += (st - w); 76 p += (st - w);
75 } 77 }
76 eo_do(o_images[i], evas_obj_image_data_set(data), 78 if (o_images[i])
79 eo_do(o_images[i], evas_obj_image_data_set(data),
77 evas_obj_image_data_update_add( 0, 0, w, h)); 80 evas_obj_image_data_update_add( 0, 0, w, h));
78 } 81 }
79 FPS_STD(NAME); 82 FPS_STD(NAME);
diff --git a/src/bin/image_data_argb_alpha.c b/src/bin/image_data_argb_alpha.c
index 1dae2f1..39211a7 100644
--- a/src/bin/image_data_argb_alpha.c
+++ b/src/bin/image_data_argb_alpha.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC), 29 if (o)
30 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
30 evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888), 31 evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888),
31 evas_obj_image_size_set(640, 480), 32 evas_obj_image_size_set(640, 480),
32 evas_obj_image_alpha_set(1), 33 evas_obj_image_alpha_set(1),
@@ -57,7 +58,8 @@ static void _loop(double t, int f)
57 h = 480; 58 h = 480;
58 x = (win_w / 2) - (w / 2); 59 x = (win_w / 2) - (w / 2);
59 y = (win_h / 2) - (h / 2); 60 y = (win_h / 2) - (h / 2);
60 eo_do(o_images[i], evas_obj_position_set(x, y), 61 if (o_images[i])
62 eo_do(o_images[i], evas_obj_position_set(x, y),
61 evas_obj_size_set(w, h), 63 evas_obj_size_set(w, h),
62 evas_obj_image_fill_set(0, 0, w, h), 64 evas_obj_image_fill_set(0, 0, w, h),
63 evas_obj_image_data_get(1, (void **) &data), 65 evas_obj_image_data_get(1, (void **) &data),
@@ -84,7 +86,8 @@ static void _loop(double t, int f)
84 } 86 }
85 p += (st - w); 87 p += (st - w);
86 } 88 }
87 eo_do(o_images[i], evas_obj_image_data_set(data), 89 if (o_images[i])
90 eo_do(o_images[i], evas_obj_image_data_set(data),
88 evas_obj_image_data_update_add( 0, 0, w, h)); 91 evas_obj_image_data_update_add( 0, 0, w, h));
89 } 92 }
90 FPS_STD(NAME); 93 FPS_STD(NAME);
diff --git a/src/bin/image_data_ycbcr601pl.c b/src/bin/image_data_ycbcr601pl.c
index 3ecbc8b..60a9d96 100644
--- a/src/bin/image_data_ycbcr601pl.c
+++ b/src/bin/image_data_ycbcr601pl.c
@@ -30,7 +30,8 @@ static void _setup(void)
30 { 30 {
31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
32 o_images[i] = o; 32 o_images[i] = o;
33 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC), 33 if (o)
34 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
34 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL), 35 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
35 evas_obj_image_size_set(640, 480), 36 evas_obj_image_size_set(640, 480),
36 evas_obj_image_alpha_set(0), 37 evas_obj_image_alpha_set(0),
@@ -65,7 +66,8 @@ static void _setup(void)
65 *lp = vp + (y * 320); 66 *lp = vp + (y * 320);
66 lp++; 67 lp++;
67 } 68 }
68 eo_do(o_images[i], evas_obj_image_data_set(data)); 69 if (o_images[i])
70 eo_do(o_images[i], evas_obj_image_data_set(data));
69 } 71 }
70 done = 0; 72 done = 0;
71} 73}
@@ -91,7 +93,8 @@ static void _loop(double t, int f)
91 h = 480; 93 h = 480;
92 x = (win_w / 2) - (w / 2); 94 x = (win_w / 2) - (w / 2);
93 y = (win_h / 2) - (h / 2); 95 y = (win_h / 2) - (h / 2);
94 eo_do(o_images[i], evas_obj_position_set(x, y), 96 if (o_images[i])
97 eo_do(o_images[i], evas_obj_position_set(x, y),
95 evas_obj_size_set(w, h), 98 evas_obj_size_set(w, h),
96 evas_obj_image_fill_set(0, 0, w, h), 99 evas_obj_image_fill_set(0, 0, w, h),
97 evas_obj_image_data_update_add( 0, 0, 640, 480)); 100 evas_obj_image_data_update_add( 0, 0, 640, 480));
diff --git a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
index 14cc7a9..f55b14b 100644
--- a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
+++ b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
@@ -30,7 +30,8 @@ static void _setup(void)
30 { 30 {
31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
32 o_images[i] = o; 32 o_images[i] = o;
33 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC), 33 if (o)
34 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
34 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL), 35 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
35 evas_obj_image_size_set(640, 480), 36 evas_obj_image_size_set(640, 480),
36 evas_obj_image_alpha_set(0), 37 evas_obj_image_alpha_set(0),
@@ -66,7 +67,8 @@ static void _setup(void)
66 *lp = vp + (y * 320); 67 *lp = vp + (y * 320);
67 lp++; 68 lp++;
68 } 69 }
69 eo_do(o_images[i], evas_obj_image_data_set(data)); 70 if (o_images[i])
71 eo_do(o_images[i], evas_obj_image_data_set(data));
70 } 72 }
71 done = 0; 73 done = 0;
72} 74}
@@ -100,7 +102,8 @@ static void _loop(double t, int f)
100 102
101 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 103 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
102 104
103 eo_do(o_images[i], evas_obj_map_enable_set(1), 105 if (o_images[i])
106 eo_do(o_images[i], evas_obj_map_enable_set(1),
104 evas_obj_map_set(m)); 107 evas_obj_map_set(m));
105 } 108 }
106 FPS_STD(NAME); 109 FPS_STD(NAME);
diff --git a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
index 17558dd..e652c33 100644
--- a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
+++ b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c
@@ -30,7 +30,8 @@ static void _setup(void)
30 { 30 {
31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
32 o_images[i] = o; 32 o_images[i] = o;
33 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC), 33 if (o)
34 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
34 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL), 35 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
35 evas_obj_image_size_set(640, 480), 36 evas_obj_image_size_set(640, 480),
36 evas_obj_image_alpha_set(0), 37 evas_obj_image_alpha_set(0),
@@ -65,7 +66,8 @@ static void _setup(void)
65 *lp = vp + (y * 320); 66 *lp = vp + (y * 320);
66 lp++; 67 lp++;
67 } 68 }
68 eo_do(o_images[i], evas_obj_image_data_set(data)); 69 if (o_images[i])
70 eo_do(o_images[i], evas_obj_image_data_set(data));
69 } 71 }
70 done = 0; 72 done = 0;
71} 73}
@@ -98,7 +100,8 @@ static void _loop(double t, int f)
98 100
99 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 101 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
100 102
101 eo_do(o_images[i], evas_obj_map_enable_set(1), 103 if (o_images[i])
104 eo_do(o_images[i], evas_obj_map_enable_set(1),
102 evas_obj_map_set(m)); 105 evas_obj_map_set(m));
103 } 106 }
104 FPS_STD(NAME); 107 FPS_STD(NAME);
diff --git a/src/bin/image_data_ycbcr601pl_wide_stride.c b/src/bin/image_data_ycbcr601pl_wide_stride.c
index 88deeaf..52090e2 100644
--- a/src/bin/image_data_ycbcr601pl_wide_stride.c
+++ b/src/bin/image_data_ycbcr601pl_wide_stride.c
@@ -30,7 +30,8 @@ static void _setup(void)
30 { 30 {
31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 31 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
32 o_images[i] = o; 32 o_images[i] = o;
33 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC), 33 if (o)
34 eo_do(o, evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
34 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL), 35 evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
35 evas_obj_image_size_set(320, 480), 36 evas_obj_image_size_set(320, 480),
36 evas_obj_image_alpha_set(0), 37 evas_obj_image_alpha_set(0),
@@ -67,7 +68,8 @@ static void _setup(void)
67 *lp = vp + (y * 320); 68 *lp = vp + (y * 320);
68 lp++; 69 lp++;
69 } 70 }
70 eo_do(o_images[i], evas_obj_image_data_set(data), 71 if (o_images[i])
72 eo_do(o_images[i], evas_obj_image_data_set(data),
71 evas_obj_image_data_update_add( 0, 0, 320, 480)); 73 evas_obj_image_data_update_add( 0, 0, 320, 480));
72 } 74 }
73 } 75 }
@@ -97,8 +99,11 @@ static void _loop(double t, int f)
97 h = 480; 99 h = 480;
98 x = (win_w / 2) - (w / 2); 100 x = (win_w / 2) - (w / 2);
99 y = (win_h / 2) - (h / 2); 101 y = (win_h / 2) - (h / 2);
102 if (o_images[i])
100 eo_do(o_images[i], evas_obj_position_set(x, y)); 103 eo_do(o_images[i], evas_obj_position_set(x, y));
104 if (o_images[i])
101 eo_do(o_images[i], evas_obj_size_set(w, h)); 105 eo_do(o_images[i], evas_obj_size_set(w, h));
106 if (o_images[i])
102 eo_do(o_images[i], evas_obj_image_fill_set(0, 0, w, h)); 107 eo_do(o_images[i], evas_obj_image_fill_set(0, 0, w, h));
103 108
104 w = 320 - 16 + f; 109 w = 320 - 16 + f;
@@ -107,6 +112,7 @@ static void _loop(double t, int f)
107 112
108 w &= ~0x1; 113 w &= ~0x1;
109 114
115 if (o_images[i])
110 eo_do(o_images[i], evas_obj_image_size_set(w, 480)); 116 eo_do(o_images[i], evas_obj_image_size_set(w, 480));
111 data = evas_object_image_data_get(o_images[i], 1); 117 data = evas_object_image_data_get(o_images[i], 1);
112 if (data) 118 if (data)
@@ -127,8 +133,10 @@ static void _loop(double t, int f)
127 *lp = vp + (y * 320); 133 *lp = vp + (y * 320);
128 lp++; 134 lp++;
129 } 135 }
130 eo_do(o_images[i], evas_obj_image_data_set(data)); 136 if (o_images[i])
131 eo_do(o_images[i], evas_obj_image_data_update_add( 0, 0, w, 480)); 137 eo_do(o_images[i], evas_obj_image_data_set(data));
138 if (o_images[i])
139 eo_do(o_images[i], evas_obj_image_data_update_add( 0, 0, w, 480));
132 } 140 }
133 } 141 }
134 FPS_STD(NAME); 142 FPS_STD(NAME);
diff --git a/src/bin/image_map_3d_1.c b/src/bin/image_map_3d_1.c
index b4ad6b6..46196cd 100644
--- a/src/bin/image_map_3d_1.c
+++ b/src/bin/image_map_3d_1.c
@@ -57,7 +57,8 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
58 c->side[i].o = o; 58 c->side[i].o = o;
59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1); 59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
60 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 60 if (o)
61 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
61 evas_obj_image_fill_set(0, 0, 256, 256), 62 evas_obj_image_fill_set(0, 0, 256, 256),
62 evas_obj_size_set(256, 256), 63 evas_obj_size_set(256, 256),
63 evas_obj_image_smooth_scale_set(0), 64 evas_obj_image_smooth_scale_set(0),
@@ -130,12 +131,14 @@ _cube_pos(Cube *c,
130 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512); 131 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
131 if (evas_map_util_clockwise_get(m)) 132 if (evas_map_util_clockwise_get(m))
132 { 133 {
133 eo_do(c->side[i].o, evas_obj_map_enable_set(1), 134 if (c->side[i].o)
135 eo_do(c->side[i].o, evas_obj_map_enable_set(1),
134 evas_obj_map_set(m), 136 evas_obj_map_set(m),
135 evas_obj_visibility_set(EINA_TRUE)); 137 evas_obj_visibility_set(EINA_TRUE));
136 } 138 }
137 else 139 else
138 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE)); 140 if (c->side[i].o)
141 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE));
139 142
140 order[i] = i; 143 order[i] = i;
141 for (j = 0; j < 4; j++) 144 for (j = 0; j < 4; j++)
@@ -159,9 +162,11 @@ _cube_pos(Cube *c,
159 } 162 }
160 while (!sorted); 163 while (!sorted);
161 164
162 eo_do(c->side[order[0]].o, evas_obj_raise()); 165 if (c->side[order[0]].o)
166 eo_do(c->side[order[0]].o, evas_obj_raise());
163 for (i = 1; i < 6; i++) 167 for (i = 1; i < 6; i++)
164 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o)); 168 if (c->side[order[i]].o)
169 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o));
165} 170}
166 171
167static void 172static void
diff --git a/src/bin/image_map_3d_2.c b/src/bin/image_map_3d_2.c
index dde2c0d..aca5e85 100644
--- a/src/bin/image_map_3d_2.c
+++ b/src/bin/image_map_3d_2.c
@@ -57,7 +57,8 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
58 c->side[i].o = o; 58 c->side[i].o = o;
59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1); 59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
60 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 60 if (o)
61 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
61 evas_obj_image_fill_set(0, 0, 256, 256), 62 evas_obj_image_fill_set(0, 0, 256, 256),
62 evas_obj_size_set(256, 256), 63 evas_obj_size_set(256, 256),
63 evas_obj_visibility_set(EINA_TRUE)); 64 evas_obj_visibility_set(EINA_TRUE));
@@ -128,12 +129,14 @@ _cube_pos(Cube *c,
128 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512); 129 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
129 if (evas_map_util_clockwise_get(m)) 130 if (evas_map_util_clockwise_get(m))
130 { 131 {
131 eo_do(c->side[i].o, evas_obj_map_enable_set(1), 132 if (c->side[i].o)
133 eo_do(c->side[i].o, evas_obj_map_enable_set(1),
132 evas_obj_map_set(m), 134 evas_obj_map_set(m),
133 evas_obj_visibility_set(EINA_TRUE)); 135 evas_obj_visibility_set(EINA_TRUE));
134 } 136 }
135 else 137 else
136 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE)); 138 if (c->side[i].o)
139 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE));
137 140
138 order[i] = i; 141 order[i] = i;
139 for (j = 0; j < 4; j++) 142 for (j = 0; j < 4; j++)
@@ -157,9 +160,11 @@ _cube_pos(Cube *c,
157 } 160 }
158 while (!sorted); 161 while (!sorted);
159 162
160 eo_do(c->side[order[0]].o, evas_obj_raise()); 163 if (c->side[order[0]].o)
164 eo_do(c->side[order[0]].o, evas_obj_raise());
161 for (i = 1; i < 6; i++) 165 for (i = 1; i < 6; i++)
162 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o)); 166 if (c->side[order[i]].o)
167 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o));
163} 168}
164 169
165static void 170static void
diff --git a/src/bin/image_map_3d_3.c b/src/bin/image_map_3d_3.c
index 8bbbd37..4cc2ab4 100644
--- a/src/bin/image_map_3d_3.c
+++ b/src/bin/image_map_3d_3.c
@@ -57,7 +57,8 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
58 c->side[i].o = o; 58 c->side[i].o = o;
59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1); 59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
60 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 60 if (o)
61 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
61 evas_obj_image_fill_set(0, 0, 256, 256), 62 evas_obj_image_fill_set(0, 0, 256, 256),
62 evas_obj_size_set(256, 256), 63 evas_obj_size_set(256, 256),
63 evas_obj_image_smooth_scale_set(0), 64 evas_obj_image_smooth_scale_set(0),
@@ -128,7 +129,8 @@ _cube_pos(Cube *c,
128 255, 255, 255, 129 255, 255, 255,
129 20, 20, 20); 130 20, 20, 20);
130 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512); 131 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
131 eo_do(c->side[i].o, evas_obj_map_enable_set(1), 132 if (c->side[i].o)
133 eo_do(c->side[i].o, evas_obj_map_enable_set(1),
132 evas_obj_map_set(m)); 134 evas_obj_map_set(m));
133 135
134 order[i] = i; 136 order[i] = i;
@@ -153,9 +155,11 @@ _cube_pos(Cube *c,
153 } 155 }
154 while (!sorted); 156 while (!sorted);
155 157
156 eo_do(c->side[order[0]].o, evas_obj_raise()); 158 if (c->side[order[0]].o)
159 eo_do(c->side[order[0]].o, evas_obj_raise());
157 for (i = 1; i < 6; i++) 160 for (i = 1; i < 6; i++)
158 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o)); 161 if (c->side[order[i]].o)
162 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o));
159} 163}
160 164
161static void 165static void
diff --git a/src/bin/image_map_3d_4.c b/src/bin/image_map_3d_4.c
index 7a4d28b..994a952 100644
--- a/src/bin/image_map_3d_4.c
+++ b/src/bin/image_map_3d_4.c
@@ -57,7 +57,8 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
58 c->side[i].o = o; 58 c->side[i].o = o;
59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1); 59 snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
60 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 60 if (o)
61 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
61 evas_obj_image_fill_set(0, 0, 256, 256), 62 evas_obj_image_fill_set(0, 0, 256, 256),
62 evas_obj_size_set(256, 256), 63 evas_obj_size_set(256, 256),
63 evas_obj_visibility_set(EINA_TRUE)); 64 evas_obj_visibility_set(EINA_TRUE));
@@ -126,7 +127,8 @@ _cube_pos(Cube *c,
126 255, 255, 255, 127 255, 255, 255,
127 20, 20, 20); 128 20, 20, 20);
128 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512); 129 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
129 eo_do(c->side[i].o, evas_obj_map_enable_set(1), 130 if (c->side[i].o)
131 eo_do(c->side[i].o, evas_obj_map_enable_set(1),
130 evas_obj_map_set(m)); 132 evas_obj_map_set(m));
131 133
132 order[i] = i; 134 order[i] = i;
@@ -151,9 +153,11 @@ _cube_pos(Cube *c,
151 } 153 }
152 while (!sorted); 154 while (!sorted);
153 155
154 eo_do(c->side[order[0]].o, evas_obj_raise()); 156 if (c->side[order[0]].o)
157 eo_do(c->side[order[0]].o, evas_obj_raise());
155 for (i = 1; i < 6; i++) 158 for (i = 1; i < 6; i++)
156 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o)); 159 if (c->side[order[i]].o)
160 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o));
157} 161}
158 162
159static void 163static void
diff --git a/src/bin/image_map_3d_5.c b/src/bin/image_map_3d_5.c
index c3aa402..a763be3 100644
--- a/src/bin/image_map_3d_5.c
+++ b/src/bin/image_map_3d_5.c
@@ -57,7 +57,8 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
58 c->side[i].o = o; 58 c->side[i].o = o;
59 snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1); 59 snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1);
60 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 60 if (o)
61 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
61 evas_obj_image_fill_set(0, 0, 720, 420), 62 evas_obj_image_fill_set(0, 0, 720, 420),
62 evas_obj_size_set(720, 420), 63 evas_obj_size_set(720, 420),
63 evas_obj_image_smooth_scale_set(0), 64 evas_obj_image_smooth_scale_set(0),
@@ -130,12 +131,14 @@ _cube_pos(Cube *c,
130 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -360, 720); 131 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -360, 720);
131 if (evas_map_util_clockwise_get(m)) 132 if (evas_map_util_clockwise_get(m))
132 { 133 {
133 eo_do(c->side[i].o, evas_obj_map_enable_set(1), 134 if (c->side[i].o)
135 eo_do(c->side[i].o, evas_obj_map_enable_set(1),
134 evas_obj_map_set(m), 136 evas_obj_map_set(m),
135 evas_obj_visibility_set(EINA_TRUE)); 137 evas_obj_visibility_set(EINA_TRUE));
136 } 138 }
137 else 139 else
138 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE)); 140 if (c->side[i].o)
141 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE));
139 142
140 order[i] = i; 143 order[i] = i;
141 for (j = 0; j < 4; j++) 144 for (j = 0; j < 4; j++)
@@ -159,9 +162,11 @@ _cube_pos(Cube *c,
159 } 162 }
160 while (!sorted); 163 while (!sorted);
161 164
162 eo_do(c->side[order[0]].o, evas_obj_raise()); 165 if (c->side[order[0]].o)
166 eo_do(c->side[order[0]].o, evas_obj_raise());
163 for (i = 1; i < 6; i++) 167 for (i = 1; i < 6; i++)
164 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o)); 168 if (c->side[order[i]].o)
169 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o));
165} 170}
166 171
167static void 172static void
diff --git a/src/bin/image_map_3d_6.c b/src/bin/image_map_3d_6.c
index b67ae86..0887430 100644
--- a/src/bin/image_map_3d_6.c
+++ b/src/bin/image_map_3d_6.c
@@ -57,7 +57,8 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 57 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
58 c->side[i].o = o; 58 c->side[i].o = o;
59 snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1); 59 snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1);
60 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 60 if (o)
61 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
61 evas_obj_image_fill_set(0, 0, 720, 420), 62 evas_obj_image_fill_set(0, 0, 720, 420),
62 evas_obj_size_set(720, 420), 63 evas_obj_size_set(720, 420),
63 evas_obj_image_smooth_scale_set(0), 64 evas_obj_image_smooth_scale_set(0),
@@ -127,12 +128,14 @@ _cube_pos(Cube *c,
127 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -360, 720); 128 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -360, 720);
128 if (evas_map_util_clockwise_get(m)) 129 if (evas_map_util_clockwise_get(m))
129 { 130 {
130 eo_do(c->side[i].o, evas_obj_map_enable_set(1), 131 if (c->side[i].o)
132 eo_do(c->side[i].o, evas_obj_map_enable_set(1),
131 evas_obj_map_set(m), 133 evas_obj_map_set(m),
132 evas_obj_visibility_set(EINA_TRUE)); 134 evas_obj_visibility_set(EINA_TRUE));
133 } 135 }
134 else 136 else
135 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE)); 137 if (c->side[i].o)
138 eo_do(c->side[i].o, evas_obj_visibility_set(EINA_FALSE));
136 139
137 order[i] = i; 140 order[i] = i;
138 for (j = 0; j < 4; j++) 141 for (j = 0; j < 4; j++)
@@ -156,9 +159,11 @@ _cube_pos(Cube *c,
156 } 159 }
157 while (!sorted); 160 while (!sorted);
158 161
159 eo_do(c->side[order[0]].o, evas_obj_raise()); 162 if (c->side[order[0]].o)
163 eo_do(c->side[order[0]].o, evas_obj_raise());
160 for (i = 1; i < 6; i++) 164 for (i = 1; i < 6; i++)
161 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o)); 165 if (c->side[order[i]].o)
166 eo_do(c->side[order[i]].o, evas_obj_stack_below(c->side[order[i - 1]].o));
162} 167}
163 168
164static void 169static void
diff --git a/src/bin/image_map_3d_flow.c b/src/bin/image_map_3d_flow.c
index b1599bd..1bf0249 100644
--- a/src/bin/image_map_3d_flow.c
+++ b/src/bin/image_map_3d_flow.c
@@ -32,7 +32,8 @@ static void _setup(void)
32 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 32 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
33 o_images[i] = o; 33 o_images[i] = o;
34 snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1); 34 snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
35 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 35 if (o)
36 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
36 evas_obj_image_fill_set(0, 0, 256, 256), 37 evas_obj_image_fill_set(0, 0, 256, 256),
37 evas_obj_size_set(256, 256), 38 evas_obj_size_set(256, 256),
38 evas_obj_image_smooth_scale_set(0), 39 evas_obj_image_smooth_scale_set(0),
@@ -41,7 +42,8 @@ static void _setup(void)
41 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 42 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
42 o_reflec[i] = o; 43 o_reflec[i] = o;
43 snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1); 44 snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
44 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL), 45 if (o)
46 eo_do(o, evas_obj_image_file_set(build_path(buf), NULL),
45 evas_obj_image_fill_set(0, 0, 256, 256), 47 evas_obj_image_fill_set(0, 0, 256, 256),
46 evas_obj_size_set(256, 256), 48 evas_obj_size_set(256, 256),
47 evas_obj_image_smooth_scale_set(0), 49 evas_obj_image_smooth_scale_set(0),
@@ -125,13 +127,17 @@ static void _loop(double t, int f)
125 127
126 if (c <= 0) 128 if (c <= 0)
127 { 129 {
128 eo_do(o_images[i], evas_obj_raise()); 130 if (o_images[i])
129 eo_do(o_reflec[i], evas_obj_raise()); 131 eo_do(o_images[i], evas_obj_raise());
132 if (o_reflec[i])
133 eo_do(o_reflec[i], evas_obj_raise());
130 } 134 }
131 else 135 else
132 { 136 {
133 eo_do(o_images[i], evas_obj_lower()); 137 if (o_images[i])
134 eo_do(o_reflec[i], evas_obj_lower()); 138 eo_do(o_images[i], evas_obj_lower());
139 if (o_reflec[i])
140 eo_do(o_reflec[i], evas_obj_lower());
135 } 141 }
136 142
137 evas_map_point_coord_set (m, 0, x, y, -z); 143 evas_map_point_coord_set (m, 0, x, y, -z);
@@ -154,7 +160,8 @@ static void _loop(double t, int f)
154 x + (w / 2), y + (h / 2), 0); 160 x + (w / 2), y + (h / 2), 0);
155 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -256, 512); 161 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -256, 512);
156 162
157 eo_do(o_images[i], evas_obj_map_enable_set(1), 163 if (o_images[i])
164 eo_do(o_images[i], evas_obj_map_enable_set(1),
158 evas_obj_map_set(m)); 165 evas_obj_map_set(m));
159 166
160 evas_map_point_coord_set (m, 0, x, yy, -z); 167 evas_map_point_coord_set (m, 0, x, yy, -z);
@@ -177,7 +184,8 @@ static void _loop(double t, int f)
177 x + (w / 2), y + (h / 2), 0); 184 x + (w / 2), y + (h / 2), 0);
178 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -256, 512); 185 evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -256, 512);
179 186
180 eo_do(o_reflec[i], evas_obj_map_enable_set(1), 187 if (o_reflec[i])
188 eo_do(o_reflec[i], evas_obj_map_enable_set(1),
181 evas_obj_map_set(m)); 189 evas_obj_map_set(m));
182 } 190 }
183 191
diff --git a/src/bin/image_map_color_alpha_nearest_rotate.c b/src/bin/image_map_color_alpha_nearest_rotate.c
index 7707e3f..61728f6 100644
--- a/src/bin/image_map_color_alpha_nearest_rotate.c
+++ b/src/bin/image_map_color_alpha_nearest_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_image_smooth_scale_set(0), 33 evas_obj_image_smooth_scale_set(0),
@@ -68,7 +69,8 @@ static void _loop(double t, int f)
68 69
69 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 70 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
70 71
71 eo_do(o_images[i], evas_obj_map_enable_set(1), 72 if (o_images[i])
73 eo_do(o_images[i], evas_obj_map_enable_set(1),
72 evas_obj_map_set(m)); 74 evas_obj_map_set(m));
73 } 75 }
74 FPS_STD(NAME); 76 FPS_STD(NAME);
diff --git a/src/bin/image_map_color_alpha_nearest_solid_rotate.c b/src/bin/image_map_color_alpha_nearest_solid_rotate.c
index c64792e..b8e868d 100644
--- a/src/bin/image_map_color_alpha_nearest_solid_rotate.c
+++ b/src/bin/image_map_color_alpha_nearest_solid_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_image_smooth_scale_set(0), 33 evas_obj_image_smooth_scale_set(0),
@@ -68,7 +69,8 @@ static void _loop(double t, int f)
68 69
69 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 70 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
70 71
71 eo_do(o_images[i], evas_obj_map_enable_set(1), 72 if (o_images[i])
73 eo_do(o_images[i], evas_obj_map_enable_set(1),
72 evas_obj_map_set(m)); 74 evas_obj_map_set(m));
73 } 75 }
74 FPS_STD(NAME); 76 FPS_STD(NAME);
diff --git a/src/bin/image_map_color_alpha_rotate.c b/src/bin/image_map_color_alpha_rotate.c
index dab928b..441bbcb 100644
--- a/src/bin/image_map_color_alpha_rotate.c
+++ b/src/bin/image_map_color_alpha_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_visibility_set(EINA_TRUE)); 33 evas_obj_visibility_set(EINA_TRUE));
@@ -66,7 +67,8 @@ static void _loop(double t, int f)
66 67
67 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 68 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
68 69
69 eo_do(o_images[i], evas_obj_map_enable_set(1), 70 if (o_images[i])
71 eo_do(o_images[i], evas_obj_map_enable_set(1),
70 evas_obj_map_set(m)); 72 evas_obj_map_set(m));
71 } 73 }
72 FPS_STD(NAME); 74 FPS_STD(NAME);
diff --git a/src/bin/image_map_color_alpha_solid_rotate.c b/src/bin/image_map_color_alpha_solid_rotate.c
index dba87a7..53aa001 100644
--- a/src/bin/image_map_color_alpha_solid_rotate.c
+++ b/src/bin/image_map_color_alpha_solid_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_visibility_set(EINA_TRUE)); 33 evas_obj_visibility_set(EINA_TRUE));
@@ -65,7 +66,8 @@ static void _loop(double t, int f)
65 evas_map_point_color_set(m, 3, 0, 0, 0, 0); 66 evas_map_point_color_set(m, 3, 0, 0, 0, 0);
66 67
67 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 68 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
68 eo_do(o_images[i], evas_obj_map_enable_set(1), 69 if (o_images[i])
70 eo_do(o_images[i], evas_obj_map_enable_set(1),
69 evas_obj_map_set(m)); 71 evas_obj_map_set(m));
70 } 72 }
71 FPS_STD(NAME); 73 FPS_STD(NAME);
diff --git a/src/bin/image_map_color_nearest_rotate.c b/src/bin/image_map_color_nearest_rotate.c
index 19e31ac..9307b2c 100644
--- a/src/bin/image_map_color_nearest_rotate.c
+++ b/src/bin/image_map_color_nearest_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_image_smooth_scale_set(0), 33 evas_obj_image_smooth_scale_set(0),
@@ -68,7 +69,8 @@ static void _loop(double t, int f)
68 69
69 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 70 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
70 71
71 eo_do(o_images[i], evas_obj_map_enable_set(1), 72 if (o_images[i])
73 eo_do(o_images[i], evas_obj_map_enable_set(1),
72 evas_obj_map_set(m)); 74 evas_obj_map_set(m));
73 } 75 }
74 FPS_STD(NAME); 76 FPS_STD(NAME);
diff --git a/src/bin/image_map_color_nearest_solid_rotate.c b/src/bin/image_map_color_nearest_solid_rotate.c
index 6134a37..85b38c0 100644
--- a/src/bin/image_map_color_nearest_solid_rotate.c
+++ b/src/bin/image_map_color_nearest_solid_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_image_smooth_scale_set(0), 33 evas_obj_image_smooth_scale_set(0),
@@ -68,7 +69,8 @@ static void _loop(double t, int f)
68 69
69 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 70 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
70 71
71 eo_do(o_images[i], evas_obj_map_enable_set(1), 72 if (o_images[i])
73 eo_do(o_images[i], evas_obj_map_enable_set(1),
72 evas_obj_map_set(m)); 74 evas_obj_map_set(m));
73 } 75 }
74 FPS_STD(NAME); 76 FPS_STD(NAME);
diff --git a/src/bin/image_map_color_rotate.c b/src/bin/image_map_color_rotate.c
index 0b35732..be909b3 100644
--- a/src/bin/image_map_color_rotate.c
+++ b/src/bin/image_map_color_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_visibility_set(EINA_TRUE)); 33 evas_obj_visibility_set(EINA_TRUE));
@@ -66,7 +67,8 @@ static void _loop(double t, int f)
66 67
67 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 68 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
68 69
69 eo_do(o_images[i], evas_obj_map_enable_set(1), 70 if (o_images[i])
71 eo_do(o_images[i], evas_obj_map_enable_set(1),
70 evas_obj_map_set(m)); 72 evas_obj_map_set(m));
71 } 73 }
72 FPS_STD(NAME); 74 FPS_STD(NAME);
diff --git a/src/bin/image_map_color_solid_rotate.c b/src/bin/image_map_color_solid_rotate.c
index 65cbb53..b88488c 100644
--- a/src/bin/image_map_color_solid_rotate.c
+++ b/src/bin/image_map_color_solid_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_visibility_set(EINA_TRUE)); 33 evas_obj_visibility_set(EINA_TRUE));
@@ -66,7 +67,8 @@ static void _loop(double t, int f)
66 67
67 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 68 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
68 69
69 eo_do(o_images[i], evas_obj_map_enable_set(1), 70 if (o_images[i])
71 eo_do(o_images[i], evas_obj_map_enable_set(1),
70 evas_obj_map_set(m)); 72 evas_obj_map_set(m));
71 } 73 }
72 FPS_STD(NAME); 74 FPS_STD(NAME);
diff --git a/src/bin/image_map_nearest_rotate.c b/src/bin/image_map_nearest_rotate.c
index 24acb03..ee9ce78 100644
--- a/src/bin/image_map_nearest_rotate.c
+++ b/src/bin/image_map_nearest_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_image_smooth_scale_set(0), 33 evas_obj_image_smooth_scale_set(0),
@@ -63,7 +64,8 @@ static void _loop(double t, int f)
63 64
64 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 65 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
65 66
66 eo_do(o_images[i], evas_obj_map_enable_set(1), 67 if (o_images[i])
68 eo_do(o_images[i], evas_obj_map_enable_set(1),
67 evas_obj_map_set(m)); 69 evas_obj_map_set(m));
68 } 70 }
69 FPS_STD(NAME); 71 FPS_STD(NAME);
diff --git a/src/bin/image_map_nearest_solid_rotate.c b/src/bin/image_map_nearest_solid_rotate.c
index 15cc61c..8e17bad 100644
--- a/src/bin/image_map_nearest_solid_rotate.c
+++ b/src/bin/image_map_nearest_solid_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_image_smooth_scale_set(0), 33 evas_obj_image_smooth_scale_set(0),
@@ -63,7 +64,8 @@ static void _loop(double t, int f)
63 64
64 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 65 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
65 66
66 eo_do(o_images[i], evas_obj_map_enable_set(1), 67 if (o_images[i])
68 eo_do(o_images[i], evas_obj_map_enable_set(1),
67 evas_obj_map_set(m)); 69 evas_obj_map_set(m));
68 } 70 }
69 FPS_STD(NAME); 71 FPS_STD(NAME);
diff --git a/src/bin/image_map_rotate.c b/src/bin/image_map_rotate.c
index 8187958..eebf68a 100644
--- a/src/bin/image_map_rotate.c
+++ b/src/bin/image_map_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_visibility_set(EINA_TRUE)); 33 evas_obj_visibility_set(EINA_TRUE));
@@ -61,7 +62,8 @@ static void _loop(double t, int f)
61 62
62 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 63 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
63 64
64 eo_do(o_images[i], evas_obj_map_enable_set(1), 65 if (o_images[i])
66 eo_do(o_images[i], evas_obj_map_enable_set(1),
65 evas_obj_map_set(m)); 67 evas_obj_map_set(m));
66 } 68 }
67 FPS_STD(NAME); 69 FPS_STD(NAME);
diff --git a/src/bin/image_map_solid_rotate.c b/src/bin/image_map_solid_rotate.c
index ad6dd89..28da7af 100644
--- a/src/bin/image_map_solid_rotate.c
+++ b/src/bin/image_map_solid_rotate.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 120, 160), 31 evas_obj_image_fill_set(0, 0, 120, 160),
31 evas_obj_size_set(120, 160), 32 evas_obj_size_set(120, 160),
32 evas_obj_visibility_set(EINA_TRUE)); 33 evas_obj_visibility_set(EINA_TRUE));
@@ -61,7 +62,8 @@ static void _loop(double t, int f)
61 62
62 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2)); 63 evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
63 64
64 eo_do(o_images[i], evas_obj_map_enable_set(1), 65 if (o_images[i])
66 eo_do(o_images[i], evas_obj_map_enable_set(1),
65 evas_obj_map_set(m)); 67 evas_obj_map_set(m));
66 } 68 }
67 FPS_STD(NAME); 69 FPS_STD(NAME);
diff --git a/src/bin/image_mask.c b/src/bin/image_mask.c
index b8053d4..cc483bf 100644
--- a/src/bin/image_mask.c
+++ b/src/bin/image_mask.c
@@ -25,6 +25,7 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 if (o)
28 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL), 29 eo_do(o, evas_obj_image_file_set(build_path("image.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
@@ -32,10 +33,12 @@ static void _setup(void)
32 33
33 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 34 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
34 o_images[i + 1] = o; 35 o_images[i + 1] = o;
36 if (o)
35 eo_do(o, evas_obj_image_file_set(build_path("e-logo.png"), NULL), 37 eo_do(o, evas_obj_image_file_set(build_path("e-logo.png"), NULL),
36 evas_obj_image_fill_set(0, 0, 120, 160), 38 evas_obj_image_fill_set(0, 0, 120, 160),
37 evas_obj_size_set(120, 160), 39 evas_obj_size_set(120, 160),
38 evas_obj_visibility_set(EINA_TRUE)); 40 evas_obj_visibility_set(EINA_TRUE));
41 if (o_images[i])
39 eo_do(o_images[i], evas_obj_clip_set(o)); 42 eo_do(o_images[i], evas_obj_clip_set(o));
40 } 43 }
41 done = 0; 44 done = 0;
@@ -61,7 +64,9 @@ static void _loop(double t, int f)
61 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 64 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
62 y = (win_h / 2) - (h / 2); 65 y = (win_h / 2) - (h / 2);
63 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 66 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
67 if (o_images[i])
64 eo_do(o_images[i], evas_obj_position_set(x, y)); 68 eo_do(o_images[i], evas_obj_position_set(x, y));
69 if (o_images[i + 1])
65 eo_do(o_images[i + 1], evas_obj_position_set(x, y)); 70 eo_do(o_images[i + 1], evas_obj_position_set(x, y));
66 } 71 }
67 FPS_STD(NAME); 72 FPS_STD(NAME);
diff --git a/src/bin/image_mask_10.c b/src/bin/image_mask_10.c
index 0842da1..69a967f 100644
--- a/src/bin/image_mask_10.c
+++ b/src/bin/image_mask_10.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL),
39 evas_obj_image_fill_set(0, 0, win_w * 4, win_h * 4), 41 evas_obj_image_fill_set(0, 0, win_w * 4, win_h * 4),
40 evas_obj_size_set(win_w * 4, win_h * 4), 42 evas_obj_size_set(win_w * 4, win_h * 4),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -69,7 +71,8 @@ static void _loop(double t, int f)
69 -win_w, -win_h, 71 -win_w, -win_h,
70 win_w * 4, win_h * 4, 0); 72 win_w * 4, win_h * 4, 0);
71 evas_map_util_rotate(m, f, win_w / 2, win_h / 2); 73 evas_map_util_rotate(m, f, win_w / 2, win_h / 2);
72 eo_do(o_images[i], evas_obj_map_enable_set(1), 74 if (o_images[i])
75 eo_do(o_images[i], evas_obj_map_enable_set(1),
73 evas_obj_map_set(m)); 76 evas_obj_map_set(m));
74 } 77 }
75 FPS_STD(NAME); 78 FPS_STD(NAME);
diff --git a/src/bin/image_mask_11.c b/src/bin/image_mask_11.c
index 8a506bf..e7f12c3 100644
--- a/src/bin/image_mask_11.c
+++ b/src/bin/image_mask_11.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 120, 160), 41 evas_obj_image_fill_set(0, 0, 120, 160),
40 evas_obj_size_set(120, 160), 42 evas_obj_size_set(120, 160),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -66,6 +68,7 @@ static void _loop(double t, int f)
66 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 68 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
67 y = (win_h / 2) - (h / 2); 69 y = (win_h / 2) - (h / 2);
68 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 70 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
71 if (o_images[i])
69 eo_do(o_images[i], evas_obj_position_set(x, y)); 72 eo_do(o_images[i], evas_obj_position_set(x, y));
70 } 73 }
71 if (!m) m = evas_map_new(4); 74 if (!m) m = evas_map_new(4);
@@ -74,7 +77,8 @@ static void _loop(double t, int f)
74 (win_h - 420) / 2, 77 (win_h - 420) / 2,
75 720, 420, 0); 78 720, 420, 0);
76 evas_map_util_rotate(m, f, win_w / 2, win_h / 2); 79 evas_map_util_rotate(m, f, win_w / 2, win_h / 2);
77 eo_do(o_mask, evas_obj_map_enable_set(1), 80 if (o_mask)
81 eo_do(o_mask, evas_obj_map_enable_set(1),
78 evas_obj_map_set(m)); 82 evas_obj_map_set(m));
79 FPS_STD(NAME); 83 FPS_STD(NAME);
80} 84}
diff --git a/src/bin/image_mask_12.c b/src/bin/image_mask_12.c
index ec08616..a403894 100644
--- a/src/bin/image_mask_12.c
+++ b/src/bin/image_mask_12.c
@@ -25,18 +25,22 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas); 26 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_text_font_set("Vera-Bold", 150), 28 if (o)
29 eo_do(o, evas_obj_text_font_set("Vera-Bold", 150),
29 evas_obj_visibility_set(EINA_TRUE)); 30 evas_obj_visibility_set(EINA_TRUE));
30 31
31 for (i = 0; i < OBNUM; i++) 32 for (i = 0; i < OBNUM; i++)
32 { 33 {
33 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 34 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
34 o_images[i] = o; 35 o_images[i] = o;
35 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL), 36 if (o)
37 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL),
36 evas_obj_image_fill_set(0, 0, 500, 444), 38 evas_obj_image_fill_set(0, 0, 500, 444),
37 evas_obj_size_set(win_w * 4, win_h * 4)); 39 evas_obj_size_set(win_w * 4, win_h * 4));
38 // eo_do(o, evas_obj_clip_set(o_mask)); 40 // if (o)
39 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 41 eo_do(o, evas_obj_clip_set(o_mask));
42 if (o)
43 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
40 } 44 }
41 done = 0; 45 done = 0;
42} 46}
@@ -67,9 +71,11 @@ static void _loop(double t, int f)
67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (500 / 2); 71 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (500 / 2);
68 y = (win_h / 2) - (h / 2); 72 y = (win_h / 2) - (h / 2);
69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (444 / 2); 73 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (444 / 2);
74 if (o_images[i])
70 eo_do(o_images[i], evas_obj_position_set(x, y)); 75 eo_do(o_images[i], evas_obj_position_set(x, y));
71 } 76 }
72 eo_do(o_mask, evas_obj_text_text_set(strs[rnd() % (sizeof(strs) / sizeof(char *))]), 77 if (o_mask)
78 eo_do(o_mask, evas_obj_text_text_set(strs[rnd() % (sizeof(strs) / sizeof(char *))]),
73 evas_obj_color_set(255, 255, 255, 255), 79 evas_obj_color_set(255, 255, 255, 255),
74 evas_obj_size_get(&w, &h), 80 evas_obj_size_get(&w, &h),
75 evas_obj_position_set((win_w - w) / 2, (win_h - h) / 2)); 81 evas_obj_position_set((win_w - w) / 2, (win_h - h) / 2));
diff --git a/src/bin/image_mask_13.c b/src/bin/image_mask_13.c
index b84545c..44bc1e8 100644
--- a/src/bin/image_mask_13.c
+++ b/src/bin/image_mask_13.c
@@ -25,14 +25,16 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas); 26 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_text_font_set("Vera-Bold", 150), 28 if (o)
29 eo_do(o, evas_obj_text_font_set("Vera-Bold", 150),
29 evas_obj_visibility_set(EINA_TRUE)); 30 evas_obj_visibility_set(EINA_TRUE));
30 31
31 for (i = 0; i < OBNUM; i++) 32 for (i = 0; i < OBNUM; i++)
32 { 33 {
33 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 34 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
34 o_images[i] = o; 35 o_images[i] = o;
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 36 if (o)
37 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
36 evas_obj_image_fill_set(0, 0, 120, 160), 38 evas_obj_image_fill_set(0, 0, 120, 160),
37 evas_obj_size_set(120, 160), 39 evas_obj_size_set(120, 160),
38 evas_obj_visibility_set(EINA_TRUE), 40 evas_obj_visibility_set(EINA_TRUE),
@@ -67,9 +69,11 @@ static void _loop(double t, int f)
67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 69 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
68 y = (win_h / 2) - (h / 2); 70 y = (win_h / 2) - (h / 2);
69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 71 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
72 if (o_images[i])
70 eo_do(o_images[i], evas_obj_position_set(x, y)); 73 eo_do(o_images[i], evas_obj_position_set(x, y));
71 } 74 }
72 eo_do(o_mask, evas_obj_text_text_set(strs[rnd() % (sizeof(strs) / sizeof(char *))]), 75 if (o_mask)
76 eo_do(o_mask, evas_obj_text_text_set(strs[rnd() % (sizeof(strs) / sizeof(char *))]),
73 evas_obj_color_set(255, 255, 255, 255), 77 evas_obj_color_set(255, 255, 255, 255),
74 evas_obj_size_get(&w, &h), 78 evas_obj_size_get(&w, &h),
75 evas_obj_position_set((win_w - w) / 2, (win_h - h) / 2)); 79 evas_obj_position_set((win_w - w) / 2, (win_h - h) / 2));
diff --git a/src/bin/image_mask_14.c b/src/bin/image_mask_14.c
index 8f19836..235aecd 100644
--- a/src/bin/image_mask_14.c
+++ b/src/bin/image_mask_14.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 120, 160), 41 evas_obj_image_fill_set(0, 0, 120, 160),
40 evas_obj_size_set(120, 160), 42 evas_obj_size_set(120, 160),
41 evas_obj_image_smooth_scale_set(1), 43 evas_obj_image_smooth_scale_set(1),
@@ -68,7 +70,8 @@ static void _loop(double t, int f)
68 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 70 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
69 y = (win_h / 2) - (h / 2); 71 y = (win_h / 2) - (h / 2);
70 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 72 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
71 eo_do(o_images[i], evas_obj_position_set(x, y), 73 if (o_images[i])
74 eo_do(o_images[i], evas_obj_position_set(x, y),
72 evas_obj_size_set(w, h), 75 evas_obj_size_set(w, h),
73 evas_obj_image_fill_set(0, 0, w, h)); 76 evas_obj_image_fill_set(0, 0, w, h));
74 } 77 }
diff --git a/src/bin/image_mask_15.c b/src/bin/image_mask_15.c
index 5aa36e5..51f868d 100644
--- a/src/bin/image_mask_15.c
+++ b/src/bin/image_mask_15.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 120, 160), 41 evas_obj_image_fill_set(0, 0, 120, 160),
40 evas_obj_size_set(120, 160), 42 evas_obj_size_set(120, 160),
41 evas_obj_image_smooth_scale_set(0), 43 evas_obj_image_smooth_scale_set(0),
@@ -68,7 +70,8 @@ static void _loop(double t, int f)
68 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2); 70 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
69 y = (win_h / 2) - (h / 2); 71 y = (win_h / 2) - (h / 2);
70 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2); 72 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
71 eo_do(o_images[i], evas_obj_position_set(x, y), 73 if (o_images[i])
74 eo_do(o_images[i], evas_obj_position_set(x, y),
72 evas_obj_size_set(w, h), 75 evas_obj_size_set(w, h),
73 evas_obj_image_fill_set(0, 0, w, h)); 76 evas_obj_image_fill_set(0, 0, w, h));
74 } 77 }
diff --git a/src/bin/image_mask_2.c b/src/bin/image_mask_2.c
index 4f3de0c..ac8ad56 100644
--- a/src/bin/image_mask_2.c
+++ b/src/bin/image_mask_2.c
@@ -25,18 +25,21 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
31 evas_obj_visibility_set(EINA_TRUE)); 32 evas_obj_visibility_set(EINA_TRUE));
32 33
33 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 34 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
34 o_images[i + 1] = o; 35 o_images[i + 1] = o;
35 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL), 36 if (o)
37 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL),
36 evas_obj_image_fill_set(0, 0, 120, 160), 38 evas_obj_image_fill_set(0, 0, 120, 160),
37 evas_obj_size_set(120, 160), 39 evas_obj_size_set(120, 160),
38 evas_obj_visibility_set(EINA_TRUE)); 40 evas_obj_visibility_set(EINA_TRUE));
39 eo_do(o_images[i], evas_obj_clip_set(o)); 41 if (o_images[i])
42 eo_do(o_images[i], evas_obj_clip_set(o));
40 } 43 }
41 done = 0; 44 done = 0;
42} 45}
@@ -61,7 +64,9 @@ static void _loop(double t, int f)
61 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 64 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
62 y = (win_h / 2) - (h / 2); 65 y = (win_h / 2) - (h / 2);
63 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 66 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
67 if (o_images[i])
64 eo_do(o_images[i], evas_obj_position_set(x, y)); 68 eo_do(o_images[i], evas_obj_position_set(x, y));
69 if (o_images[i + 1])
65 eo_do(o_images[i + 1], evas_obj_position_set(x, y)); 70 eo_do(o_images[i + 1], evas_obj_position_set(x, y));
66 } 71 }
67 FPS_STD(NAME); 72 FPS_STD(NAME);
diff --git a/src/bin/image_mask_3.c b/src/bin/image_mask_3.c
index cb47660..1a1a0d1 100644
--- a/src/bin/image_mask_3.c
+++ b/src/bin/image_mask_3.c
@@ -25,18 +25,21 @@ static void _setup(void)
25 { 25 {
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_images[i] = o; 27 o_images[i] = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
31 evas_obj_visibility_set(EINA_TRUE)); 32 evas_obj_visibility_set(EINA_TRUE));
32 33
33 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 34 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
34 o_images[i + 1] = o; 35 o_images[i + 1] = o;
35 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 36 if (o)
37 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
36 evas_obj_image_fill_set(0, 0, 120, 160), 38 evas_obj_image_fill_set(0, 0, 120, 160),
37 evas_obj_size_set(120, 160), 39 evas_obj_size_set(120, 160),
38 evas_obj_visibility_set(EINA_TRUE)); 40 evas_obj_visibility_set(EINA_TRUE));
39 eo_do(o_images[i], evas_obj_clip_set(o)); 41 if (o_images[i])
42 eo_do(o_images[i], evas_obj_clip_set(o));
40 } 43 }
41 done = 0; 44 done = 0;
42} 45}
@@ -61,7 +64,9 @@ static void _loop(double t, int f)
61 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 64 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
62 y = (win_h / 2) - (h / 2); 65 y = (win_h / 2) - (h / 2);
63 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 66 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
67 if (o_images[i])
64 eo_do(o_images[i], evas_obj_position_set(x, y)); 68 eo_do(o_images[i], evas_obj_position_set(x, y));
69 if (o_images[i + 1])
65 eo_do(o_images[i + 1], evas_obj_position_set(x, y)); 70 eo_do(o_images[i + 1], evas_obj_position_set(x, y));
66 } 71 }
67 FPS_STD(NAME); 72 FPS_STD(NAME);
diff --git a/src/bin/image_mask_4.c b/src/bin/image_mask_4.c
index 2636f9b..90861f0 100644
--- a/src/bin/image_mask_4.c
+++ b/src/bin/image_mask_4.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 120, 160), 41 evas_obj_image_fill_set(0, 0, 120, 160),
40 evas_obj_size_set(120, 160), 42 evas_obj_size_set(120, 160),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -65,6 +67,7 @@ static void _loop(double t, int f)
65 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
66 y = (win_h / 2) - (h / 2); 68 y = (win_h / 2) - (h / 2);
67 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
70 if (o_images[i])
68 eo_do(o_images[i], evas_obj_position_set(x, y)); 71 eo_do(o_images[i], evas_obj_position_set(x, y));
69 } 72 }
70 FPS_STD(NAME); 73 FPS_STD(NAME);
diff --git a/src/bin/image_mask_5.c b/src/bin/image_mask_5.c
index c112879..ed6956d 100644
--- a/src/bin/image_mask_5.c
+++ b/src/bin/image_mask_5.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
31 evas_obj_position_set((win_w - 120) / 2, (win_h - 160) / 2), 32 evas_obj_position_set((win_w - 120) / 2, (win_h - 160) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 120, 160), 41 evas_obj_image_fill_set(0, 0, 120, 160),
40 evas_obj_size_set(120, 160), 42 evas_obj_size_set(120, 160),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -65,6 +67,7 @@ static void _loop(double t, int f)
65 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
66 y = (win_h / 2) - (h / 2); 68 y = (win_h / 2) - (h / 2);
67 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
70 if (o_images[i])
68 eo_do(o_images[i], evas_obj_position_set(x, y)); 71 eo_do(o_images[i], evas_obj_position_set(x, y));
69 } 72 }
70 FPS_STD(NAME); 73 FPS_STD(NAME);
diff --git a/src/bin/image_mask_6.c b/src/bin/image_mask_6.c
index d6dff93..eefb093 100644
--- a/src/bin/image_mask_6.c
+++ b/src/bin/image_mask_6.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 120 / 2, 160 / 2), 41 evas_obj_image_fill_set(0, 0, 120 / 2, 160 / 2),
40 evas_obj_size_set(120 / 2, 160 / 2), 42 evas_obj_size_set(120 / 2, 160 / 2),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -65,6 +67,7 @@ static void _loop(double t, int f)
65 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
66 y = (win_h / 2) - (h / 2); 68 y = (win_h / 2) - (h / 2);
67 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
70 if (o_images[i])
68 eo_do(o_images[i], evas_obj_position_set(x, y)); 71 eo_do(o_images[i], evas_obj_position_set(x, y));
69 } 72 }
70 FPS_STD(NAME); 73 FPS_STD(NAME);
diff --git a/src/bin/image_mask_7.c b/src/bin/image_mask_7.c
index cb18ed5..d197ce8 100644
--- a/src/bin/image_mask_7.c
+++ b/src/bin/image_mask_7.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-2.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 120, 160), 30 evas_obj_image_fill_set(0, 0, 120, 160),
30 evas_obj_size_set(120, 160), 31 evas_obj_size_set(120, 160),
31 evas_obj_position_set((win_w - 120) / 2, (win_h - 160) / 2), 32 evas_obj_position_set((win_w - 120) / 2, (win_h - 160) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 120, 160), 41 evas_obj_image_fill_set(0, 0, 120, 160),
40 evas_obj_size_set(120, 160), 42 evas_obj_size_set(120, 160),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -65,11 +67,13 @@ static void _loop(double t, int f)
65 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
66 y = (win_h / 2) - (h / 2); 68 y = (win_h / 2) - (h / 2);
67 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
70 if (o_images[i])
68 eo_do(o_images[i], evas_obj_position_set(x, y)); 71 eo_do(o_images[i], evas_obj_position_set(x, y));
69 } 72 }
70 w = 10 + (110 + (110 * sin((double)(f) / (14.3 * SLOW)))); 73 w = 10 + (110 + (110 * sin((double)(f) / (14.3 * SLOW))));
71 h = 10 + (150 + (150 * sin((double)(f) / (21.7 * SLOW)))); 74 h = 10 + (150 + (150 * sin((double)(f) / (21.7 * SLOW))));
72 eo_do(o_mask, evas_obj_image_fill_set(0, 0, w, h), 75 if (o_mask)
76 eo_do(o_mask, evas_obj_image_fill_set(0, 0, w, h),
73 evas_obj_size_set(w, h), 77 evas_obj_size_set(w, h),
74 evas_obj_position_set((win_w - w) / 2, (win_h - h) / 2)); 78 evas_obj_position_set((win_w - w) / 2, (win_h - h) / 2));
75 FPS_STD(NAME); 79 FPS_STD(NAME);
diff --git a/src/bin/image_mask_8.c b/src/bin/image_mask_8.c
index 851acb6..3e027d2 100644
--- a/src/bin/image_mask_8.c
+++ b/src/bin/image_mask_8.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 500, 444), 41 evas_obj_image_fill_set(0, 0, 500, 444),
40 evas_obj_size_set(win_w * 4, win_h * 4), 42 evas_obj_size_set(win_w * 4, win_h * 4),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -65,6 +67,7 @@ static void _loop(double t, int f)
65 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (500 / 2); 67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (500 / 2);
66 y = (win_h / 2) - (h / 2); 68 y = (win_h / 2) - (h / 2);
67 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (444 / 2); 69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (444 / 2);
70 if (o_images[i])
68 eo_do(o_images[i], evas_obj_position_set(x, y)); 71 eo_do(o_images[i], evas_obj_position_set(x, y));
69 } 72 }
70 FPS_STD(NAME); 73 FPS_STD(NAME);
diff --git a/src/bin/image_mask_9.c b/src/bin/image_mask_9.c
index 2483fb4..da7e0ff 100644
--- a/src/bin/image_mask_9.c
+++ b/src/bin/image_mask_9.c
@@ -25,7 +25,8 @@ static void _setup(void)
25 25
26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 26 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
27 o_mask = o; 27 o_mask = o;
28 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL), 28 if (o)
29 eo_do(o, evas_obj_image_file_set(build_path("e-logo-mask.png"), NULL),
29 evas_obj_image_fill_set(0, 0, 720, 420), 30 evas_obj_image_fill_set(0, 0, 720, 420),
30 evas_obj_size_set(720, 420), 31 evas_obj_size_set(720, 420),
31 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2), 32 evas_obj_position_set((win_w - 720) / 2, (win_h - 420) / 2),
@@ -35,7 +36,8 @@ static void _setup(void)
35 { 36 {
36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 37 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
37 o_images[i] = o; 38 o_images[i] = o;
38 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL), 39 if (o)
40 eo_do(o, evas_obj_image_file_set(build_path("texture.png"), NULL),
39 evas_obj_image_fill_set(0, 0, 500, 444), 41 evas_obj_image_fill_set(0, 0, 500, 444),
40 evas_obj_size_set(win_w * 4, win_h * 4), 42 evas_obj_size_set(win_w * 4, win_h * 4),
41 evas_obj_clip_set(o_mask), 43 evas_obj_clip_set(o_mask),
@@ -66,6 +68,7 @@ static void _loop(double t, int f)
66 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (500 / 2); 68 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (500 / 2);
67 y = (win_h / 2) - (h / 2); 69 y = (win_h / 2) - (h / 2);
68 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (444 / 2); 70 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (444 / 2);
71 if (o_images[i])
69 eo_do(o_images[i], evas_obj_position_set(x, y)); 72 eo_do(o_images[i], evas_obj_position_set(x, y));
70 } 73 }
71 if (!m) m = evas_map_new(4); 74 if (!m) m = evas_map_new(4);
@@ -75,7 +78,8 @@ static void _loop(double t, int f)
75 (win_h - 420) / 2, 78 (win_h - 420) / 2,
76 720, 420, 0); 79 720, 420, 0);
77 evas_map_util_rotate(m, f, win_w / 2, win_h / 2); 80 evas_map_util_rotate(m, f, win_w / 2, win_h / 2);
78 eo_do(o_mask, evas_obj_map_enable_set(1), 81 if (o_mask)
82 eo_do(o_mask, evas_obj_map_enable_set(1),
79 evas_obj_map_set(m)); 83 evas_obj_map_set(m));
80 FPS_STD(NAME); 84 FPS_STD(NAME);
81} 85}
diff --git a/src/bin/image_quality_scale.c b/src/bin/image_quality_scale.c
index 0088528..9804a3d 100644
--- a/src/bin/image_quality_scale.c
+++ b/src/bin/image_quality_scale.c
@@ -26,7 +26,8 @@ static void _setup(void)
26 { 26 {
27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 27 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
28 o_images[i] = o; 28 o_images[i] = o;
29 eo_do(o, evas_obj_image_file_set(build_path("tp.png"), NULL), 29 if (o)
30 eo_do(o, evas_obj_image_file_set(build_path("tp.png"), NULL),
30 evas_obj_image_fill_set(0, 0, 640, 480), 31 evas_obj_image_fill_set(0, 0, 640, 480),
31 evas_obj_size_set(640, 480), 32 evas_obj_size_set(640, 480),
32 evas_obj_visibility_set(EINA_TRUE)); 33 evas_obj_visibility_set(EINA_TRUE));
@@ -54,6 +55,7 @@ static void _loop(double t, int f)
54 h *= (f / 100.0) * 4.0; 55 h *= (f / 100.0) * 4.0;
55 x = (win_w / 2) - (w / 2); 56 x = (win_w / 2) - (w / 2);
56 y = (win_h / 2) - (h / 2); 57 y = (win_h / 2) - (h / 2);
58 if (o_images[i])
57 eo_do(o_images[i], evas_obj_position_set(x, y), 59 eo_do(o_images[i], evas_obj_position_set(x, y),
58 evas_obj_size_set(w, h), 60 evas_obj_size_set(w, h),
59 evas_obj_image_fill_set(0, 0, w, h)); 61 evas_obj_image_fill_set(0, 0, w, h));
diff --git a/src/bin/main.c b/src/bin/main.c
index 02852af..6aeef8e 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1384,7 +1384,8 @@ main(int argc, char **argv)
1384 { 1384 {
1385 Eina_Bool ret = EINA_FALSE; 1385 Eina_Bool ret = EINA_FALSE;
1386 1386
1387 eo_do(evas, 1387 if (evas)
1388 eo_do(evas,
1388 evas_canvas_sync(), 1389 evas_canvas_sync(),
1389 evas_canvas_render_async(NULL, NULL, &ret)); 1390 evas_canvas_render_async(NULL, NULL, &ret));
1390 } 1391 }
diff --git a/src/bin/poly_blend.c b/src/bin/poly_blend.c
index 6d8a6d5..4e0101c 100644
--- a/src/bin/poly_blend.c
+++ b/src/bin/poly_blend.c
@@ -19,21 +19,25 @@ static Evas_Object *o_images[OBNUM];
19static void 19static void
20poly(Evas_Object *o, int type, Evas_Coord x, Evas_Coord y) 20poly(Evas_Object *o, int type, Evas_Coord x, Evas_Coord y)
21{ 21{
22 eo_do(o, evas_obj_polygon_points_clear()); 22 if (o)
23 eo_do(o, evas_obj_polygon_points_clear());
23 switch (type % 4) 24 switch (type % 4)
24 { 25 {
25 case 0: /* triangle */ 26 case 0: /* triangle */
27 if (o)
26 eo_do(o, evas_obj_polygon_point_add(x + 50 , y + 0), 28 eo_do(o, evas_obj_polygon_point_add(x + 50 , y + 0),
27 evas_obj_polygon_point_add(x + 100, y + 100), 29 evas_obj_polygon_point_add(x + 100, y + 100),
28 evas_obj_polygon_point_add(x + 0 , y + 100)); 30 evas_obj_polygon_point_add(x + 0 , y + 100));
29 break; 31 break;
30 case 1: /* square */ 32 case 1: /* square */
33 if (o)
31 eo_do(o, evas_obj_polygon_point_add(x + 0 , y + 0), 34 eo_do(o, evas_obj_polygon_point_add(x + 0 , y + 0),
32 evas_obj_polygon_point_add(x + 100, y + 0), 35 evas_obj_polygon_point_add(x + 100, y + 0),
33 evas_obj_polygon_point_add(x + 100, y + 100), 36 evas_obj_polygon_point_add(x + 100, y + 100),
34 evas_obj_polygon_point_add(x + 0 , y + 100)); 37 evas_obj_polygon_point_add(x + 0 , y + 100));
35 break; 38 break;
36 case 2: /* hex */ 39 case 2: /* hex */
40 if (o)
37 eo_do(o, evas_obj_polygon_point_add(x + 50 , y + 0), 41 eo_do(o, evas_obj_polygon_point_add(x + 50 , y + 0),
38 evas_obj_polygon_point_add(x + 100, y + 30), 42 evas_obj_polygon_point_add(x + 100, y + 30),
39 evas_obj_polygon_point_add(x + 100, y + 70), 43 evas_obj_polygon_point_add(x + 100, y + 70),
@@ -42,6 +46,7 @@ poly(Evas_Object *o, int type, Evas_Coord x, Evas_Coord y)
42 evas_obj_polygon_point_add(x + 0 , y + 30)); 46 evas_obj_polygon_point_add(x + 0 , y + 30));
43 break; 47 break;
44 case 3: /* star */ 48 case 3: /* star */
49 if (o)
45 eo_do(o, evas_obj_polygon_point_add(x + 50 , y + 0), 50 eo_do(o, evas_obj_polygon_point_add(x + 50 , y + 0),
46 evas_obj_polygon_point_add(x + 60 , y + 40), 51 evas_obj_polygon_point_add(x + 60 , y + 40),
47 evas_obj_polygon_point_add(x + 90 , y + 30), 52 evas_obj_polygon_point_add(x + 90 , y + 30),
@@ -74,6 +79,7 @@ static void _setup(void)
74 r = ((rnd()&0xff) * a) / 255; 79 r = ((rnd()&0xff) * a) / 255;
75 g = ((rnd()&0xff) * a) / 255; 80 g = ((rnd()&0xff) * a) / 255;
76 b = ((rnd()&0xff) * a) / 255; 81 b = ((rnd()&0xff) * a) / 255;
82 if (o)
77 eo_do(o, evas_obj_color_set(r, g, b, a), 83 eo_do(o, evas_obj_color_set(r, g, b, a),
78 evas_obj_visibility_set(EINA_TRUE)); 84 evas_obj_visibility_set(EINA_TRUE));
79 poly(o, i, 0, 0); 85 poly(o, i, 0, 0);
@@ -98,11 +104,13 @@ static void _loop(double t, int f)
98 for (i = 0; i < OBNUM; i++) 104 for (i = 0; i < OBNUM; i++)
99 { 105 {
100 o = o_images[i]; 106 o = o_images[i];
101 eo_do(o, evas_obj_size_get(&w, &h)); 107 if (o)
108 eo_do(o, evas_obj_size_get(&w, &h));
102 x = (win_w / 2) - (w / 2); 109 x = (win_w / 2) - (w / 2);
103 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (win_w / 4); 110 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (win_w / 4);
104 y = (win_h / 2) - (h / 2); 111 y = (win_h / 2) - (h / 2);
105 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (win_h / 4); 112 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (win_h / 4);
113 if (o)
106 eo_do(o, evas_obj_position_set(x, y)); 114 eo_do(o, evas_obj_position_set(x, y));
107 } 115 }
108 FPS_STD(NAME); 116 FPS_STD(NAME);
diff --git a/src/bin/proxy_image.c b/src/bin/proxy_image.c
index 3d976bd..72a8af3 100644
--- a/src/bin/proxy_image.c
+++ b/src/bin/proxy_image.c
@@ -23,7 +23,8 @@ static void _setup(void)
23 Evas_Object *o,*src; 23 Evas_Object *o,*src;
24 24
25 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 25 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
26 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 26 if (o)
27 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
27 evas_obj_image_fill_set(0, 0, 120, 160), 28 evas_obj_image_fill_set(0, 0, 120, 160),
28 evas_obj_size_set(120, 160), 29 evas_obj_size_set(120, 160),
29 evas_obj_visibility_set(EINA_TRUE)); 30 evas_obj_visibility_set(EINA_TRUE));
@@ -34,6 +35,7 @@ static void _setup(void)
34 { 35 {
35 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 36 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
36 o_images[i] = o; 37 o_images[i] = o;
38 if (o)
37 eo_do(o, evas_obj_image_source_set(src, NULL), 39 eo_do(o, evas_obj_image_source_set(src, NULL),
38 evas_obj_size_set(120, 160), 40 evas_obj_size_set(120, 160),
39 evas_obj_image_fill_set(0,0,120,160), 41 evas_obj_image_fill_set(0,0,120,160),
@@ -62,6 +64,7 @@ static void _loop(double t, int f)
62 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 64 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
63 y = (win_h / 2) - (h / 2); 65 y = (win_h / 2) - (h / 2);
64 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 66 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
67 if (o_images[i])
65 eo_do(o_images[i], evas_obj_position_set(x, y)); 68 eo_do(o_images[i], evas_obj_position_set(x, y));
66 } 69 }
67 FPS_STD(NAME); 70 FPS_STD(NAME);
diff --git a/src/bin/proxy_image_offscreen.c b/src/bin/proxy_image_offscreen.c
index 5693ed4..be9598f 100644
--- a/src/bin/proxy_image_offscreen.c
+++ b/src/bin/proxy_image_offscreen.c
@@ -27,7 +27,8 @@ static void _setup(void)
27 Evas_Object *o,*src; 27 Evas_Object *o,*src;
28 28
29 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 29 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
30 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL), 30 if (o)
31 eo_do(o, evas_obj_image_file_set(build_path("logo.png"), NULL),
31 evas_obj_image_fill_set(0, 0, 120, 160), 32 evas_obj_image_fill_set(0, 0, 120, 160),
32 evas_obj_size_set(120, 160), 33 evas_obj_size_set(120, 160),
33 evas_obj_position_set(-400, -300)); 34 evas_obj_position_set(-400, -300));
@@ -37,6 +38,7 @@ static void _setup(void)
37 { 38 {
38 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 39 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
39 o_images[i] = o; 40 o_images[i] = o;
41 if (o)
40 eo_do(o, evas_obj_image_source_set(src, NULL), 42 eo_do(o, evas_obj_image_source_set(src, NULL),
41 evas_obj_size_set(120, 160), 43 evas_obj_size_set(120, 160),
42 evas_obj_image_fill_set(0,0,120,160), 44 evas_obj_image_fill_set(0,0,120,160),
@@ -65,6 +67,7 @@ static void _loop(double t, int f)
65 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 67 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
66 y = (win_h / 2) - (h / 2); 68 y = (win_h / 2) - (h / 2);
67 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2); 69 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
70 if (o_images[i])
68 eo_do(o_images[i], evas_obj_position_set(x, y)); 71 eo_do(o_images[i], evas_obj_position_set(x, y));
69 } 72 }
70 FPS_STD(NAME); 73 FPS_STD(NAME);
diff --git a/src/bin/proxy_text_fixed.c b/src/bin/proxy_text_fixed.c
index 4a4a358..234f099 100644
--- a/src/bin/proxy_text_fixed.c
+++ b/src/bin/proxy_text_fixed.c
@@ -29,6 +29,7 @@ static void _setup(void)
29 { 29 {
30 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas); 30 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas);
31 o_texts[i] = o; 31 o_texts[i] = o;
32 if (o)
32 eo_do(o, evas_obj_text_font_set("Vera-Bold", 20), 33 eo_do(o, evas_obj_text_font_set("Vera-Bold", 20),
33 evas_obj_text_text_set("This is a test string"), 34 evas_obj_text_text_set("This is a test string"),
34 evas_obj_text_style_set(st), 35 evas_obj_text_style_set(st),
@@ -46,9 +47,12 @@ static void _setup(void)
46 s = o_texts[i % st]; 47 s = o_texts[i % st];
47 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 48 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
48 o_texts[i] = o; 49 o_texts[i] = o;
50 if (o)
49 eo_do(o, evas_obj_image_source_set(s, NULL)); 51 eo_do(o, evas_obj_image_source_set(s, NULL));
50 /* FIXME s == NULL*/ 52 /* FIXME s == NULL*/
53 if (s)
51 eo_do(s, evas_obj_size_get(&w, &h)); 54 eo_do(s, evas_obj_size_get(&w, &h));
55 if (o)
52 eo_do(o, evas_obj_size_set(w, h), 56 eo_do(o, evas_obj_size_set(w, h),
53 evas_obj_image_fill_set(0, 0, w, h), 57 evas_obj_image_fill_set(0, 0, w, h),
54 evas_obj_visibility_set(EINA_TRUE)); 58 evas_obj_visibility_set(EINA_TRUE));
@@ -71,11 +75,13 @@ static void _loop(double t, int f)
71 Evas_Coord x, y, w, h; 75 Evas_Coord x, y, w, h;
72 for (i = 0; i < OBNUM; i++) 76 for (i = 0; i < OBNUM; i++)
73 { 77 {
78 if (o_texts[i])
74 eo_do(o_texts[i], evas_obj_size_get(&w, &h)); 79 eo_do(o_texts[i], evas_obj_size_get(&w, &h));
75 x = (win_w / 2) - (w / 2); 80 x = (win_w / 2) - (w / 2);
76 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2); 81 x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
77 y = (win_h / 2) - (h / 2); 82 y = (win_h / 2) - (h / 2);
78 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (w / 2); 83 y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (w / 2);
84 if (o_texts[i])
79 eo_do(o_texts[i], evas_obj_position_set(x, y)); 85 eo_do(o_texts[i], evas_obj_position_set(x, y));
80 } 86 }
81 FPS_STD(NAME); 87 FPS_STD(NAME);
diff --git a/src/bin/proxy_text_random.c b/src/bin/proxy_text_random.c
index 1edfd96..5b7790b 100644
--- a/src/bin/proxy_text_random.c
+++ b/src/bin/proxy_text_random.c
@@ -32,33 +32,43 @@ static void _setup(void)
32 srnd(); 32 srnd();
33 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas); 33 o = eo_add(EVAS_OBJ_TEXT_CLASS, evas);
34 o_texts[0] = o; 34 o_texts[0] = o;
35 eo_do(o, evas_obj_text_font_set("Vera-Bold", 20)); 35 if (o)
36 eo_do(o, evas_obj_text_font_set("Vera-Bold", 20));
36 snprintf(buf, sizeof(buf), "%s %s %s %s.", 37 snprintf(buf, sizeof(buf), "%s %s %s %s.",
37 strs[rnd() % (sizeof(strs) / sizeof(char *))], 38 strs[rnd() % (sizeof(strs) / sizeof(char *))],
38 strs[rnd() % (sizeof(strs) / sizeof(char *))], 39 strs[rnd() % (sizeof(strs) / sizeof(char *))],
39 strs[rnd() % (sizeof(strs) / sizeof(char *))], 40 strs[rnd() % (sizeof(strs) / sizeof(char *))],
40 strs[rnd() % (sizeof(strs) / sizeof(char *))]); 41 strs[rnd() % (sizeof(strs) / sizeof(char *))]);
41 eo_do(o, evas_obj_text_text_set(buf)); 42 if (o)
42 eo_do(o, evas_obj_color_set(0, 0, 0, 255)); 43 eo_do(o, evas_obj_text_text_set(buf));
43 eo_do(o, evas_obj_size_get(&w, &h)); 44 if (o)
45 eo_do(o, evas_obj_color_set(0, 0, 0, 255));
46 if (o)
47 eo_do(o, evas_obj_size_get(&w, &h));
44 x = (win_w / 2) - (w / 2); 48 x = (win_w / 2) - (w / 2);
45 x += sin((double)((i * 13)) / (36.7 * SLOW)) * (w / 2); 49 x += sin((double)((i * 13)) / (36.7 * SLOW)) * (w / 2);
46 y = (win_h / 2) - (h / 2); 50 y = (win_h / 2) - (h / 2);
47 y += cos((double)((i * 28)) / (43.8 * SLOW)) * (w / 2); 51 y += cos((double)((i * 28)) / (43.8 * SLOW)) * (w / 2);
48 eo_do(o, evas_obj_position_set(x, y)); 52 if (o)
49 eo_do(o, evas_obj_visibility_set(EINA_TRUE)); 53 eo_do(o, evas_obj_position_set(x, y));
54 if (o)
55 eo_do(o, evas_obj_visibility_set(EINA_TRUE));
50 for (i = 1 ; i < OBNUM ; i ++) 56 for (i = 1 ; i < OBNUM ; i ++)
51 { 57 {
52 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); 58 o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
53 o_texts[i] = o; 59 o_texts[i] = o;
60 if (o)
54 eo_do(o, evas_obj_image_source_set(o_texts[0], NULL)); 61 eo_do(o, evas_obj_image_source_set(o_texts[0], NULL));
62 if (o_texts[0])
55 eo_do(o_texts[0], evas_obj_size_get(&w, &h)); 63 eo_do(o_texts[0], evas_obj_size_get(&w, &h));
64 if (o)
56 eo_do(o, evas_obj_size_set(w, h), 65 eo_do(o, evas_obj_size_set(w, h),
57 evas_obj_image_fill_set(0, 0, w, h)); 66 evas_obj_image_fill_set(0, 0, w, h));
58 x = (win_w / 2) - (w / 2); 67 x = (win_w / 2) - (w / 2);