Well,
I’ve discovered it has something to do with the fact that I’m using the EVT_IDLE to draw to an opengl canvas. When I remove that idle event handler, the thread speeds up dramatically. Maybe I need to threadify the drawing to the canvas as well?
Patrick Jakubowski
···
Watch “Cause Effect,” a show about real people making a real difference. Learn more
From: pat_jakubowski@hotmail.com [mailto:pat_jakubowski@hotmail.com] On
Behalf Of Patrick Jakubowski
Well,
I've discovered it has something to do with the fact that I'm using the
EVT_IDLE to draw to an opengl canvas. When I remove that idle event
handler, the thread speeds up dramatically. Maybe I need to threadify the
drawing to the canvas as well?
Patrick Jakubowski
<<<
What exactly are the details on calling window methods from a thread they
weren't created in? PostEvent and CallLater [c. Dunn] can do it, but the
results delay. Does either time.sleep or wx.sleep, when called from a event
sink, yield for other events, then resume; or does it hang the app?
···
Sent: Wednesday, January 09, 2008 6:28 PM