summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2003-09-10 08:52:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2003-09-10 08:52:18 +0000
commit3b808bac455d7c390de10d9b0f12ef2198166df8 (patch)
treee77e1154cbd92dca01ebb0f190036c9321a8aa6c /legacy/evas/src/lib/engines/common/evas_draw_main.c
parent0b2654143877735c8fe140ed07ccf4ff75cf474f (diff)
1. mmx2 pixel copy and cleanup of pixel copy routines
2. gl engine cleanups. working on it. SVN revision: 7436
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c10
1 files changed, 8 insertions, 2 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 54a222ec2b..01c7d81d22 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -538,7 +538,11 @@ evas_common_draw_func_blend_get(RGBA_Image *src, RGBA_Image *dst, int pixels)
538#endif 538#endif
539#ifdef BUILD_MMX 539#ifdef BUILD_MMX
540# ifdef BUILD_C 540# ifdef BUILD_C
541 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 541 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
542# endif
543 return evas_common_copy_pixels_rgba_to_rgba_mmx2;
544# ifdef BUILD_C
545 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
542# endif 546# endif
543 return evas_common_copy_pixels_rgba_to_rgba_mmx; 547 return evas_common_copy_pixels_rgba_to_rgba_mmx;
544# ifdef BUILD_C 548# ifdef BUILD_C
@@ -763,7 +767,9 @@ evas_common_draw_func_copy_get(int pixels, int reverse)
763# ifdef BUILD_SSE 767# ifdef BUILD_SSE
764 else 768 else
765# endif 769# endif
766 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 770 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
771 return evas_common_copy_pixels_rgba_to_rgba_mmx2;
772 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
767 return evas_common_copy_pixels_rgba_to_rgba_mmx; 773 return evas_common_copy_pixels_rgba_to_rgba_mmx;
768#endif 774#endif
769#ifdef BUILD_C 775#ifdef BUILD_C