[whatwg] Challenging canvas.supportsContext
Boris Zbarsky
bzbarsky at MIT.EDU
Thu Jun 20 08:23:31 PDT 2013
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.
-Boris
More information about the whatwg
mailing list