I’ve recently started on a mac port of a windows. The app is using opengl for rendering of a 2D interface (featuring lots of antialiasing, alpha blending etc).
I started on the windows version first, wrongly assuming the OSX version would be a breeze because of Apples apparent tight-integration of OpenGL.
However, the time taken to render the scene on OSX is incredible slow compared to the windows build. On Windows debug build, its less than 0.5ms. On OSX (10.5 with Nvidia drivers) its taking around 5-7ms. (in both cases i’m timing before the swapbuffers call). I’ve heard that Nvidia drivers are bad on OSX, but I find it hard to believe this is the only explanation for this huge difference. (This is on the same machine with bootcamp!)
Im totally lost, does anyone have any ideas or tips, know of common pitfalls etc?