Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. Fix Bug 763 and Bug 764: Proper GL gluegen for glCreateShaderProgramv (details)
  2. Fix Bug 765: Add glMultiDrawElementsBaseVertex ; Restrict PointerBuffer (details)
Commit 4e225341fa11769c4da0825a3b5eb37464a732ef by Sven Gothel
Fix Bug 763 and Bug 764: Proper GL gluegen for glCreateShaderProgramv and GL3's glDraw*Elements*.

glCreateShaderProgramv: Param idx 2 should be String[]

All following draw commands are buffer object types, i.e. shall accept memory buffer reference (VBO/VAO/..):

+BufferObjectKind Element glDrawElementsBaseVertex
+BufferObjectKind Element glDrawElementsInstanced
+BufferObjectKind Element glDrawElementsInstancedBaseInstance
+BufferObjectKind Element glDrawElementsInstancedBaseVertex
+BufferObjectKind Element glDrawElementsInstancedBaseVertexBaseInstance
BufferObjectKind Element glDrawRangeElements
+BufferObjectKind Element glDrawRangeElementsBaseVertex
The file was modified make/config/jogl/gl-common.cfg (diff)
Commit b9a24308f3ebc6fae9ca79f6020970945936feab by Sven Gothel
Fix Bug 765: Add glMultiDrawElementsBaseVertex ; Restrict PointerBuffer usage to NIO only.

Code snippet for PointerBuffer usage:

Code snippet .. how to use PointerBuffer in this case:

IntBuffer indices = Buffers.newDirectIntBuffer(count);
indices.put(...); ...
indices.rewind();

final PointerBuffer indicesP = PointerBuffer.allocateDirect(1);
indicesP.referenceBuffer(indices);

-> glMultiDrawElementsBaseVertex(int mode, IntBuffer count, int type, PointerBuffer indices, int primcount, IntBuffer basevertex)
The file was modified make/scripts/gluegen-gl.sh (diff)
The file was modified make/config/jogl/gl-common.cfg (diff)