W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2012

Re: [whatwg] Hardware accelerated canvas

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 04 Sep 2012 12:53:22 -0400
Message-ID: <50463202.3090000@mit.edu>
To: whatwg@lists.whatwg.org
On 9/4/12 12:43 PM, Boris Zbarsky wrote:
> 1)  Have a way for pages to opt in to software rendering.
> 2)  Opt canvases in to software rendering via some sort of heuristic
>      (e.g. software by default until there has been drawing to it for
>      several event loop iterations, or whatever).
> 3)  Have a way for pages to opt in to having snapshots taken.
> 4)  Auto-snapshot based on some heuristics.
> 5)  Save command stream.
> 6)  Have a way for pages to explicitly snapshot a canvas.
> 7)  Require opt in for hardware accelerated rendering.
> Any others?

Ms2ger points out (without endorsing) that there's an:

8)  Have every author who wants their canvas to stick around call 
toDataURL() and stick the result in an <img src>.

This is much like #6 above, except with more pain and suffering and 
memory usage and whatnot, but does mean that there is precedent in the 
platform for #6...

Received on Tuesday, 4 September 2012 16:53:51 UTC

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