W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2016

[Bug 28798] Make BufferSource more convenient to use

From: <bugzilla@jessica.w3.org>
Date: Thu, 11 Feb 2016 15:36:27 +0000
To: public-script-coord@w3.org
Message-ID: <bug-28798-3890-IXNC0alcac@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28798

--- Comment #12 from Boris Zbarsky <bzbarsky@mit.edu> ---
> 1. BufferSource (and what it expands to) copies by default.

At what point does the copy occur?  At IDL argument conversion time for the
BufferSource argument, or after all argument conversions are done but before
entry into the algorithm prose?  Does this only apply to BufferSource, or to
typed array and ArrayBuffer arguments in general?

I assume WebGL will end up using [UnsafeReference] for performance reasons,
unless we make the copy happen at entry-into-prose time; then it could probably
use the copying behavior.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 11 February 2016 15:36:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:25 UTC