aliens

Author Topic: Custom blitter (need some people to test)  (Read 5646 times)

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
Custom blitter (need some people to test)
« on: August 28, 2011, 12:31:31 pm »
Hi,
since build 08_27 a custom blitter has been implemented for both rescaling the screen and for blitting shaded battlescape tiles. Two places where the "standard" SDL methods proved to be a slowdown.
This should normally result in higher FPS (and less RAM usage in battlescape due to disabling of caching).

In the included screenshot you see the effect on my pc (it's about 150% FPS gain) and 4,2 Mb less ram used.

I would like to know if the same improvements are visible on other systems. I hope it is not going to slow down on any kind of configuration  and no new bugs are introduced.
« Last Edit: August 28, 2011, 12:34:27 pm by Daiky »

Offline michal

  • Commander
  • *****
  • Posts: 629
    • View Profile
Re: Custom blitter (need some people to test)
« Reply #1 on: August 28, 2011, 12:39:55 pm »
How to test:
- download https://openxcom.ninex.info/git_builds/openxcom_git_master_2011_08_25_0550.zip - latest version before custom blitters
- download https://openxcom.ninex.info/git_builds/openxcom_git_master_2011_08_27_2117.zip - first version with custom blitters

Extract both builds into same directory, you will have two exes. Run first (with older date) exe. Click F5 to turn on fps counter. Check fps on geoscape, on battlescape, etc. Do same thing with second exe.

Don't forget to write your specification ;) Also, it would be nice if you could test on various resolutions (you can edit resolution in config file).