raspi2fb
raspi2fb copied to clipboard
Improving the speed with OpenMP
I guess we might improve the speed of the loop with OpenMP. How do you test the performance? If you have anything ready for testing I would be glad to give it a try. Otherwise I just make another pull request that you can try on your side. :)
-Julien
You are welcome to fork the code. I doubt you will find a convincing performance boost using OpenMP, and it would almost certainly decrease performance on the single core Raspberry Pi models.
The use-case for this code is copying the Raspberry Pi display for a SPI TFT display. In my limited performance testing, the bottle neck was the copying of data to the SPI interface of the TFT display.
Great information! In that case the fewest data we copy the best it is... Which is why the double buffering should be kept at least instead of basic copy. I'll keep you informed. :)