Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / webgl / src / extensions / ANGLE_instanced_arrays / extension.xml
1 <?xml version="1.0"?>
2 <ratified 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     <core version="2.0" />
15   </depends>
16   <overview>
17     <mirrors href="http://www.khronos.org/registry/gles/extensions/ANGLE/ANGLE_instanced_arrays.txt" name="ANGLE_instanced_arrays">
18       <addendum>
19         The implementation must validate the indices referenced by <code>drawArraysInstancedANGLE</code> and <code>drawElementsInstancedANGLE</code>
20         similarly to how indices referenced by <code>drawArrays</code> and <code>drawElements</code> are validated according to section
21         <a href="http://www.khronos.org/registry/webgl/specs/1.0/#ATTRIBS_AND_RANGE_CHECKING">Enabled Vertex Attributes and Range Checking</a> of the
22         WebGL specification.
23       </addendum>
24     </mirrors>
25     <p>
26       Although the extension contains ANGLE in the name it may be exposed by any implementation, whether or not the implementation uses the ANGLE library.
27     </p>
28   </overview>
29   <idl xml:space="preserve">
30 [NoInterfaceObject]
31 interface ANGLE_instanced_arrays {
32     const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
33     void drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
34     void drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount);
35     void vertexAttribDivisorANGLE(GLuint index, GLuint divisor); 
36 };
37   </idl>
38   <history>
39     <revision date="2012/03/06">
40       <change>Initial revision.</change>
41     </revision>
42     <revision date="2013/01/26">
43       <change>Moved from proposal to draft.</change>
44     </revision>
45     <revision date="2013/03/11">
46       <change>Renumbered to 19 to fix misnumbering problem.</change>
47     </revision>
48     <revision date="2013/08/06">
49       <change>Moved to community approved.</change>
50     </revision>
51     <revision date="2013/08/22">
52       <change>Clarified non-ANGLE support.</change>
53     </revision>
54     <revision date="2014/03/13">
55       <change>Addendum about index validation.</change>
56     </revision>
57     <revision date="2014/07/15">
58       <change>Added NoInterfaceObject extended attribute.</change>
59     </revision>
60     <revision date="2014/08/08">
61       <change>Ratified by Khronos Board of Promoters.</change>
62     </revision>
63   </history>
64 </ratified>