
22 May
2014
22 May
'14
12:59 a.m.
On Wed, May 21, 2014 at 6:53 PM, Michael Baker
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: https://github.com/MichaelBaker/haskell-opengl.
Awesome. Thanks! I'm taking a look now. I'll let you know if I figure out anything. Jason