Bug 765 - glMultiDrawElementsBaseVertex is missing
Summary: glMultiDrawElementsBaseVertex is missing
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 2
Hardware: All all
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks: 852
  Show dependency treegraph
 
Reported: 2013-06-24 15:37 CEST by Julien
Modified: 2013-10-09 23:19 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
b9a24308f3ebc6fae9ca79f6020970945936feab
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)