[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] Typed Array spec updates



Per recent discussions on the public_webgl and public-webapps mailing
lists, and in the WebGL working group, some updates have been
committed to the editor's draft of the typed array spec at
https://www.khronos.org/registry/typedarray/specs/latest/ :

1) The strawman proposal for read-only views and ArrayBuffers has been
removed. The driving use case was to be able to return read-only
ArrayBuffers from XMLHttpRequest's response property when responseType
was "arraybuffer". After discussion on public-webapps, it seems that
it is not desirable to do so.

2) The transfer of ownership of ArrayBuffers has been specified in
terms of the new Transferable interface in the WHATWG draft of the
HTML spec. This dramatically simplifies the language needed to define
the behavior.

3) From discussion on public-webapps and
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12586 , a
Uint8ClampedArray view has been added, which is intended to replace
CanvasPixelArray. This will provide a nice unification between two
areas of the HTML spec.

4) The "omittable" keyword, which has been removed from the Web IDL
editor's draft, has been removed from the typed array spec.

Please post any comments or questions about these changes to the list.

Thanks,

-Ken

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------