[whatwg] Hardware accelerated canvas

Oliver Hunt oliver at apple.com
Tue Sep 4 12:49:00 PDT 2012


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 at gmail.com> wrote:

> Hmm... Is it visible to the page outside getContext() ?
> 
> On Tue, Sep 4, 2012 at 10:21 PM, Boris Zbarsky <bzbarsky at 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
>> 




More information about the whatwg mailing list