[Webkit-unassigned] [Bug 74455] Uint8ClampedArray support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 2 13:48:40 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=74455


Caio Marcelo de Oliveira Filho <cmarcelo at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |cmarcelo at webkit.org
                   |kit.org                     |




--- Comment #5 from Caio Marcelo de Oliveira Filho <cmarcelo at webkit.org>  2012-01-02 13:48:39 PST ---
(In reply to comment #4)
> Uint8ClampedArray is already supported, just with the name ByteArray, we really shouldn't have two distinct implementations of the same semantics.

One difference is that Uint8ClampedArray would support using alternative views to manipulate the same data. In the scenario of bug 73011, one can get from the API a Uint8ClampedArray, create a view on this data using Uint32Array and do 32 bit manipulations.

This example is expanded in the article http://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipulation-with-typed-arrays/ (you can skip directly to "Image Data Object" section).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list