[whatwg] Hardware accelerated canvas

Boris Zbarsky bzbarsky at MIT.EDU
Tue Sep 4 10:18:02 PDT 2012

On 9/4/12 1:07 PM, David Geary wrote:
> And then the browser presumably uses the img to regenerate the canvas on
> a lost context?

No, then the author just forgets about the broken-ass <canvas> and shows 
the <img> to the user.  Basically using a <canvas> as a transient buffer 
to get the image data being generated into a base64 data: URI form.

> Why not just give developers a callback and let them
> restore the canvas as they see fit?

Because so far I'm listing possible solutions, not trying to pick one.


More information about the whatwg mailing list