Getting a WebGL Implementation

From WebGL Public Wiki
Jump to: navigation, search

The WebGL 1.0 specification has recently been released, and the latest builds of several browsers are close to reaching full conformance. Here are instructions on how to obtain a copy of a browser supporting the WebGL specification. As various implementations reach 100% conformance, expect that browsers will have this functionality built in to their latest releases, and not require any manual steps to enable it.


WebGL is supported in Firefox/4.0

For testing/debugging purposes, software rendering can be used through OSMesa (off-screen Mesa), by setting the "webgl.osmesalib" variable to point to the OSMesa shared library (typically /usr/lib/ Note that the OSMesa library is required to use "gl" prefixes, not "mgl".

You can also try setting the "webgl.force-enabled" variable to true if WebGL is not working. Variables can be accessed by typing "about:config" in the address bar.


WebGL is supported on Mac OS X 10.6 in the WebKit nightly builds or in Safari 5.x and above

After downloading, installing, and the browser, you can enable WebGL through the Develop menu. To enable the Develop menu, go to Safari->Preferences and on the Advanced tab ensure that the "Show Develop menu in menu bar" checkbox has been checked.

Once the Develop menu is enabled WebGL support can be toggled with the Develop->Enable WebGL menu option.

Chrome / Chromium

WebGL is available in the stable releases of Chrome and Chromium for desktop platforms. Chromium is included in many software repositories for Linux based systems. Chrome 30 and later for Android supports WebGL by default on devices advertising the GL_EXT_robustness extension and LOSE_CONTEXT_ON_RESET notification strategy -- basically, a "kill switch" for content which runs too long. Chrome for iOS does not support WebGL due to platform restrictions.

On Android devices which do not support the GL_EXT_robustness extension, it is possible to enable WebGL by navigating to about:flags, enabling "Override software rendering list", and restarting the browser. It is not recommended to browse arbitrary web sites with this setting.

Please report issues you find to either the public WebGL mailing list or via the Chromium issue tracker.


WebGL is supported in Opera 12 beta but you must enable it in the user preferences. Enter opera:config in the address bar. In the User Prefs section set both Enable Hardware Acceleration and Enable WebGL to 1. Scroll to the bottom of the list of user preferences and click the Save button. Restart the browser.