[whatwg] Canvas in Workers
Ian Hickson
ian at hixie.ch
Wed Jan 9 11:59:34 PST 2013
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list