summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2006-01-22 06:54:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2006-01-22 06:54:18 +0000
commit1adf40fbb56ef9777f3c7f5399d85a1dbba5bc4b (patch)
tree92f36aca5c9b45b9c9ca9b920e6b4fa42f26242e /legacy/evas/src/lib/engines/common/evas_draw_main.c
parentea9bfd710320a1cf4a09f664dc9f484c68d4e177 (diff)
actually use the sse routines!
SVN revision: 19955
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_draw_main.c b/legacy/evas/src/lib/engines/common/evas_draw_main.c
index b3fcb23fe5..1cc51033e1 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -612,22 +612,22 @@ evas_common_draw_func_blend_get(RGBA_Image *src, RGBA_Image *dst, int pixels)
612 } 612 }
613 else 613 else
614 { 614 {
615#if 1 615#if 0
616 616
617# ifdef BUILD_MMX 617# ifdef BUILD_MMX
618# ifdef BUILD_C 618# ifdef BUILD_C
619 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2)) 619 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
620# endif 620# endif
621 return evas_common_copy_pixels_rgba_to_rgba_mmx2; 621 return evas_common_copy_pixels_rgba_to_rgba_mmx2;
622# ifdef BUILD_SSE 622# ifdef BUILD_SSE
623 else 623 else
624# endif
624# endif 625# endif
625#endif 626# ifdef BUILD_SSE
626#ifdef BUILD_SSE 627# ifdef BUILD_C
627# ifdef BUILD_C 628 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE))
628 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64)) 629# endif
629# endif 630 return evas_common_copy_pixels_rgba_to_rgba_sse;
630 return evas_common_copy_pixels_rgba_to_rgba_sse;
631# ifdef BUILD_MMX 631# ifdef BUILD_MMX
632 else 632 else
633# endif 633# endif
@@ -648,28 +648,28 @@ evas_common_draw_func_blend_get(RGBA_Image *src, RGBA_Image *dst, int pixels)
648#else 648#else
649 649
650# ifdef BUILD_SSE 650# ifdef BUILD_SSE
651 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 256 * 256)) 651 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE))
652 return evas_common_copy_pixels_rgba_to_rgba_sse; 652 return evas_common_copy_pixels_rgba_to_rgba_sse;
653# ifdef BUILD_MMX 653# ifdef BUILD_MMX
654 else 654 else
655# endif
655# endif 656# endif
656#endif 657# ifdef BUILD_MMX
657#ifdef BUILD_MMX 658# ifdef BUILD_C
658# ifdef BUILD_C
659 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2)) 659 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
660# endif 660# endif
661 return evas_common_copy_pixels_rgba_to_rgba_mmx2; 661 return evas_common_copy_pixels_rgba_to_rgba_mmx2;
662# ifdef BUILD_C 662# ifdef BUILD_C
663 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 663 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
664# endif 664# endif
665 return evas_common_copy_pixels_rgba_to_rgba_mmx; 665 return evas_common_copy_pixels_rgba_to_rgba_mmx;
666# ifdef BUILD_C 666# ifdef BUILD_C
667 else 667 else
668# endif
668# endif 669# endif
669#endif 670# ifdef BUILD_C
670#ifdef BUILD_C
671 return evas_common_copy_pixels_rgba_to_rgba_c; 671 return evas_common_copy_pixels_rgba_to_rgba_c;
672#endif 672# endif
673 673
674#endif 674#endif
675 } 675 }