[whatwg] Canvas pixel manipulation and performance

On 11/28/09 11:42 PM, Kenneth Russell wrote:
> From a technical standpoint, it would be feasible to use the
> "WebGLUnsignedIntArray" to access the Canvas's pixel data, and
> assemble RGBA pixels into integer values using just JavaScript logical
> operators.

I assume you meant JS bitwise operators?  Do we have any indication that 
this would be faster than four array property sets?  The bitwise ops in 
JS are not necessarily particulary fast.

-Boris

Received on Saturday, 28 November 2009 21:00:03 UTC