61b297b63499230ea2f09b427ae503f089816870
[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   </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 [NoInterfaceObject]
30 interface ANGLE_instanced_arrays {
31     const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
32     void drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
33     void drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount);
34     void vertexAttribDivisorANGLE(GLuint index, GLuint divisor); 
35 };
36   </idl>
37   <history>
38     <revision date="2012/03/06">
39       <change>Initial revision.</change>
40     </revision>
41     <revision date="2013/01/26">
42       <change>Moved from proposal to draft.</change>
43     </revision>
44     <revision date="2013/03/11">
45       <change>Renumbered to 19 to fix misnumbering problem.</change>
46     </revision>
47     <revision date="2013/08/06">
48       <change>Moved to community approved.</change>
49     </revision>
50     <revision date="2013/08/22">
51       <change>Clarified non-ANGLE support.</change>
52     </revision>
53     <revision date="2014/03/13">
54       <change>Addendum about index validation.</change>
55     </revision>
56     <revision date="2014/07/15">
57       <change>Added NoInterfaceObject extended attribute.</change>
58     </revision>
59     <revision date="2014/08/08">
60       <change>Ratified by Khronos Board of Promoters.</change>
61     </revision>
62   </history>
63 </ratified>