Bug 13049 - Matrix functions needed for canvas
Summary: Matrix functions needed for canvas
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Nobody
URL: http://bodytag.org/excanvas1/
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 19:56 PDT by Nicholas Shanks
Modified: 2008-10-01 03:29 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 2007-03-12 19:56:24 PDT
The matrix functions in the above canvas would be really useful if they could call vecLib instead of doing them all with plain javascript. that way you'd get a lot more speed and people could write Quake with canvas. See also http://www.abrahamjoffe.com.au/ben/canvascape/textures.htm

It would be even better if the JavaScript interpreter could recognise where code could be pushed through the vector engine (PPC or Intel) and do so without the author having to edit the code. (i.e. auto-vectorising interpreter)
Comment 1 Eric Seidel (no email) 2008-09-30 20:32:10 PDT
I'm not sure what this bug is asking for.  Please provide a specific proposal of functions/datatypes you are looking for, and re-open.
Comment 2 Nicholas Shanks 2008-10-01 03:29:22 PDT
*I* am not looking for any, i don't have javascript turned on anyway. but people are doing matrix operations in unoptimised javascript on the integer unit of the CPU. providing some built‐in functions that map to C functions from apple's veclib frameworks can only help speed up stuff.