Implementations/Firefox: Difference between revisions

From WebGL Public Wiki
Jump to navigation Jump to search
Created page with '= Mozilla Firefox Implementation Details = == Availability == * Installation instructions: # Download a [http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Fi…'
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Mozilla Firefox Implementation Details =
== Availability ==
== Availability ==


* Installation instructions:
* Just [http://www.mozilla.com/products/download.html install Firefox]. WebGL is enabled by default in Firefox 4 and newer versions.
# Download a [http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Firefox nightly build]
* If you do not get WebGL, the most likely reason is that [https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers your graphics driver is blocked]. Updating it will typically solve the problem. That page also explains how to force-enable WebGL if necessary. If that still doesn't work, that probably means that your hardware or driver is not OpenGL 2.1/Direct3D 9/OpenGL ES 2.0 capable.
# Open about:config and search for "webgl"
* Troubleshooting information can be found on the about:support page in Firefox.  
# Double-click the "enabled_for_all_sites" preference to change it to "true"
* Software rendering can be used through OSMesa (off-screen Mesa), by setting the "webgl.osmesalib" variable to point to the OSMesa shared library. That is typically libOSMesa.so.6 on Linux, OSMESA32.DLL on Windows, etc.
 
* Requires an OpenGL 2.0-capable GPU and drivers. In particular, most flavours of Intel's integrated GPUs will not work (such as the GMA900/GMA950 often found in laptops).
* Software rendering through Mesa is possible; see [http://blog.vlad1.com/2009/09/21/webgl-samples/ this blog post] for some instructions for Windows. To build Mesa on other platforms, make sure you build with MGL name mangling enabled, as the WebGL implementation will look for GL symbols prefixed with 'mgl'.


== Status ==
== Status ==


* Tracking the spec fairly closely
* Context name: <tt>experimental-webgl</tt>
* See [https://bugzilla.mozilla.org/buglist.cgi?resolution=---;query_format=advanced;component=Canvas%3A%20WebGL bug list] for known open issues
* See [https://bugzilla.mozilla.org/buglist.cgi?resolution=---;query_format=advanced;component=Canvas%3A%20WebGL bug list] for known open issues



Latest revision as of 01:44, 10 April 2011

Availability

  • Just install Firefox. WebGL is enabled by default in Firefox 4 and newer versions.
  • If you do not get WebGL, the most likely reason is that your graphics driver is blocked. Updating it will typically solve the problem. That page also explains how to force-enable WebGL if necessary. If that still doesn't work, that probably means that your hardware or driver is not OpenGL 2.1/Direct3D 9/OpenGL ES 2.0 capable.
  • Troubleshooting information can be found on the about:support page in Firefox.
  • Software rendering can be used through OSMesa (off-screen Mesa), by setting the "webgl.osmesalib" variable to point to the OSMesa shared library. That is typically libOSMesa.so.6 on Linux, OSMESA32.DLL on Windows, etc.

Status

  • Context name: experimental-webgl
  • See bug list for known open issues

Reporting Bugs

Please use Mozilla's Bugzilla for reporting bugs in the Firefox WebGL implementation.