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

Re: [whatwg] Hardware accelerated canvas

From: Oliver Hunt <oliver@apple.com>
Date: Tue, 04 Sep 2012 12:49:00 -0700
Message-id: <F59C8684-332A-4E6F-AC98-7AAEB182E125@apple.com>
To: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>
Cc: whatwg@lists.whatwg.org, Boris Zbarsky <bzbarsky@mit.edu>
The context is owned by the canvas element.  If the canvas element is still alive then by definition so is the context.

--Oliver

On Sep 4, 2012, at 12:31 PM, Jussi Kalliokoski <jussi.kalliokoski@gmail.com> wrote:

> Hmm... Is it visible to the page outside getContext() ?
> 
> On Tue, Sep 4, 2012 at 10:21 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 
>> On 9/4/12 3:17 PM, Jussi Kalliokoski wrote:
>> 
>>> When all references to the context are lost (garbage collected)
>>> 
>> 
>> That never happens while the canvas itself is alive, since if nothing else
>> the canvas has a reference to the context.
>> 
>> -Boris
>> 
Received on Tuesday, 4 September 2012 19:49:35 UTC

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