summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_map_image.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-12-02 20:40:28 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-02 20:41:14 +0900
commit1cb7d11ea86f23ba4126e62103df00baa425c645 (patch)
treed44bd9e3797b4bb0df03aa80203f29413dadb417 /src/lib/evas/common/evas_map_image.c
parentcf3ec7473b49339c88af2169e54f94bb7fd271bf (diff)
Revert "Revert "evas map: diable high quality texture mapping feature.""
This reverts commit 94c193e40b3111664344bf41beb22006bfab2670.
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;