Unfortunately I don't see this on my Linux systems (a desktop and an EEE PC).
I've added a potential fix. Please try the appended patch to see whether the
effect is lessened for you.
Richard
Index: bruce/presentation.py
===================================================================
--- bruce/presentation.py (revision 143)
+++ bruce/presentation.py (working copy)
@@ -36,6 +36,9 @@
# set up the initial page
old_page = self.page
self.page = page
+ bgcolor = page.content.stylesheet['layout']['background_color']
+ bgcolor = [c/255. for c in bgcolor]
+ pyglet.gl.glClearColor(*bgcolor)
page.desired_size = self.desired_size
# enter the page
Thanks for the patch. The flicker of the background now appears gone.
Unfortunately the quad that I draw at the bottom of the page does
still flicker (with the white background color).
I'm on a linux system myself as well (ubuntu with the nvidia drivers).
Regards,
Martijn
I have messed around with pyglet a bit actually last week, and the
performance seemed fine.
The one odd artifact I had was that hm.. I might have the name wrong
and it's late at EuroPython... fanned quads seemed to have an extra
line connecting them to another quad, and I think a pymunk demo that
used pyglet was showing these are artifacts, but perhaps that's just
normal. I've also done some work with pyglet sprites and they seem to
work just fine.
Regards,
Martijn
Righto, that was a long shot ;)
> The one odd artifact I had was that hm.. I might have the name wrong
> and it's late at EuroPython...
Darn, you're at EP too? I'm so jealous. Hassle the Cocos guys while you're
there tho, make them fix Bruce - there wasn't any problem before I integrated
the Cocos transitions :)
Richard
And in fact that artifact was on my desktop, not this laptop. I
haven't tried things on this laptop.
I will have to track down the cocos2d guys to hassle them. :)
Regards,
Martijn