<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>765</bug_id>
          
          <creation_ts>2013-06-24 15:37:14 +0200</creation_ts>
          <short_desc>glMultiDrawElementsBaseVertex is missing</short_desc>
          <delta_ts>2013-10-09 23:19:08 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>opengl</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>852</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Julien">julien.carlos</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>b9a24308f3ebc6fae9ca79f6020970945936feab</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2711</commentid>
    <comment_count>0</comment_count>
    <who name="Julien">julien.carlos</who>
    <bug_when>2013-06-24 15:37:14 +0200</bug_when>
    <thetext>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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2782</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-05 06:26:25 +0200</bug_when>
    <thetext>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);

-&gt; glMultiDrawElementsBaseVertex(int mode, IntBuffer count, int type, PointerBuffer indices, int primcount, IntBuffer basevertex)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>