Hello guys!
Maybe I'm a bit rusted with graphic stuff but I was wondering if there is a way to achieve a reasonable drawing speed on the Raspberry Pi using Hollywood layers.
On my Windows machine it runs smoothly with the new renderer & sync set to on, on my Pi4 it leterally sucks
Seems to fall back to CPU since it goes to 98%, it may explode running my code for a couple of hours!
Any hint excluding rewriting the entire code using sdl?
Raspberry Pi & Layers
Raspberry Pi & Layers
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Raspberry Pi & Layers
Well, it depends on what exactly you do using layers. Some things are more expensive, some less. Have you tried routing the entire script through RebelSDL and see if that improves the performance?
Re: Raspberry Pi & Layers
Hi, yes I've tried with simple RebelSDL routing without good results, anyway I've converted my code using double buffer which seems the best option
Thanks anyway
Thanks anyway
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆