Re: HTML 5 Canvas: Linux Performance Issues

Boris Zbarsky <[email protected]> Thu, 25 Feb 2010 10:30:37 -0500
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
On 10/8/09 7:08 PM, Will Daniels wrote:
> That _really_ is odd, since the zoom box itself is actually the same
> size in both! I wonder if there is some delay then on the
> getImageData relative to the size of the source context perhaps?

Yes, there is.  getImageData on Linux apparently has to copy the image
from the X server (and hence possibly from the graphics card) back to
Firefox (an RAM).  This tends to be slow...

Sorry for the lag here, but I only recently figured out what's going on
with this.

> Perhaps there are some relatively isolated areas of the JIT code
> that I could get a sufficient handle on quickly to help with?

There might well be, but I'm not an expert on that.  Drop by the #jsapi 
channel on irc.mozilla.org and ask around?

-Boris