Bug 765

Summary: glMultiDrawElementsBaseVertex is missing
Product: [JogAmp] Jogl Reporter: Julien <julien.carlos>
Component: openglAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
b9a24308f3ebc6fae9ca79f6020970945936feab
Workaround: ---
Bug Depends on:    
Bug Blocks: 852    

Description Julien 2013-06-24 15:37:14 CEST
glMultiDrawElementsBaseVertex which was added in OpenGL 3.2 specification is missing in the API. 
Make sure that the implementation supports indices provided in a buffer object bound to ELEMENT_ARRAY_BUFFER (see Bug ID 764).
Comment 1 Sven Gothel 2013-07-05 06:26:25 CEST
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)