W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

Re: [whatwg] Canvas in Workers

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 9 Jan 2013 19:59:34 +0000 (UTC)
To: Stephen White <senorblanco@chromium.org>
Message-ID: <Pine.LNX.4.64.1301091954060.12992@ps20323.dreamhostps.com>
Cc: WHAT Working Group <whatwg@whatwg.org>
On Wed, 9 Jan 2013, Stephen White wrote:
> >
> > Right now by 2d canvases are effectively single buffered. At the 
> > appropriate time a copy of the canvas is made and passed to the 
> > compositor. This copy is slow, especially on mobile.
> Currently, to lower the VRAM footprint and improve performance, we don't 
> do a copy in 2d canvas.  We temporarily transfer ownership of the 
> texture to the compositor at commit time, and block the renderer until 
> the composite is complete.  That may change, however.

Good to know, thanks. Should this change, or should there be a desire for 
a mode where it looks like after the commit the buffer is cleared, please 
do let me know.

Would still love input from any other vendors, too.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 9 January 2013 20:00:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:52 UTC