I migrated a small SDL2 project to my raspberry pi and the performance was just awful.
On frames with less textures to render, it runs beyond 60fps. Otherwise, the CPU skyrockets to >90% and the framerate drops pretty hard.
I was wondering what changes could be made to improve rendering efficiency:
- What flags/options/etc. in SDL2 work best for the Raspberry Pi?
- Would Blitting be better for the Pi?
- Are there other libraries that work with SDL2 which could help improve rendering efficiency on the Pi?