W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] Canvas pixel manipulation and performance

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 30 Nov 2009 19:45:08 +0100
Message-ID: <op.u3701in064w2qv@anne-van-kesterens-macbook.local>
On Mon, 30 Nov 2009 19:31:53 +0100, Philip Taylor  
<excors+whatwg at gmail.com> wrote:
> But it looks like the spec changed since I last looked, and the setter
> takes an 'octet' argument, so I think the conversion should happen as
> per http://dev.w3.org/2006/webapi/WebIDL/#es-octet and
> CanvasPixelArray shouldn't define any conversion. (Filed as
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=8405). Hopefully WebIDL
> and WebGL either match or can be made to match.

It would be nice if they used the same object/interface too... Maybe  
implementations of CanvasPixelArray should hide the interface and other  
details so that we can eventually convert into some kind of octet array if  
we get native support for that.

Anne van Kesteren
Received on Monday, 30 November 2009 10:45:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC