<div dir="ltr">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].<div><br></div><div>[1]: <a href="http://gloss.ouroborus.net">http://gloss.ouroborus.net</a>, question <strong style="font-size:13px;color:rgb(0,0,0);font-family:Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif">Q: On my MacBook Pro under OSX, gloss programs freeze after displaying the first few frames</strong></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 20, 2014 at 6:20 AM, Michael Baker <span dir="ltr"><<a href="mailto:michaeltbaker@gmail.com" target="_blank">michaeltbaker@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div>


<br></div><div>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.</div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Alp Mestanogullari
</div>