W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Proposal for a new Matrix API

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 21 Oct 2011 11:32:34 -0400
Message-ID: <4EA19092.3030302@mit.edu>
To: public-webapps@w3.org
On 10/21/11 11:28 AM, João Eiras wrote:
> On Thu, 20 Oct 2011 16:39:56 +0200, Igor Oliveira
> <igor.oliveira@openbossa.org> wrote:
>
>> Hello,
>>
>> Currently CSSMatrix and SVGMatrix has an immutable API. None of the
>> method calls change the Matrix, instead, it creates a new Matrix with
>> the changed value. It can be a problem specially when CSSMatrix is
>> used together with WebGL. [1]
>>
>
> I would suggest that the matrix should not be a host object. Instead is
> should be a pure ecmascript object so it can run closer to the metal (be
> jitted easily).

It may still want to be immutable.  This has certain benefits when you 
want to do really high-performance computation; c.f. River Trail.

-Boris
Received on Friday, 21 October 2011 15:33:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT