Commit Graph
17 Commits
Author SHA1 Message Date
Le Philousophe 859a8e06ad GRAPHICS: Also enable NEON codepath if compiler builds with NEON enabled
This will allow to build with NEON on platforms using an old compiler
but with NEON enabled for all translation units.
2025-02-01 18:06:56 +01:00
Cameron Cawley 433d6804f7 GRAPHICS: Make the blend structs into objects on the stack 2024-09-29 02:19:42 +03:00
Le Philousophe 8b26ce1c16 GRAPHICS: Add target specifiers for Clang
This allows to enable back SIMD support when compiling with it
2024-09-05 07:24:29 +03:00
elasota 9e374ec4ca GRAPHICS: Use target pragmas instead of compiler flags to prevent ODR problems. 2024-01-08 23:37:39 +01:00
Kaloyan Chehlarski 654879f507 GRAPHICS: Fix Multiply blending in NEON path
This fixes the color bleeding issues that previously happened
when using Multiply blending (e.g. Out of Order intro)
2023-11-14 12:05:27 +02:00
Cameron Cawley 94569762cd GRAPHICS: Share code between the generic and SIMD blending functions 2023-10-29 00:56:58 +02:00
Cameron Cawley 9f7b9b4f3a GRAPHICS: Unify common SIMD code for alpha blending 2023-10-29 00:56:58 +02:00
Kaloyan Chehlarski 0d0aa24df3 GRAPHICS: Allow AVX2 optimized blit path to build
The way the SIMD blitting paths were previously organized
ensured that the AVX2 one would never actually build. This
commit separates the different implementations into
classes with differing names, ensuring the shadowing
cannot occur.
2023-10-22 00:25:56 +03:00
Kaloyan Chehlarski c82dd21fa7 GRAPHICS: JANITORIAL: Convert spaces to tabs 2023-10-22 00:25:56 +03:00
Eugene Sandulenko 94755eb838 BUILD: MACOS: Fix building with NEON enabled 2023-09-03 22:47:00 +02:00
Lars Sundström e60db69c41 GRAPHICS: Add SCUMMVM_NEON prepreocessor flag to blit-neon.cpp
The blit-neon.cpp file is only added to the project if the flag
SCUMMVM_NEON is defined. However some backends, e.g. iOS, adds the
definition of SCUMMVM_NEON in create_project so the file can be
added to the project during configuration.
The same backend can then unset the definition due to changing
build target, the iOS simulator in this example, which runs can
run on x86_64 hosts which doesn't support NEON.

Since the project still include the source file it will be compiled.
Make sure to not build the file if not SCUMMVM_NEON is defined at
compile time.
2023-09-03 22:26:37 +02:00
Wyatt Radkiewicz 41815c9816 GRAPHICS: Fix BlendBlit additive blending mode 2023-08-13 00:22:10 +02:00
Wyatt Radkiewicz 9d354fc636 GRAPHICS: Fixing blendBlitTo bugs 2023-08-13 00:22:10 +02:00
Wyatt Radkiewicz 0597770654 GRAPHICS: Refactor BlendBlit 2023-08-13 00:22:10 +02:00
Wyatt Radkiewicz 66c75ee760 GRAPHICS: Moved SIMD code to new translation unit 2023-08-13 00:22:10 +02:00
Wyatt Radkiewicz e95cfb4877 GRAPHICS: Fixed indentation in blit files 2023-08-13 00:22:10 +02:00
Wyatt Radkiewicz 975808bac4 GRAPHICS: Moved blit files into graphics/blit 2023-08-13 00:22:10 +02:00