On 31/05/2007, at 2:49 AM, Jean-François Roy wrote:
Calling glFlush before -flushBuffer is unnecessary in all cases.
From the documentation:
"An implicit glFlush is done by flushBuffer before it returns."
You can call glFlush at any time to essentially force force a
synchronization point in the pipeline and drain the MTGL engine's
command/operation queue. So what you want to do is add extra
glFlush calls when user input is occurring with MTGL turned on to
effectively limit the depth of that queue and improve the response
time (the "snappiness") of your application.
Thanks - I now call glFlush just after calling my setNeedsDisplay
method within the mouseDragged method. Works beautifully.
Thanks for everyone's help. I'm sure that others will find this
thread useful.
Kind regards,
Christopher _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden