[Public WebGL] How to check for WebGL support

Gregg Tavares (wrk) [email protected]
Thu May 19 11:21:48 PDT 2011

I guess I don't understand the use case.

Either you want to use WebGL in which case you are going to have to call
canvas.getContext("webgl") with whatever parameters your app needs and see
if it succeeds.  You have to pay the startup cost since you are using WebGL.

If it fails (blacklisted, no webgl) there is no startup cost or shouldn't

Why do you need another way to check?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20110519/eb4b8539/attachment.html>

More information about the public_webgl mailing list