Xml文件  |  44行  |  1.46 KB

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

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


<OpenGLAPI>

<category name="GL_ARB_base_instance" number="107">

  <function name="DrawArraysInstancedBaseInstance" exec="dynamic" marshal="draw"
            marshal_fail="_mesa_glthread_is_non_vbo_draw_elements(ctx)">
    <param name="mode" type="GLenum"/>
    <param name="first" type="GLint"/>
    <param name="count" type="GLsizei"/>
    <param name="primcount" type="GLsizei"/>
    <param name="baseinstance" type="GLuint"/>
  </function>

  <function name="DrawElementsInstancedBaseInstance" 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"/>
    <param name="baseinstance" type="GLuint"/>
  </function>

  <function name="DrawElementsInstancedBaseVertexBaseInstance" 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"/>
    <param name="basevertex" type="GLint"/>
    <param name="baseinstance" type="GLuint"/>
  </function>

</category>

</OpenGLAPI>