summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_map_image.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-09-30 16:53:29 +0900
committerHermet Park <hermetpark@gmail.com>2019-09-30 16:54:45 +0900
commit37870505157d252c057de3910e854ac5650865d6 (patch)
treeaa9bf37e25f7ba2ec39066b21fe49e0b87cd631d /src/lib/evas/common/evas_map_image.c
parent839b0f7d61fe17cd61ab7b01dff5036c43025d2c (diff)
evas map: diable high quality texture mapping feature.
This is a little bit buggy, need to make it stablize further. Temporarily diable this for 1.23 release.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_map_image.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_map_image.c b/src/lib/evas/common/evas_map_image.c
index 115e77cafd..dbd981750f 100644
--- a/src/lib/evas/common/evas_map_image.c
+++ b/src/lib/evas/common/evas_map_image.c
@@ -651,7 +651,7 @@ evas_common_map_rgba_prepare(RGBA_Image *src, RGBA_Image *dst,
651# undef SCALE_USING_NEON 651# undef SCALE_USING_NEON
652#endif 652#endif
653 653
654#include "evas_map_image_internal_high.c" 654//#include "evas_map_image_internal_high.c"
655 655
656#ifdef BUILD_MMX 656#ifdef BUILD_MMX
657void evas_common_map_rgba_internal_mmx(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Map_Point *p, int smooth, int level) 657void evas_common_map_rgba_internal_mmx(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Map_Point *p, int smooth, int level)
@@ -683,6 +683,7 @@ void evas_common_map_rgba_internal_mmx(RGBA_Image *src, RGBA_Image *dst, RGBA_Dr
683} 683}
684#endif 684#endif
685 685
686#if 0
686void evas_common_map_rgba_internal_high(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Map_Point *p, int smooth, int level) 687void evas_common_map_rgba_internal_high(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Map_Point *p, int smooth, int level)
687{ 688{
688 int clip_x, clip_y, clip_w, clip_h; 689 int clip_x, clip_y, clip_w, clip_h;
@@ -710,6 +711,7 @@ void evas_common_map_rgba_internal_high(RGBA_Image *src, RGBA_Image *dst, RGBA_D
710 p, smooth, dc->anti_alias, level, 711 p, smooth, dc->anti_alias, level,
711 dc->clip.mask, dc->clip.mask_x, dc->clip.mask_y); 712 dc->clip.mask, dc->clip.mask_x, dc->clip.mask_y);
712} 713}
714#endif
713 715
714void evas_common_map_rgba_internal(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Map_Point *p, int smooth, int level) 716void evas_common_map_rgba_internal(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Map_Point *p, int smooth, int level)
715{ 717{
@@ -864,11 +866,13 @@ evas_common_map_rgba(RGBA_Image *src, RGBA_Image *dst,
864{ 866{
865 Evas_Common_Map_RGBA_Cb cb; 867 Evas_Common_Map_RGBA_Cb cb;
866 868
869#if 0
867 if (dc->anti_alias && smooth) 870 if (dc->anti_alias && smooth)
868 { 871 {
869 cb = evas_common_map_rgba_internal_high; 872 cb = evas_common_map_rgba_internal_high;
870 } 873 }
871 else 874 else
875#endif
872 { 876 {
873#ifdef BUILD_MMX 877#ifdef BUILD_MMX
874 int mmx, sse, sse2; 878 int mmx, sse, sse2;
@@ -893,6 +897,7 @@ EAPI void
893evas_common_map_rgba_draw(RGBA_Image *src, RGBA_Image *dst, int clip_x, int clip_y, int clip_w, int clip_h, DATA32 mul_col, int render_op, int npoints EINA_UNUSED, RGBA_Map_Point *p, int smooth, Eina_Bool anti_alias, int level, RGBA_Image *mask_ie, int mask_x, int mask_y) 897evas_common_map_rgba_draw(RGBA_Image *src, RGBA_Image *dst, int clip_x, int clip_y, int clip_w, int clip_h, DATA32 mul_col, int render_op, int npoints EINA_UNUSED, RGBA_Map_Point *p, int smooth, Eina_Bool anti_alias, int level, RGBA_Image *mask_ie, int mask_x, int mask_y)
894{ 898{
895 //The best quaility requsted. 899 //The best quaility requsted.
900#if 0
896 if (anti_alias && smooth) 901 if (anti_alias && smooth)
897 { 902 {
898 _evas_common_map_rgba_internal_high(src, dst, 903 _evas_common_map_rgba_internal_high(src, dst,
@@ -902,6 +907,7 @@ evas_common_map_rgba_draw(RGBA_Image *src, RGBA_Image *dst, int clip_x, int clip
902 mask_ie, mask_x, mask_y); 907 mask_ie, mask_x, mask_y);
903 } 908 }
904 else 909 else
910#endif
905 { 911 {
906#ifdef BUILD_MMX 912#ifdef BUILD_MMX
907 int mmx, sse, sse2; 913 int mmx, sse, sse2;