Skip to content

Commit

Permalink
Fixed bug 3912 - android, faster loading of xpm file when compiled in…
Browse files Browse the repository at this point in the history
… ARM

Sylvain

I have noticed that loading xpm file was much faster (30%) when it was compiled with arm
  • Loading branch information
slouken committed Oct 23, 2017
1 parent 9e2ab86 commit 0d08fd0
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion Android.mk
Expand Up @@ -40,7 +40,24 @@ include $(CLEAR_VARS)

LOCAL_MODULE := SDL2_image

LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))
LOCAL_SRC_FILES := \
IMG.c \
IMG_bmp.c \
IMG_gif.c \
IMG_jpg.c \
IMG_lbm.c \
IMG_pcx.c \
IMG_png.c \
IMG_pnm.c \
IMG_svg.c \
IMG_tga.c \
IMG_tif.c \
IMG_webp.c \
IMG_WIC.c \
IMG_xcf.c \
IMG_xpm.c.arm \
IMG_xv.c \
IMG_xxx.c

LOCAL_CFLAGS := -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM \
-DLOAD_SVG -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV
Expand Down

0 comments on commit 0d08fd0

Please sign in to comment.