Debian Codegraph @

api_webgl/extensions/OES_texture_half_float/extension.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ratified href="OES_texture_half_float/">
3 <name>OES_texture_half_float</name>
4
5 <contact> <a href="https://www.khronos.org/webgl/public-mailing-list/">WebGL
6 working group</a> (public_webgl 'at' khronos.org) </contact>
7
8 <contributors>
9 <contributor>Members of the WebGL working group</contributor>
10 </contributors>
11
12 <number>2</number>
13
14 <depends>
15 <api version="1.0"/>
16 <removed version="2.0" />
17 </depends>
18
19 <overview>
20 <mirrors href="http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt"
21 name="OES_texture_half_float">
22 <addendum>Optional support for <code>HALF_FLOAT</code> textures as FBO
23 attachments.</addendum>
24 </mirrors>
25
26 <features>
27 <feature> The <code>texImage2D</code> and <code>texSubImage2D</code>
28 entry points taking <code>ArrayBufferView</code> are extended to accept
29 <code>Uint16Array</code> with the pixel type <code>HALF_FLOAT_OES</code>.
30 </feature>
31
32 <feature> The <code>texImage2D</code> and <code>texSubImage2D</code>
33 entry points taking <code>ImageData</code>,
34 <code>HTMLImageElement</code>, <code>HTMLCanvasElement</code> and
35 <code>HTMLVideoElement</code> are extended to accept the pixel type
36 <code>HALF_FLOAT_OES</code>. </feature>
37
38 <feature>Upon activation of this extension, implementations supporting
39 <a href="../EXT_color_buffer_half_float/">EXT_color_buffer_half_float</a>
40 shall implicitly enable it. This requirement maintains the historical
41 behavior prior to the differentiation of float renderability from float
42 textures, so as to not break existing content.</feature>
43 </features>
44 </overview>
45
46 <idl xml:space="preserve">
47 [NoInterfaceObject]
48 interface OES_texture_half_float {
49 const GLenum HALF_FLOAT_OES = 0x8D61;
50 };
51 </idl>
52
53 <history>
54 <revision date="2010/11/29">
55 <change>Initial revision.</change>
56 </revision>
57
58 <revision date="2011/09/12">
59 <change> Added similar text about <code>texImage2D</code> and
60 <code>texSubImage2D</code> as in OES_texture_float spec. </change>
61
62 <change> Added optional ability to use a HALF_FLOAT_OES type texture as
63 an FBO's color attachment. </change>
64 </revision>
65
66 <revision date="2012/01/03">
67 <change>Removed webgl module per changes to Web IDL spec.</change>
68 </revision>
69
70 <revision date="2012/12/04">
71 <change>Specify that implementations supporting HALF_FLOAT_OES color
72 attachments implicitly enable EXT_color_buffer_half_float.</change>
73 </revision>
74
75 <revision date="2013/05/15">
76 <change>Ratified by Khronos Board of Promoters.</change>
77 </revision>
78
79 <revision date="2014/02/12">
80 <change>Allow texture uploads of half-floats via Uint16Arrays.</change>
81 </revision>
82
83 <revision date="2014/07/15">
84 <change>Added NoInterfaceObject extended attribute.</change>
85 </revision>
86
87 <revision date="2014/09/11">
88 <change>Corrected link to EXT_color_buffer_half_float.</change>
89 </revision>
90
91 <revision date="2017/09/14">
92 <change>Clarify behaviors regarding EXT_color_buffer_half_float.</change>
93 </revision>
94 </history>
95 </ratified>