Enable ARM SIMD/NEON optimized blitters

This commit is contained in:
Ivan Epifanov 2020-12-09 21:03:27 +03:00 committed by Sam Lantinga
parent 47c6270ece
commit e812ca529d
2 changed files with 5 additions and 1 deletions

View File

@ -34,8 +34,9 @@ SOURCES = \
src/video/*.c \
src/video/vita/*.c \
src/video/yuv2rgb/*.c \
src/video/arm/*.S \
OBJS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
OBJS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g' | sed -e 's,\.S,\.o,g')
PREFIX = arm-dolce-eabi
CC = $(PREFIX)-gcc

View File

@ -129,6 +129,9 @@
/* VITA isn't that sophisticated */
#define LACKS_SYS_MMAN_H 1
/* enable optimized blitters */
#define SDL_ARM_SIMD_BLITTERS 1
#define SDL_ARM_NEON_BLITTERS 1
#define SDL_AUDIO_DRIVER_VITA 1
#define SDL_THREAD_VITA 1