added some performance tuning for "autotest" and warp mode
authorHolger Schemel <info@artsoft.org>
Tue, 6 Feb 2018 21:15:15 +0000 (22:15 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 6 Feb 2018 21:34:44 +0000 (22:34 +0100)
commit727d3b5fc7cac6f59652eaa23f1ed9e991ae50bd
tree13c696009666d45a08ff91d4a5f95a270aa7df19
parente6b3efaee4f084e66f2fa709402f25fc67536952
added some performance tuning for "autotest" and warp mode

- profiling showed that completely skipping the playfield redraw functions
  makes "autotest" and warp mode much (or at least considerably) faster in
  certain cases than only skipping the resulting bitmap blitting functions
- massive speedup when using the EM engine with the R'n'D graphics engine
- good speedup when using the EM engine with the native EM graphics engine
- good speedup when using the SP engine
- minor speedup when using the R'n'D engine
src/game.c
src/game_em/graphics.c
src/game_sp/main.c
src/libgame/system.c
src/libgame/system.h