Implementations/Firefox: Difference between revisions

From WebGL Public Wiki
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:


* 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).
* 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'.
* If OpenGL is not available, or 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/libOSMesa.so). Note that the OSMesa library is required to use "gl" prefixes, not "mgl".


== Status ==
== Status ==

Revision as of 22:21, 22 May 2010

Availability

  • Installation instructions:
  1. Download a Firefox nightly build
  2. Open about:config and search for "webgl"
  3. Double-click the "enabled_for_all_sites" preference to change it to "true"
  • 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).
  • If OpenGL is not available, or 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/libOSMesa.so). Note that the OSMesa library is required to use "gl" prefixes, not "mgl".

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.