View Single Post
Posts: 6 | Thanked: 12 times | Joined on Dec 2009
#16
Originally Posted by Mr_Smiley View Post
Hello,

Would you be able to post the new source code for your simple example? I've tried modifying your simplegl code with _HILDON_NON_COMPOSITED_WINDOW and I'm getting about 30 FPS. Shouldn't it be faster?

Thanks!
You can find the updated code at http://exoticorn.de/simpleglv2.tgz. With this, I get about 42fps. (The framerate is very dependent on the size of the triangle on the screen, as the pixel shader with its sinus is killing the fillrate.)
Looking at the version of my code you posted at http://wiki.maemo.org/SimpleGL_Example, I see that you still have the 'usleep(1000*30)' in there, which I guess is the cause for your 30 fps. You also set _NET_WM_STATE_FULLSCREEN twice.

Good luck with your game.
 

The Following 4 Users Say Thank You to exoticorn For This Useful Post: