mirror of https://github.com/bsnes-emu/bsnes.git
6c8e3c885d
byuu says: Changelog: - SNES: started on skeleton of the new parallel PPU core To build the new PPU core, set profile=fast via GNU make. The old core is profile=accurate. The names of the profiles, and the name of the folder for the fast PPU are subject to change. The new PPU core doesn't do anything but demonstrate the proof of concept: every scanline, make a copy of all the PPU registers and CGRAM. Share the VRAM and OAM. Batch render all scanlines at once using OpenMP at the end of each frame and blit the result. With no PPU core at all, bsnes runs 91% faster than with the accuracy PPU (230fps vs 120fps.) That's the absolute theoretical best-case scenario. With the skeleton in place, we're already around 220fps. It'll go down more as the PPU line renderer starts to do real work. I don't know where things will end up yet. I suppose we'll find out in time. My own copy of TDM/GCC can't use OpenMP on Windows, so ... it won't parallelize if you build with that. I'm going to have to switch to a different MinGW distribution once this is complete, I suppose. |
||
---|---|---|
.. | ||
counter-inline.hpp | ||
counter.hpp | ||
serialization.cpp |