summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_op_blend_main_.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-11-13 14:06:28 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-11-13 14:06:28 +0000
commit630d662a3bf1d5c22876afaf6fc8b6d0637a094f (patch)
treed9c7ae99a800e62770ac0c04d47a306c0d9465fe /src/lib/evas/common/evas_op_blend_main_.c
parent5b8f3bb276ca0c9c58456561a3516134938dffcc (diff)
have ss3 etc. tests not be run (and thus fail) if env vars disable them.
SVN revision: 79231
Diffstat (limited to 'src/lib/evas/common/evas_op_blend_main_.c')
-rw-r--r--src/lib/evas/common/evas_op_blend_main_.c53
1 files changed, 30 insertions, 23 deletions
diff --git a/src/lib/evas/common/evas_op_blend_main_.c b/src/lib/evas/common/evas_op_blend_main_.c
index b3aaf90a20..fdfb1dcdd8 100644
--- a/src/lib/evas/common/evas_op_blend_main_.c
+++ b/src/lib/evas/common/evas_op_blend_main_.c
@@ -101,33 +101,40 @@ op_blend_init(void)
101 memset(op_blend_span_funcs, 0, sizeof(op_blend_span_funcs)); 101 memset(op_blend_span_funcs, 0, sizeof(op_blend_span_funcs));
102 memset(op_blend_pt_funcs, 0, sizeof(op_blend_pt_funcs)); 102 memset(op_blend_pt_funcs, 0, sizeof(op_blend_pt_funcs));
103#ifdef BUILD_SSE3 103#ifdef BUILD_SSE3
104 evas_common_op_blend_init_sse3(); 104 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE3))
105 evas_common_op_blend_init_sse3();
105#endif 106#endif
106#ifdef BUILD_MMX 107#ifdef BUILD_MMX
107 init_blend_pixel_span_funcs_mmx(); 108 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
108 init_blend_pixel_color_span_funcs_mmx(); 109 {
109 init_blend_pixel_mask_span_funcs_mmx(); 110 init_blend_pixel_span_funcs_mmx();
110 init_blend_color_span_funcs_mmx(); 111 init_blend_pixel_color_span_funcs_mmx();
111 init_blend_mask_color_span_funcs_mmx(); 112 init_blend_pixel_mask_span_funcs_mmx();
112 113 init_blend_color_span_funcs_mmx();
113 init_blend_pixel_pt_funcs_mmx(); 114 init_blend_mask_color_span_funcs_mmx();
114 init_blend_pixel_color_pt_funcs_mmx(); 115
115 init_blend_pixel_mask_pt_funcs_mmx(); 116 init_blend_pixel_pt_funcs_mmx();
116 init_blend_color_pt_funcs_mmx(); 117 init_blend_pixel_color_pt_funcs_mmx();
117 init_blend_mask_color_pt_funcs_mmx(); 118 init_blend_pixel_mask_pt_funcs_mmx();
119 init_blend_color_pt_funcs_mmx();
120 init_blend_mask_color_pt_funcs_mmx();
121 }
118#endif 122#endif
119#ifdef BUILD_NEON 123#ifdef BUILD_NEON
120 init_blend_pixel_span_funcs_neon(); 124 if (evas_common_cpu_has_feature(CPU_FEATURE_NEON))
121 init_blend_pixel_color_span_funcs_neon(); 125 {
122 init_blend_pixel_mask_span_funcs_neon(); 126 init_blend_pixel_span_funcs_neon();
123 init_blend_color_span_funcs_neon(); 127 init_blend_pixel_color_span_funcs_neon();
124 init_blend_mask_color_span_funcs_neon(); 128 init_blend_pixel_mask_span_funcs_neon();
125 129 init_blend_color_span_funcs_neon();
126 init_blend_pixel_pt_funcs_neon(); 130 init_blend_mask_color_span_funcs_neon();
127 init_blend_pixel_color_pt_funcs_neon(); 131
128 init_blend_pixel_mask_pt_funcs_neon(); 132 init_blend_pixel_pt_funcs_neon();
129 init_blend_color_pt_funcs_neon(); 133 init_blend_pixel_color_pt_funcs_neon();
130 init_blend_mask_color_pt_funcs_neon(); 134 init_blend_pixel_mask_pt_funcs_neon();
135 init_blend_color_pt_funcs_neon();
136 init_blend_mask_color_pt_funcs_neon();
137 }
131#endif 138#endif
132 init_blend_pixel_span_funcs_c(); 139 init_blend_pixel_span_funcs_c();
133 init_blend_pixel_color_span_funcs_c(); 140 init_blend_pixel_color_span_funcs_c();