Raspberry Pi & Layers

Discuss any general programming issues here
Post Reply
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Raspberry Pi & Layers

Post by Allanon »

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 :D
Seems to fall back to CPU since it goes to 98%, it may explode running my code for a couple of hours! :D
Any hint excluding rewriting the entire code using sdl?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Raspberry Pi & Layers

Post by airsoftsoftwair »

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?
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Raspberry Pi & Layers

Post by Allanon »

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
Post Reply