Re: Bindless vertex array
Posted by elect on May 06, 2015; 4:50pm
URL: https://forum.jogamp.org/Bindless-vertex-array-tp4034343p4034443.html
I isolated what makes my program slower
- in the initBindlessTextures() is the:
gl4.glMakeTextureHandleResidentARB(textureHandles[i]);
- basically the whole
meshes[i].render(gl4);
in the draw(GL4 gl4) in the BindlessApp.java
- if I make vertex and index buffers resident
gl4.glMakeBufferResidentNV(GL4.GL_ARRAY_BUFFER, GL4.GL_READ_ONLY);
in the public void update(GL4 gl4, ArrayList<Vertex> vertices, ArrayList<Short> indices) {