Maybe you need to disable the hot switching between the default graphics card and the more powerful one? I think that was the source of a few similar issues [1].

[1]: http://gloss.ouroborus.net, question Q: On my MacBook Pro under OSX, gloss programs freeze after displaying the first few frames


On Tue, May 20, 2014 at 6:20 AM, Michael Baker <michaeltbaker@gmail.com> wrote:
I'm using OpenGLRaw and I'm getting 3 frames per second trying to draw 8000 triangles. When I profile the application, I see that almost all of the time is taken by a call to CGLFlushDrawable, which is apparently OSX's function for swapping the back buffer to the front buffer.

Has anyone else run into a problem like this? I seem to recall a thread a while ago about a Haskell specific OpenGL performance issue, but I can't find it now.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe




--
Alp Mestanogullari