Add: A 32 bpp blitter that uses the animation buffer from the video backend to speed up palette animation.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:44 +01:00
parent ae7c63cc35
commit 94d8acb7d0
7 changed files with 607 additions and 3 deletions

View File

@@ -32,6 +32,13 @@ add_files(
CONDITION NOT OPTION_DEDICATED AND SSE_FOUND
)
add_files(
40bpp_anim.cpp
40bpp_anim.hpp
CONDITION NOT OPTION_DEDICATED AND OPENGL_FOUND
)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
set_compile_flags(
32bpp_anim_sse2.cpp