[Public WebGL] Re: WebGL IDL for uniform1fv is not valid WebIDL

Glenn Maynard [email protected]
Mon Apr 2 17:42:23 PDT 2012


On Mon, Apr 2, 2012 at 7:26 PM, Boris Zbarsky <[email protected]> wrote:

>  I think removing the Float32Array overload will make passing JS Arrays
>> of Numbers and Float32Array objects work.
>>
>
> But require copies in the process, no?  That seems highly undesirable in
> this case.


If it matters as an optimization, implementations could still create
separate overloads for this as long as it's transparent to the user,
right?  The overload dispatch is "magic" either way, from the perspective
of the JS developer.

-- 
Glenn Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20120402/4e77ec5d/attachment.html>


More information about the public_webgl mailing list