[ Thread Index |
Date Index
| More lists.tuxfamily.org/gluon Archives
]
- To: gluon <gluon@xxxxxxxxxxxxxxxxxxx>
- Subject: [gluon] Pong and slow!
- From: idk <istdasklar@xxxxxxxxx>
- Date: Wed, 31 Mar 2010 23:23:39 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=pD+jPnQPV7Qn2E8O+lYruShlzANjocmfmcP4FyjXuvw=; b=xF7L/iU06/T0on7OVS4CBvUmX3YJWmilixRXW8n8OakIss89bD0lVd01W0mXtmjUSD ENBhlyiXawmKQIfIxhTRN9hoKnZEQdh5bMhoRfH6bCCcz0WrI5ydmGnuDPazUwKmQBIj wN7LJeaDF91ps40ljlRyIOI/+yYoMoz4hFFXM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=C4VS4U7DT6v/mKwOjaOmhbAB4PaTErIYfJ/lCPOK6aj63kXxssxQiorY3vUMhLx4iW 6EU1JKZ/eSJtyGsVXI9rK5/EwWwvQcC6zdj3y/xpghVzKQjUSdvCsaz43LrgyracV7ro vlIrsK3QWa5yuBWPBdd2YVC6/9oOwlyDz5/hw=
Hi,
I created a new Gluon example called: " pong"! You can just see a ball moving right to left.
I made this example to see the performance. Now I m sure,the lagging motion doesn't come from gluonGraphics or openGL lib, but from my CPU!
In join object, I send you a screenshot of my CPU activity when I click on : Play game / pause game / stop game
I tested to create the same pong directly from gluonGraphics. There is no problem.
So, I suspect an "infini while loop" somewhere...
Attachment:
gluonStartGame.png
Description: PNG image