diff options
author | Savio Sena <savio.sena@acm.org> | 2014-08-24 23:14:31 -0300 |
---|---|---|
committer | Savio Sena <savio.sena@acm.org> | 2014-08-24 23:14:31 -0300 |
commit | 07b4407c26395b7a4384f87b52e999c04c2580b2 (patch) | |
tree | 0a38c6027208d2f512addddd9beca97fe5b0e9c7 | |
parent | a4b7b0ba31f3672b0a9d5890d398eca9622d13a0 (diff) |
Add some logs to help investigating evas::image.
-rw-r--r-- | src/bin/cxx/image_blend_border.cc | 8 | ||||
-rw-r--r-- | src/bin/tests.h | 246 |
2 files changed, 131 insertions, 123 deletions
diff --git a/src/bin/cxx/image_blend_border.cc b/src/bin/cxx/image_blend_border.cc index fe11d8c..a9f63b4 100644 --- a/src/bin/cxx/image_blend_border.cc +++ b/src/bin/cxx/image_blend_border.cc | |||
@@ -31,6 +31,14 @@ static void _setup() | |||
31 | for (i = 0; i < OBNUM; i++) | 31 | for (i = 0; i < OBNUM; i++) |
32 | { | 32 | { |
33 | evas::image o(efl::eo::parent = *canvas); | 33 | evas::image o(efl::eo::parent = *canvas); |
34 | /// XXX | ||
35 | if(!::eo_composite_is(o._eo_ptr())) | ||
36 | { | ||
37 | std::cout << "<< >> " << __FUNCTION__ << "() +" << __LINE__ | ||
38 | << " XXX " << std::endl; | ||
39 | abort(); | ||
40 | } | ||
41 | /// XXX | ||
34 | images.push_back(o); | 42 | images.push_back(o); |
35 | o.file_set(::build_path("bar.png"), ""); // XXX | 43 | o.file_set(::build_path("bar.png"), ""); // XXX |
36 | o.border_set(6, 6, 6, 6); | 44 | o.border_set(6, 6, 6, 6); |
diff --git a/src/bin/tests.h b/src/bin/tests.h index b293486..bbc5929 100644 --- a/src/bin/tests.h +++ b/src/bin/tests.h | |||
@@ -7,130 +7,130 @@ extern "C" { | |||
7 | #include "cxx/image_blend_border_cxx.c" | 7 | #include "cxx/image_blend_border_cxx.c" |
8 | 8 | ||
9 | // C tests | 9 | // C tests |
10 | #include "widgets_file_icons.c" | 10 | /* #include "widgets_file_icons.c" */ |
11 | #include "widgets_file_icons_2.c" | 11 | /* #include "widgets_file_icons_2.c" */ |
12 | #include "widgets_file_icons_2_grouped.c" | 12 | /* #include "widgets_file_icons_2_grouped.c" */ |
13 | #include "widgets_file_icons_2_same.c" | 13 | /* #include "widgets_file_icons_2_same.c" */ |
14 | #include "widgets_file_icons_2_same_grouped.c" | 14 | /* #include "widgets_file_icons_2_same_grouped.c" */ |
15 | #include "widgets_file_icons_3.c" | 15 | /* #include "widgets_file_icons_3.c" */ |
16 | #include "widgets_file_icons_4.c" | 16 | /* #include "widgets_file_icons_4.c" */ |
17 | #include "widgets_list_1.c" | 17 | /* #include "widgets_list_1.c" */ |
18 | #include "widgets_list_1_grouped.c" | 18 | /* #include "widgets_list_1_grouped.c" */ |
19 | #include "widgets_list_2.c" | 19 | /* #include "widgets_list_2.c" */ |
20 | #include "widgets_list_2_grouped.c" | 20 | /* #include "widgets_list_2_grouped.c" */ |
21 | #include "widgets_list_3.c" | 21 | /* #include "widgets_list_3.c" */ |
22 | #include "widgets_list_3_grouped.c" | 22 | /* #include "widgets_list_3_grouped.c" */ |
23 | #include "widgets_list_4.c" | 23 | /* #include "widgets_list_4.c" */ |
24 | #include "widgets_list_4_grouped.c" | 24 | /* #include "widgets_list_4_grouped.c" */ |
25 | #include "image_blend_unscaled.c" | 25 | /* #include "image_blend_unscaled.c" */ |
26 | #include "image_blend_solid_middle_unscaled.c" | 26 | /* #include "image_blend_solid_middle_unscaled.c" */ |
27 | #include "image_blend_fade_unscaled.c" | 27 | /* #include "image_blend_fade_unscaled.c" */ |
28 | #include "image_blend_fade_pow2_unscaled.c" | 28 | /* #include "image_blend_fade_pow2_unscaled.c" */ |
29 | #include "image_blend_solid_unscaled.c" | 29 | /* #include "image_blend_solid_unscaled.c" */ |
30 | #include "image_blend_solid_fade_unscaled.c" | 30 | /* #include "image_blend_solid_fade_unscaled.c" */ |
31 | #include "image_blend_solid_fade_pow2_unscaled.c" | 31 | /* #include "image_blend_solid_fade_pow2_unscaled.c" */ |
32 | #include "image_blend_nearest_scaled.c" | 32 | /* #include "image_blend_nearest_scaled.c" */ |
33 | #include "image_blend_nearest_solid_scaled.c" | 33 | /* #include "image_blend_nearest_solid_scaled.c" */ |
34 | #include "image_blend_smooth_scaled.c" | 34 | /* #include "image_blend_smooth_scaled.c" */ |
35 | #include "image_blend_smooth_solid_scaled.c" | 35 | /* #include "image_blend_smooth_solid_scaled.c" */ |
36 | #include "image_blend_nearest_same_scaled.c" | 36 | /* #include "image_blend_nearest_same_scaled.c" */ |
37 | #include "image_blend_nearest_solid_same_scaled.c" | 37 | /* #include "image_blend_nearest_solid_same_scaled.c" */ |
38 | #include "image_blend_smooth_same_scaled.c" | 38 | /* #include "image_blend_smooth_same_scaled.c" */ |
39 | #include "image_blend_smooth_solid_same_scaled.c" | 39 | /* #include "image_blend_smooth_solid_same_scaled.c" */ |
40 | #include "image_blend_border.c" | 40 | #include "image_blend_border.c" |
41 | #include "image_blend_solid_middle_border.c" | 41 | /* #include "image_blend_solid_middle_border.c" */ |
42 | #include "image_blend_solid_border.c" | 42 | /* #include "image_blend_solid_border.c" */ |
43 | #include "image_blend_border_recolor.c" | 43 | /* #include "image_blend_border_recolor.c" */ |
44 | #include "image_map_rotate.c" | 44 | /* #include "image_map_rotate.c" */ |
45 | #include "image_map_solid_rotate.c" | 45 | /* #include "image_map_solid_rotate.c" */ |
46 | #include "image_map_nearest_rotate.c" | 46 | /* #include "image_map_nearest_rotate.c" */ |
47 | #include "image_map_nearest_solid_rotate.c" | 47 | /* #include "image_map_nearest_solid_rotate.c" */ |
48 | #include "image_map_color_rotate.c" | 48 | /* #include "image_map_color_rotate.c" */ |
49 | #include "image_map_color_solid_rotate.c" | 49 | /* #include "image_map_color_solid_rotate.c" */ |
50 | #include "image_map_color_nearest_rotate.c" | 50 | /* #include "image_map_color_nearest_rotate.c" */ |
51 | #include "image_map_color_nearest_solid_rotate.c" | 51 | /* #include "image_map_color_nearest_solid_rotate.c" */ |
52 | #include "image_map_color_alpha_rotate.c" | 52 | /* #include "image_map_color_alpha_rotate.c" */ |
53 | #include "image_map_color_alpha_solid_rotate.c" | 53 | /* #include "image_map_color_alpha_solid_rotate.c" */ |
54 | #include "image_map_color_alpha_nearest_rotate.c" | 54 | /* #include "image_map_color_alpha_nearest_rotate.c" */ |
55 | #include "image_map_color_alpha_nearest_solid_rotate.c" | 55 | /* #include "image_map_color_alpha_nearest_solid_rotate.c" */ |
56 | #include "image_map_3d_1.c" | 56 | /* #include "image_map_3d_1.c" */ |
57 | #include "image_map_3d_2.c" | 57 | /* #include "image_map_3d_2.c" */ |
58 | #include "image_map_3d_3.c" | 58 | /* #include "image_map_3d_3.c" */ |
59 | #include "image_map_3d_4.c" | 59 | /* #include "image_map_3d_4.c" */ |
60 | #include "image_map_3d_5.c" | 60 | /* #include "image_map_3d_5.c" */ |
61 | #include "image_map_3d_6.c" | 61 | /* #include "image_map_3d_6.c" */ |
62 | #include "image_map_3d_flow.c" | 62 | /* #include "image_map_3d_flow.c" */ |
63 | #include "image_quality_scale.c" | 63 | /* #include "image_quality_scale.c" */ |
64 | #include "image_data_argb.c" | 64 | /* #include "image_data_argb.c" */ |
65 | #include "image_data_argb_alpha.c" | 65 | /* #include "image_data_argb_alpha.c" */ |
66 | #include "image_data_ycbcr601pl.c" | 66 | /* #include "image_data_ycbcr601pl.c" */ |
67 | #include "image_data_ycbcr601pl_wide_stride.c" | 67 | /* #include "image_data_ycbcr601pl_wide_stride.c" */ |
68 | #include "image_data_ycbcr601pl_map_solid_rotate.c" | 68 | /* #include "image_data_ycbcr601pl_map_solid_rotate.c" */ |
69 | #include "image_data_ycbcr601pl_map_nearest_solid_rotate.c" | 69 | /* #include "image_data_ycbcr601pl_map_nearest_solid_rotate.c" */ |
70 | #include "image_crossfade.c" | 70 | /* #include "image_crossfade.c" */ |
71 | #include "text_basic.c" | 71 | /* #include "text_basic.c" */ |
72 | #include "text_styles.c" | 72 | /* #include "text_styles.c" */ |
73 | #include "text_styles_different_strings.c" | 73 | /* #include "text_styles_different_strings.c" */ |
74 | #include "text_change.c" | 74 | /* #include "text_change.c" */ |
75 | #include "textblock_basic.c" | 75 | /* #include "textblock_basic.c" */ |
76 | #include "textblock_intl.c" | 76 | /* #include "textblock_intl.c" */ |
77 | #include "textblock_auto_align.c" | 77 | /* #include "textblock_auto_align.c" */ |
78 | #include "textblock_text_append.c" | 78 | /* #include "textblock_text_append.c" */ |
79 | #include "rect_blend.c" | 79 | /* #include "rect_blend.c" */ |
80 | #include "rect_blend_pow2.c" | 80 | /* #include "rect_blend_pow2.c" */ |
81 | #include "rect_solid.c" | 81 | /* #include "rect_solid.c" */ |
82 | #include "rect_blend_few.c" | 82 | /* #include "rect_blend_few.c" */ |
83 | #include "rect_blend_pow2_few.c" | 83 | /* #include "rect_blend_pow2_few.c" */ |
84 | #include "rect_solid_few.c" | 84 | /* #include "rect_solid_few.c" */ |
85 | #include "image_blend_occlude1_few.c" | 85 | /* #include "image_blend_occlude1_few.c" */ |
86 | #include "image_blend_occlude2_few.c" | 86 | /* #include "image_blend_occlude2_few.c" */ |
87 | #include "image_blend_occlude3_few.c" | 87 | /* #include "image_blend_occlude3_few.c" */ |
88 | #include "image_blend_occlude1.c" | 88 | /* #include "image_blend_occlude1.c" */ |
89 | #include "image_blend_occlude2.c" | 89 | /* #include "image_blend_occlude2.c" */ |
90 | #include "image_blend_occlude3.c" | 90 | /* #include "image_blend_occlude3.c" */ |
91 | #include "image_blend_occlude1_many.c" | 91 | /* #include "image_blend_occlude1_many.c" */ |
92 | #include "image_blend_occlude2_many.c" | 92 | /* #include "image_blend_occlude2_many.c" */ |
93 | #include "image_blend_occlude3_many.c" | 93 | /* #include "image_blend_occlude3_many.c" */ |
94 | #include "image_blend_occlude1_very_many.c" | 94 | /* #include "image_blend_occlude1_very_many.c" */ |
95 | #include "image_blend_occlude2_very_many.c" | 95 | /* #include "image_blend_occlude2_very_many.c" */ |
96 | #include "image_blend_occlude3_very_many.c" | 96 | /* #include "image_blend_occlude3_very_many.c" */ |
97 | #include "poly_blend.c" | 97 | /* #include "poly_blend.c" */ |
98 | #include "proxy_image.c" | 98 | /* #include "proxy_image.c" */ |
99 | #include "proxy_text_fixed.c" | 99 | /* #include "proxy_text_fixed.c" */ |
100 | #include "proxy_text_random.c" | 100 | /* #include "proxy_text_random.c" */ |
101 | #include "line_blend.c" | 101 | /* #include "line_blend.c" */ |
102 | #include "image_blend_many_smooth_same_scaled.c" | 102 | /* #include "image_blend_many_smooth_same_scaled.c" */ |
103 | #include "font_effect_blur_alpha.c" | 103 | /* #include "font_effect_blur_alpha.c" */ |
104 | #include "font_effect_blur_color.c" | 104 | /* #include "font_effect_blur_color.c" */ |
105 | #if 0 // test disabled - evas having code disabled | 105 | /* #if 0 // test disabled - evas having code disabled */ |
106 | #include "image_mask.c" | 106 | /* #include "image_mask.c" */ |
107 | #include "image_mask_2.c" | 107 | /* #include "image_mask_2.c" */ |
108 | #include "image_mask_3.c" | 108 | /* #include "image_mask_3.c" */ |
109 | #include "image_mask_4.c" | 109 | /* #include "image_mask_4.c" */ |
110 | #include "image_mask_5.c" | 110 | /* #include "image_mask_5.c" */ |
111 | #include "image_mask_6.c" | 111 | /* #include "image_mask_6.c" */ |
112 | #include "image_mask_7.c" | 112 | /* #include "image_mask_7.c" */ |
113 | #include "image_mask_8.c" | 113 | /* #include "image_mask_8.c" */ |
114 | #include "image_mask_9.c" | 114 | /* #include "image_mask_9.c" */ |
115 | #include "image_mask_10.c" | 115 | /* #include "image_mask_10.c" */ |
116 | #include "image_mask_11.c" | 116 | /* #include "image_mask_11.c" */ |
117 | #include "image_mask_12.c" | 117 | /* #include "image_mask_12.c" */ |
118 | #include "image_mask_13.c" | 118 | /* #include "image_mask_13.c" */ |
119 | #include "image_mask_14.c" | 119 | /* #include "image_mask_14.c" */ |
120 | #include "image_mask_15.c" | 120 | /* #include "image_mask_15.c" */ |
121 | #include "filter_object_colors.c" | 121 | /* #include "filter_object_colors.c" */ |
122 | #include "filter_object_colors_solid.c" | 122 | /* #include "filter_object_colors_solid.c" */ |
123 | #include "filter_object_invert.c" | 123 | /* #include "filter_object_invert.c" */ |
124 | #include "filter_object_invert_solid.c" | 124 | /* #include "filter_object_invert_solid.c" */ |
125 | #include "filter_object_greyscale.c" | 125 | /* #include "filter_object_greyscale.c" */ |
126 | #include "filter_object_greyscale_solid.c" | 126 | /* #include "filter_object_greyscale_solid.c" */ |
127 | #include "filter_object_brightness.c" | 127 | /* #include "filter_object_brightness.c" */ |
128 | #include "filter_object_brightness_solid.c" | 128 | /* #include "filter_object_brightness_solid.c" */ |
129 | #include "filter_object_sepia.c" | 129 | /* #include "filter_object_sepia.c" */ |
130 | #include "filter_object_sepia_solid.c" | 130 | /* #include "filter_object_sepia_solid.c" */ |
131 | #include "filter_object_blur.c" | 131 | /* #include "filter_object_blur.c" */ |
132 | #include "filter_object_blur_solid.c" | 132 | /* #include "filter_object_blur_solid.c" */ |
133 | #endif | 133 | /* #endif */ |
134 | 134 | ||
135 | #ifdef __cplusplus | 135 | #ifdef __cplusplus |
136 | } | 136 | } |