W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > April 2017

Re: [fxtf-drafts] [geometry] Consider using Typed Arrays for matrices and static transform operations

From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Apr 2017 17:53:13 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-292255189-1491501192-sysbot+gh@w3.org>
Another option is to make a new constructor to DOMMatrix that takes a Float64Array or Float32Array, and spec it to use that typed array as the backing store. e.g. multiplications in-place would update that array, the implementation would use it internally, and accessors like m11 etc would mutate that typed array.

It does seem to be the case that we could add support for typed array-backed methods in the future.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/123#issuecomment-292255189 using your GitHub account
Received on Thursday, 6 April 2017 17:53:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 November 2018 00:45:57 UTC