Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / webgl / src / extensions / ANGLE_instanced_arrays / extension.xml
1 <?xml version="1.0"?>
2 <extension href="ANGLE_instanced_arrays/">
3   <name>ANGLE_instanced_arrays</name>
4   <contact>
5     <a href="https://www.khronos.org/webgl/public-mailing-list/">WebGL working group</a> (public_webgl 'at' khronos.org)
6   </contact>
7   <contributors>
8     <contributor>Contributors to ANGLE_instanced_arrays</contributor>
9     <contributor>Members of the WebGL working group</contributor>
10   </contributors>
11   <number>19</number>
12   <depends>
13     <api version="1.0"/>
14   </depends>
15   <overview>
16     <mirrors href="http://www.khronos.org/registry/gles/extensions/ANGLE/ANGLE_instanced_arrays.txt" name="ANGLE_instanced_arrays">
17       <addendum>
18         The implementation must validate the indices referenced by <code>drawArraysInstancedANGLE</code> and <code>drawElementsInstancedANGLE</code>
19         similarly to how indices referenced by <code>drawArrays</code> and <code>drawElements</code> are validated according to section
20         <a href="http://www.khronos.org/registry/webgl/specs/1.0/#ATTRIBS_AND_RANGE_CHECKING">Enabled Vertex Attributes and Range Checking</a> of the
21         WebGL specification.
22       </addendum>
23     </mirrors>
24     <p>
25       Although the extension contains ANGLE in the name it may be exposed by any implementation, whether or not the implementation uses the ANGLE library.
26     </p>
27   </overview>
28   <idl xml:space="preserve">
29 interface ANGLE_instanced_arrays {
30     const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
31     void drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
32     void drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount);
33     void vertexAttribDivisorANGLE(GLuint index, GLuint divisor); 
34 };
35   </idl>
36   <history>
37     <revision date="2012/03/06">
38       <change>Initial revision.</change>
39     </revision>
40     <revision date="2013/01/26">
41       <change>Moved from proposal to draft.</change>
42     </revision>
43     <revision date="2013/03/11">
44       <change>Renumbered to 19 to fix misnumbering problem.</change>
45     </revision>
46     <revision date="2013/08/06">
47       <change>Moved to community approved.</change>
48     </revision>
49     <revision date="2013/08/22">
50       <change>Clarified non-ANGLE support.</change>
51     </revision>
52     <revision date="2014/03/13">
53       <change>Addendum about index validation.</change>
54     </revision>
55   </history>
56 </extension>