summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_op_add_main_.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-03-22 17:24:20 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-03-22 17:25:59 +0900
commit4de2059d41e3e99efa4ab8399994dbd8f46fd67b (patch)
treeafdd27b0091ef4862f2038d146972d20e5009f98 /src/lib/evas/common/evas_op_add_main_.c
parentf3d5cee0e4260c5b7287eef37fba687551b4d6ed (diff)
evas/common - initialize only the available blend stuff that cpu is supporting.
Diffstat (limited to 'src/lib/evas/common/evas_op_add_main_.c')
-rw-r--r--src/lib/evas/common/evas_op_add_main_.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/lib/evas/common/evas_op_add_main_.c b/src/lib/evas/common/evas_op_add_main_.c
index 294f1d977b..1a96380af8 100644
--- a/src/lib/evas/common/evas_op_add_main_.c
+++ b/src/lib/evas/common/evas_op_add_main_.c
@@ -88,17 +88,20 @@ op_add_init(void)
88 memset(op_add_span_funcs, 0, sizeof(op_add_span_funcs)); 88 memset(op_add_span_funcs, 0, sizeof(op_add_span_funcs));
89 memset(op_add_pt_funcs, 0, sizeof(op_add_pt_funcs)); 89 memset(op_add_pt_funcs, 0, sizeof(op_add_pt_funcs));
90#ifdef BUILD_MMX 90#ifdef BUILD_MMX
91 init_add_pixel_span_funcs_mmx(); 91 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
92 init_add_pixel_color_span_funcs_mmx(); 92 {
93 init_add_pixel_mask_span_funcs_mmx(); 93 init_add_pixel_span_funcs_mmx();
94 init_add_color_span_funcs_mmx(); 94 init_add_pixel_color_span_funcs_mmx();
95 init_add_mask_color_span_funcs_mmx(); 95 init_add_pixel_mask_span_funcs_mmx();
96 96 init_add_color_span_funcs_mmx();
97 init_add_pixel_pt_funcs_mmx(); 97 init_add_mask_color_span_funcs_mmx();
98 init_add_pixel_color_pt_funcs_mmx(); 98
99 init_add_pixel_mask_pt_funcs_mmx(); 99 init_add_pixel_pt_funcs_mmx();
100 init_add_color_pt_funcs_mmx(); 100 init_add_pixel_color_pt_funcs_mmx();
101 init_add_mask_color_pt_funcs_mmx(); 101 init_add_pixel_mask_pt_funcs_mmx();
102 init_add_color_pt_funcs_mmx();
103 init_add_mask_color_pt_funcs_mmx();
104 }
102#endif 105#endif
103 init_add_pixel_span_funcs_c(); 106 init_add_pixel_span_funcs_c();
104 init_add_pixel_color_span_funcs_c(); 107 init_add_pixel_color_span_funcs_c();