summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-11 13:22:40 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 00:29:41 +0900
commit5424345c465bf07dd5153039a882c2faae928ec5 (patch)
tree3cf81194a787676dc97add57f19bdb72990ba693 /src
parentf00dbd2252a883655ad26b77520e0ee1724edb19 (diff)
evas draw func get - make pixels as unused as it is in neon asm cases
also a little shitespace cleanup and correct ()ing of ops to clean this function up a bit.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/common/evas_blit_main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/common/evas_blit_main.c b/src/lib/evas/common/evas_blit_main.c
index 4da4034742..d01fb21e26 100644
--- a/src/lib/evas/common/evas_blit_main.c
+++ b/src/lib/evas/common/evas_blit_main.c
@@ -584,16 +584,16 @@ evas_common_copy_pixels_rev_sse(DATA32 *src, DATA32 *dst, int len)
584#endif 584#endif
585 585
586Gfx_Func_Copy 586Gfx_Func_Copy
587evas_common_draw_func_copy_get(int pixels, int reverse) 587evas_common_draw_func_copy_get(int pixels EINA_UNUSED, int reverse)
588{ 588{
589 if (reverse == -1) 589 if (reverse == -1)
590 return evas_common_copy_rev_pixels_c; 590 return evas_common_copy_rev_pixels_c;
591 if (reverse) 591 if (reverse)
592 { 592 {
593#ifdef BUILD_MMX 593#ifdef BUILD_MMX
594 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64)) 594 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > (64 * 64)))
595 return evas_common_copy_pixels_rev_sse; 595 return evas_common_copy_pixels_rev_sse;
596 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 596 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))
597 return evas_common_copy_pixels_rev_mmx; 597 return evas_common_copy_pixels_rev_mmx;
598#endif 598#endif
599#ifdef BUILD_NEON 599#ifdef BUILD_NEON
@@ -605,7 +605,7 @@ evas_common_draw_func_copy_get(int pixels, int reverse)
605 else 605 else
606 { 606 {
607#ifdef BUILD_MMX 607#ifdef BUILD_MMX
608 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64)) 608 if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > (64 * 64)))
609 return evas_common_copy_pixels_sse; 609 return evas_common_copy_pixels_sse;
610 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2)) 610 else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2))
611 return evas_common_copy_pixels_mmx2; 611 return evas_common_copy_pixels_mmx2;