[Public WebGL] How to check for WebGL support

Vangelis Kokkevis [email protected]
Thu May 19 11:23:52 PDT 2011


On Thu, May 19, 2011 at 11:21 AM, Gregg Tavares (wrk) <[email protected]>wrote:

> 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
> be.
>
> Why do you need another way to check?
>
>
Because I have a page that needs to decide whether to offer links to WebGL
content or not but the page itself doesn't need the gl contexts.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20110519/fff690f3/attachment.html>


More information about the public_webgl mailing list