<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<!-- Note: no GLX protocol info yet. -->


<OpenGLAPI>

<category name="GL_ARB_draw_instanced" number="44">

  <function name="DrawArraysInstancedARB" exec="dynamic" marshal="draw">
    <param name="mode" type="GLenum"/>
    <param name="first" type="GLint"/>
    <param name="count" type="GLsizei"/>
    <param name="primcount" type="GLsizei"/>
  </function>

  <function name="DrawElementsInstancedARB" exec="dynamic" marshal="draw"
            marshal_fail="_mesa_glthread_is_non_vbo_draw_elements(ctx)">
    <param name="mode" type="GLenum"/>
    <param name="count" type="GLsizei"/>
    <param name="type" type="GLenum"/>
    <param name="indices" type="const GLvoid *"/>
    <param name="primcount" type="GLsizei"/>
  </function>

</category>


<category name="GL_EXT_draw_instanced" number="327">

  <function name="DrawArraysInstancedEXT"  alias="DrawArraysInstancedARB">
    <param name="mode" type="GLenum"/>
    <param name="first" type="GLint"/>
    <param name="count" type="GLsizei"/>
    <param name="primcount" type="GLsizei"/>
  </function>

  <function name="DrawElementsInstancedEXT" alias="DrawElementsInstancedARB">
    <param name="mode" type="GLenum"/>
    <param name="count" type="GLsizei"/>
    <param name="type" type="GLenum"/>
    <param name="indices" type="const GLvoid *"/>
    <param name="primcount" type="GLsizei"/>
  </function>

</category>


</OpenGLAPI>