Even though graphics on Galaktia are simple tiles and images, low-end
machines may have some problems due to (questionably) a bug in Intel
drivers (defaults vsync to "True") that slows Pyglet down. In fact, you
will get no more than 0.33 fps at 60MHz refresh rate.
Suggestion:
Make Galaktia auto-detect low-end cards or low-fps and force vsync to "0"
to improve performance.
Example code:
import pyglet
win = pyglet.window.Window()
clock = pyglet.clock.Clock()
@window.event
def on_draw():
# Here be dragons (and draw functions)
fps = clock.get_fps()
if (fps > 0 and fps < 30):
win.set_vsync(False)
Original issue reported on code.google.com by rhfi...@gmail.com on 20 Aug 2009 at 12:51
Original issue reported on code.google.com by
rhfi...@gmail.com
on 20 Aug 2009 at 12:51