[whatwg] Canvas pixel manipulation and performance

Anne van Kesteren annevk at opera.com
Mon Nov 30 10:45:08 PST 2009


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
http://annevankesteren.nl/



More information about the whatwg mailing list