Hi,
I would like to share with this piece of code:
http://mstanisz.website.pl/tmp/other/AMIGA_TESTS_P96.zip
I make a simple fullscreen test. I was searching for fast and fastest routine to
put content of my generated graphic buffer into screen as fast as possible.
No heavy calculations just filling the buffer.
I used standard WritePixelArray, but also wanted to try to bypass that using bitmap locking and direct memory copy.
In WinUae test the direct memcpy is a bit faster.
I am attaching the source code in C, because maybe someone is insterested in RTG coding and search for similar informations,
but also maybe someone would improve the code - to make it more general or even faster.
Please note that the main focus of this code is to fill the whole screen as fast as possible with graphic data.
The code and test is aimed for 32bit mode.