<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 21, 2014 at 6:53 PM, 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"><div class="gmail_extra"><div class="gmail_quote"><div>I've added a VAO and reduced the inner loop to only a call to glDrawArrays which renders 8000 triangles (24000 vertices). The gameFrame function now benchmarks at ~86ms on my machine. I would expect it to be ~16ms because of vsync. I've pared down the entire project into this buildable cabal project of three files, most of which is OpenGL boilerplate: <a href="https://github.com/MichaelBaker/haskell-opengl" target="_blank">https://github.com/MichaelBaker/haskell-opengl</a>.</div>
</div></div></div></blockquote><div><br></div><div>Awesome. Thanks! I'm taking a look now. I'll let you know if I figure out anything.</div><div><br></div><div>Jason</div></div></div></div>