Closed johnbatty closed 7 years ago
Awesome !! The improvement is really huge !
Thanks
I did some tests on raspberry pi and it works really correctly
I added some checks that you removed because I got some crashes: https://github.com/Gigoteur/PX8/commit/7f34f5859c0cd111f2baa52b528aa52d5cbca43d
I think the impact is not really huge (for my modification_
Performance improvements, focussing on putpixel performance. Plus a few small bonus fixes.
Before/after performance results, showing 4x - 20x improvement :-)
I also added some detailed rendering performance measurements, as I added the new screen buffer to RGB translation there. This showed the RGB conversion step (the first measurement below) to be minimal (about 50us per frame). I left these measurements in the code - they can be enabled/displayed using a new "blit_perf" feature (disabled by default).
I've tested with the demos and games, found and fixed a few issues. Currently have no known issues with the changes.