title: After a while, glGenBuffers is very slow
body: <p>I'm programming an in-game editor for my simple 2D game, where meshes are dynamically created and removed quite often. I'm using <em>libgdx</em></p>
  
  <p>Everything works fine, except that the editor becomes slow. It responds on input events quite late.</p>
  
  <p>To find the weak point in my code (which isn't optimized at all atm), I run <em>jprofiler</em> and profiled the CPU. It turns out, that <em>glGenBuffers</em> tooks over 2 sec for 14 invocations! That is for 7 meshes, with one vertex and index buffer each. Actually, I have a quite fast machine (i7-4790T, GTX980m, 16GB...), so this shouldn't be the problem here.</p>
  
  <p>I just want to know how this is possible since I have no idea.</p>
  
  <p><img src="https://projektangriff.de/Screenshot.png" alt="jprofiler"></p>