Adjust according to recent Eo4 changes.

devs/lauromoura/reporting
Tom Hacohen 7 years ago
parent 1c72554acc
commit 088df1425e
  1. 17
      src/bin/about.c
  2. 2
      src/bin/font_effect_blur_alpha.c
  3. 2
      src/bin/font_effect_blur_color.c
  4. 14
      src/bin/image_blend_border.c
  5. 16
      src/bin/image_blend_border_recolor.c
  6. 14
      src/bin/image_blend_fade_pow2_unscaled.c
  7. 13
      src/bin/image_blend_fade_unscaled.c
  8. 15
      src/bin/image_blend_many_smooth_same_scaled.c
  9. 14
      src/bin/image_blend_nearest_same_scaled.c
  10. 14
      src/bin/image_blend_nearest_scaled.c
  11. 14
      src/bin/image_blend_nearest_solid_same_scaled.c
  12. 14
      src/bin/image_blend_nearest_solid_scaled.c
  13. 16
      src/bin/image_blend_occlude1.c
  14. 16
      src/bin/image_blend_occlude1_few.c
  15. 16
      src/bin/image_blend_occlude1_many.c
  16. 16
      src/bin/image_blend_occlude1_very_many.c
  17. 16
      src/bin/image_blend_occlude2.c
  18. 16
      src/bin/image_blend_occlude2_few.c
  19. 16
      src/bin/image_blend_occlude2_many.c
  20. 16
      src/bin/image_blend_occlude2_very_many.c
  21. 16
      src/bin/image_blend_occlude3.c
  22. 16
      src/bin/image_blend_occlude3_few.c
  23. 16
      src/bin/image_blend_occlude3_many.c
  24. 16
      src/bin/image_blend_occlude3_very_many.c
  25. 14
      src/bin/image_blend_smooth_same_scaled.c
  26. 14
      src/bin/image_blend_smooth_scaled.c
  27. 14
      src/bin/image_blend_smooth_solid_same_scaled.c
  28. 14
      src/bin/image_blend_smooth_solid_scaled.c
  29. 14
      src/bin/image_blend_solid_border.c
  30. 14
      src/bin/image_blend_solid_fade_pow2_unscaled.c
  31. 14
      src/bin/image_blend_solid_fade_unscaled.c
  32. 16
      src/bin/image_blend_solid_middle_border.c
  33. 15
      src/bin/image_blend_solid_middle_unscaled.c
  34. 11
      src/bin/image_blend_solid_unscaled.c
  35. 11
      src/bin/image_blend_unscaled.c
  36. 20
      src/bin/image_crossfade.c
  37. 31
      src/bin/image_data_argb.c
  38. 31
      src/bin/image_data_argb_alpha.c
  39. 26
      src/bin/image_data_ycbcr601pl.c
  40. 24
      src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
  41. 22
      src/bin/image_data_ycbcr601pl_map_solid_rotate.c
  42. 34
      src/bin/image_data_ycbcr601pl_wide_stride.c
  43. 24
      src/bin/image_map_3d_1.c
  44. 22
      src/bin/image_map_3d_2.c
  45. 20
      src/bin/image_map_3d_3.c
  46. 18
      src/bin/image_map_3d_4.c
  47. 24
      src/bin/image_map_3d_5.c
  48. 24
      src/bin/image_map_3d_6.c
  49. 40
      src/bin/image_map_3d_flow.c
  50. 16
      src/bin/image_map_color_alpha_nearest_rotate.c
  51. 16
      src/bin/image_map_color_alpha_nearest_solid_rotate.c
  52. 14
      src/bin/image_map_color_alpha_rotate.c
  53. 14
      src/bin/image_map_color_alpha_solid_rotate.c
  54. 16
      src/bin/image_map_color_nearest_rotate.c
  55. 16
      src/bin/image_map_color_nearest_solid_rotate.c
  56. 14
      src/bin/image_map_color_rotate.c
  57. 14
      src/bin/image_map_color_solid_rotate.c
  58. 16
      src/bin/image_map_nearest_rotate.c
  59. 16
      src/bin/image_map_nearest_solid_rotate.c
  60. 12
      src/bin/image_map_rotate.c
  61. 14
      src/bin/image_map_solid_rotate.c
  62. 26
      src/bin/image_mask.c
  63. 31
      src/bin/image_mask_10.c
  64. 33
      src/bin/image_mask_11.c
  65. 35
      src/bin/image_mask_12.c
  66. 35
      src/bin/image_mask_13.c
  67. 26
      src/bin/image_mask_2.c
  68. 26
      src/bin/image_mask_3.c
  69. 28
      src/bin/image_mask_4.c
  70. 28
      src/bin/image_mask_5.c
  71. 28
      src/bin/image_mask_6.c
  72. 35
      src/bin/image_mask_7.c
  73. 28
      src/bin/image_mask_8.c
  74. 33
      src/bin/image_mask_9.c
  75. 14
      src/bin/image_quality_scale.c
  76. 14
      src/bin/line_blend.c
  77. 56
      src/bin/poly_blend.c
  78. 20
      src/bin/proxy_image.c
  79. 18
      src/bin/proxy_image_offscreen.c
  80. 34
      src/bin/proxy_text_fixed.c
  81. 37
      src/bin/proxy_text_random.c
  82. 10
      src/bin/rect_blend.c
  83. 8
      src/bin/rect_blend_few.c
  84. 10
      src/bin/rect_blend_pow2.c
  85. 8
      src/bin/rect_blend_pow2_few.c
  86. 10
      src/bin/rect_solid.c
  87. 8
      src/bin/rect_solid_few.c
  88. 47
      src/bin/snapshot_widgets_file_icons.c
  89. 12
      src/bin/text_basic.c
  90. 14
      src/bin/text_change.c
  91. 23
      src/bin/text_styles.c
  92. 22
      src/bin/text_styles_different_strings.c
  93. 22
      src/bin/textblock_auto_align.c
  94. 44
      src/bin/textblock_basic.c
  95. 22
      src/bin/textblock_intl.c
  96. 21
      src/bin/textblock_text_append.c
  97. 188
      src/bin/ui.c
  98. 20
      src/bin/vg_basic_circle.c
  99. 31
      src/bin/vg_basic_gradient.c
  100. 20
      src/bin/vg_basic_rect.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -9,9 +9,9 @@ _setup(void)
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
eo_do(o, efl_gfx_position_set(10, 40),
efl_gfx_size_set(win_w - 20, win_h - 50),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_position_set(o, 10, 40);
efl_gfx_size_set(o, win_w - 20, win_h - 50);
efl_gfx_visible_set(o, EINA_TRUE);
st = evas_textblock_style_new();
evas_textblock_style_set
(st,
@ -21,10 +21,10 @@ _setup(void)
"p='+ font=Vera font_size=10 align=left'"
"/p='- \n \n'"
);
eo_do(o, evas_obj_textblock_style_set(st),
evas_obj_textblock_clear(),
evas_obj_textblock_text_markup_set
("<center>"
evas_obj_textblock_style_set(o, st);
evas_obj_textblock_clear(o);
evas_obj_textblock_text_markup_set
(o, "<center>"
"Enlightenment used to be a window manager project, but "
"since has changed a lot to become a miniature desktop and mobile "
"device environment all of its own. It is now made up of many "
@ -40,8 +40,7 @@ _setup(void)
"DirectFB and other targets to boot. It handles high level graphic "
"layout descriptions that applications set up, dealing with the hard "
"work of doing the drawing for them."
"</center>"
));
"</center>");
evas_textblock_style_free(st);
o_text = o;
ui_fps(0.0);

@ -54,7 +54,7 @@ static void _loop(double t, int f)
char buf[256];
char *str = "padding_set({ %d });blur({%d,color=black });";
sprintf(buf, str, MAX_BLUR, ((f % MAX_BLUR) + 1));
eo_do(text, efl_gfx_filter_program_set(buf, "test"));
efl_gfx_filter_program_set(text, buf, "test");
FPS_STD(NAME);
}

@ -56,7 +56,7 @@ static void _loop(double t, int f)
char buf[256];
char *str = "a = buffer({ 'rgba' }); padding_set({ %d }); blend({dst=a, color=darkblue});blur({%d,src=a});";
sprintf(buf, str, MAX_BLUR, ((f % MAX_BLUR) + 1));
eo_do(text, efl_gfx_filter_program_set(buf, "test"));
efl_gfx_filter_program_set(text, buf, "test");
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("bar.png"), NULL),
evas_obj_image_border_set(6, 6, 6, 6),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("bar.png"), NULL);
evas_obj_image_border_set(o, 6, 6, 6, 6);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,11 +25,10 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("pan.png"), NULL),
efl_gfx_color_set(64, 64, 64, 255),
evas_obj_image_border_set(3, 3, 3, 3),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_color_set(o, 64, 64, 64, 255);
evas_obj_image_border_set(o, 3, 3, 3, 3);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -56,10 +55,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -27,15 +27,13 @@ static void _setup(void)
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160));
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;
eo_do(o,
efl_gfx_color_set(a, a, a, a),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_color_set(o, a, a, a, a);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -60,7 +58,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
FPS_STD(NAME);
}

@ -27,12 +27,11 @@ static void _setup(void)
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_color_set(a, a, a, a),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_color_set(o, a, a, a, a);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -57,7 +56,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
FPS_STD(NAME);
}

@ -30,12 +30,11 @@ static void _setup(void)
n = rnd() % 100;
w = 3 + ((n * (60 - 3)) / 100);
h = 4 + ((n * (80 - 4)) / 100);
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
efl_image_smooth_scale_set(1),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 1);
efl_gfx_size_set(o, w, h);
efl_gfx_fill_set(o, 0, 0, w, h);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -54,12 +53,12 @@ static void _loop(double t, int f)
Evas_Coord x, y, w, h;
for (i = 0; i < MANYNUM; i++)
{
eo_do(o_images[i], efl_gfx_size_get(&w, &h));
efl_gfx_size_get(o_images[i], &w, &h);
x = (win_w / 2) - (w / 2);
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (win_w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (win_h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
efl_image_smooth_scale_set(0),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 0);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
efl_image_smooth_scale_set(0),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 0);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_image_smooth_scale_set(0),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 0);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_image_smooth_scale_set(0),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 0);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -28,7 +28,7 @@ static void _setup(void)
o_images[i] = o;
if (i < (OBNUM / 2))
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -36,14 +36,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -70,7 +68,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i < (OBNUM / 2))
{
eo_do(o, efl_file_set(PACKAGE_DATA_DIR"/data/logo.png", NULL));
efl_file_set(o, PACKAGE_DATA_DIR"/data/logo.png", NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(PACKAGE_DATA_DIR"/data/image.png", NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, PACKAGE_DATA_DIR"/data/image.png", NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i < (OBNUM / 2))
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i < (OBNUM / 2))
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -28,7 +28,7 @@ static void _setup(void)
o_images[i] = o;
if (i & 0x1)
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -36,14 +36,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -70,7 +68,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i & 0x1)
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i & 0x1)
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i & 0x1)
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -28,7 +28,7 @@ static void _setup(void)
o_images[i] = o;
if (i > (OBNUM / 2))
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -36,14 +36,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -70,7 +68,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i > (OBNUM / 2))
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i > (OBNUM / 2))
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -31,7 +31,7 @@ static void _setup(void)
o_images[i] = o;
if (i > (OBNUM / 2))
{
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
efl_file_set(o, build_path("logo.png"), NULL);
}
else
{
@ -39,14 +39,12 @@ static void _setup(void)
x = (win_w / 4) + (((rnd() & 0xff) * ((win_w / 2) - 120)) >> 8);
y = (win_h / 4) + (((rnd() & 0xff) * ((win_h / 2) - 120)) >> 8);
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_position_set(x, y));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_position_set(o, x, y);
}
eo_do(o,
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -73,7 +71,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
}
FPS_STD(NAME);

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
efl_image_smooth_scale_set(1),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 1);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("logo.png"), NULL),
efl_image_smooth_scale_set(1),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 1);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_image_smooth_scale_set(1),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 1);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_image_smooth_scale_set(1),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 1);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -25,10 +25,9 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("frame.png"), NULL),
evas_obj_image_border_set(8, 8, 8, 8),
efl_gfx_visible_set(EINA_TRUE));
efl_file_set(o, build_path("frame.png"), NULL);
evas_obj_image_border_set(o, 8, 8, 8, 8);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -55,10 +54,9 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w0 / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h0 / 2);
eo_do(o_images[i],
efl_gfx_position_set(x, y),
efl_gfx_size_set(w, h),
efl_gfx_fill_set(0, 0, w, h));
efl_gfx_position_set(o_images[i], x, y);
efl_gfx_size_set(o_images[i], w, h);
efl_gfx_fill_set(o_images[i], 0, 0, w, h);
}
FPS_STD(NAME);
}

@ -27,15 +27,13 @@ static void _setup(void)
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
efl_file_set(build_path("image.png"), NULL),
efl_gfx_fill_set(0, 0, 120, 160),
efl_gfx_size_set(120, 160));
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
a = 256 - (1 << ((rnd() % 8) + 1));
if (a < 128) a = 128;
eo_do(o,
efl_gfx_color_set(a, a, a, a),
efl_gfx_visible_set(EINA_TRUE));
efl_gfx_color_set(o, a, a, a, a);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;
}
@ -60,7 +58,7 @@ static void _loop(double t, int f)
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], efl_gfx_position_set(x, y));
efl_gfx_position_set(o_images[i], x, y);
}
FPS_STD(NAME);
}

@ -27,14 +27,12 @@ static void _setup(void)
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;