Skip to content

Commit

Permalink
[EXT_texture_norm16] Align with Web IDL specification
Browse files Browse the repository at this point in the history
  • Loading branch information
autokagami committed Dec 7, 2020
1 parent 2ddd3be commit 0eaa955
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions extensions/EXT_texture_norm16/extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,10 @@
<code>Uint16Array</code> with the pixel type <code>UNSIGNED_SHORT</code>
and <code>Int16Array</code> with the pixel type <code>SHORT</code>.
</feature>

<feature> The <code>texImage2D</code> and <code>texSubImage2D</code>
entry points taking <code>ImageData</code>,
<code>HTMLImageElement</code>, <code>HTMLCanvasElement</code> and
<code>HTMLVideoElement</code> are extended to accept the pixel type
<code>UNSIGNED_SHORT</code>. </feature>

</features>
</overview>

<idl xml:space="preserve">

[Exposed=Window, LegacyNoInterfaceObject]
interface EXT_texture_norm16 {
const GLenum R16_EXT = 0x822A;
Expand Down Expand Up @@ -81,5 +73,8 @@ interface EXT_texture_norm16 {
<revision date="2020/08/13">
<change>Promoted to Community Approved.</change>
</revision>
<revision date="2020/12/03">
<change>Constrain the scope to only support ArrayBufferView.</change>
</revision>
</history>
</extension>

0 comments on commit 0eaa955

Please sign in to comment.