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

Re: [whatwg] Hardware accelerated canvas

From: Erik Möller <emoller@opera.com>
Date: Tue, 04 Sep 2012 21:15:38 +0200
To: whatwg@lists.whatwg.org, Kornel Lesiński <kornel@geekhood.net>
Message-ID: <op.wj4k4cwfj7kpr1@emoller-i7.gothenburg.osa>
On Tue, 04 Sep 2012 20:49:57 +0200, Kornel Lesiński <kornel@geekhood.net>  
wrote:

> until improvements in OS/drivers/hardware make this a non-issue (e.g. if  
> the OS can notify applications before gfx context is lost, then browsers  
> could snapshot then and problem will be gone for good)

We've just worked hard to get this behaviour into the GPUs to allow long  
running shaders to be terminated for security reasons so it's not likely  
to go away. Besides snapshotting right before a lost context doesn't help  
us at all. For all we know the GPU could be half way through rendering  
something when the event is triggered... even if we could read back the  
half rendered content in the rendertarget how do we generate the correct  
output from there? We'd have to take our DeLorian back to before the frame  
was started and replay the rendering commands.

-- 
Erik Möller
Core Gfx Lead
Opera Software
twitter.com/erikjmoller
Received on Tuesday, 4 September 2012 19:16:16 UTC

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