add CGLGLContext for off-screen rendering on Darwin
#690
+11
−0
CGLGLContext for off-screen rendering on Darwin
#690