The nyancat example is really poorly written and trigger relayouts for every frame (quite costly).webguy wrote:Tried this today using the clutter-1.0 package in raspbian. Unfortunately it renders verrrry slowly, the nyancat sample found here https://github.com/clutter-project/toys ... er/nyancat compiles and runs but at 2-5 FPS. As mentioned above, seems it can't get an EGL window. What would be involved in porting this?
Hi johang, can you post the build instructions? ... I would like use clutter on the raspberry.johang wrote:I've managed to get cogl and clutter running. You need a couple of hacks though. I can post build instructions later if you guys want.
I've pushed my changes to github
The nyancat demo gets 15 FPS when running at 1680x1050.
BTW, I need "export G_SLICE=always-malloc" before launching on Raspbian, or else glib crashes.