Hi Jules, I noticed that at some point (perhaps a couple years ago unfortunately) you added a "Locker" struct to the OS X OpenGL code which calls the functions CGLLock/UnlockContext. And in OpenGLContext::renderFrame, you use the Locker around any GL drawing code.
Do you remember what purpose this serves? Does it prevent some kind of multithreading problem? At the moment I'm dealing with an issue like this one: http://www.cocoabuilder.com/archive/cocoa/107699-nsopenglview-from-second-nsthread.html, where resizing my OpenGL window by dragging the corner causes a crash (and this window is rendered in a secondary thread).
It's a difficult crash to reproduce though, so I'm not exactly sure when I've fixed it and when I haven't, which is why I'm asking what you remember about the need for the CGLLock/UnlockContext functions.
Many thanks for any help in understanding this.