Home | History | Annotate | Download | only in gen
      1 <?xml version="1.0"?>
      2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
      3 
      4 <!-- Note: no GLX protocol info yet. -->
      5 
      6 
      7 <OpenGLAPI>
      8 
      9 <category name="GL_ARB_map_buffer_range" number="50">
     10 
     11     <enum name="MAP_READ_BIT"                value="0x0001"/>
     12     <enum name="MAP_WRITE_BIT"               value="0x0002"/>
     13     <enum name="MAP_INVALIDATE_RANGE_BIT"    value="0x0004"/>
     14     <enum name="MAP_INVALIDATE_BUFFER_BIT"   value="0x0008"/>
     15     <enum name="MAP_FLUSH_EXPLICIT_BIT"      value="0x0010"/>
     16     <enum name="MAP_UNSYNCHRONIZED_BIT"      value="0x0020"/>
     17 
     18     <function name="MapBufferRange" offset="assign">
     19         <param name="target" type="GLenum"/>
     20         <param name="offset" type="GLintptr"/>
     21         <param name="length" type="GLsizeiptr"/>
     22         <param name="access" type="GLbitfield"/>
     23         <return type="GLvoid *"/>
     24     </function>
     25 
     26     <function name="FlushMappedBufferRange" offset="assign">
     27         <param name="target" type="GLenum"/>
     28         <param name="offset" type="GLintptr"/>
     29         <param name="length" type="GLsizeiptr"/>
     30     </function>
     31 
     32 </category>
     33 
     34 </OpenGLAPI>
     35