Implement GLContext for C++ on Cocoa