On Mon, Jul 30, 2012 at 9:00 AM, Nitneroc <[email protected]> wrote:
> For performance testing, I have turned off vsync, and discovered this > strange behaviour, I wasn't aware of before : > > When my app starts, it runs at 600+ fps, which seems nice > when I give focus to another app, it stays at the same value > when I give the focus back to my cocos2d app, the fps drop to 70-90 fps. > This is corrected by dragging the window around (the fps rise up to 600+). > > Is this a known issue ? Is there a solution ? > I'll provide an example if needed. > > I'm running cocos2d 0.5.0 and pyglet 1.1.4 on windows 7. > I don't remember a similar report. pyglet clock was totally revamped in the 1.2 version, and it is much smoother than in 1.1.4 Could you give a try with pyglet 1.2alpha ? http://code.google.com/p/pyglet/downloads/list -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
