Closed oomek closed 4 years ago
Hey i tested this this increases performance considerably under drm. FPS is a lot higher compared to original code. Probably because attract / sfml-pi can draw already on the next surface. Good work @oomek
it seems but we are still investigating that there might be problem with this pr when returning from emulators that the screen is not recreated i would not merge yet until fully investigated. The orginal double buffer version (master) does not seem to exhibit this problem
Added missing cleanup calls.
the missing cleanup calls seems to have fixed the problem with the screen not being recreated after returning from emus. works fine now as far as i can tell and is faster inside attract
I can confirm that this greatly improves the fps on the RPi4. Thanks Oomek!
works great here, thanks Oomek!
Fixes the performance degradation during page flipping when compared to Dispmanx backend which by default has triple buffering enabled.