W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2013

Re: [whatwg] Challenging canvas.supportsContext

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 20 Jun 2013 11:23:31 -0400
Message-ID: <51C31E73.7090702@mit.edu>
To: whatwg@lists.whatwg.org
On 6/19/13 6:04 PM, Kenneth Russell wrote:
> supportsContext() can give a much more accurate answer than
> !!window.WebGLRenderingContext. I can only speak for Chromium, but in
> that browser, it can take into account factors such as whether the GPU
> sub-process was able to start, whether WebGL is blacklisted on the
> current card, whether WebGL is disabled on the current domain due to
> previous GPU resets, and whether WebGL initialization succeeded on any
> other page.

window.WebGLRenderingContext can take things like that into account too, 
in Gecko.  For what it's worth.

Received on Thursday, 20 June 2013 15:24:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:22 UTC