Implementations/Chrome

From WebGL Public Wiki
Revision as of 22:54, 6 December 2009 by VladVukicevic (talk | contribs) (Created page with '== Availability == A preliminary implementation of WebGL for Linux, Mac OS X and Windows has been checked in to the Chrome browser. It should be available shortly in the Dev Cha…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Availability

A preliminary implementation of WebGL for Linux, Mac OS X and Windows has been checked in to the Chrome browser. It should be available shortly in the Dev Channel, but in the interim you can build it yourself.

Get the source code according to the Chrome build instructions:

http://dev.chromium.org/developers/how-tos

Ensure that ENABLE_3D_CANVAS is set to 1 in src/build/features_override.gypi. If it is set to 0, you will probably need to fix some errors during the build. Run gclient runhooks --force from the root of your tree if you changed it from 0 to 1.

Build the browser according to the platform-specific instructions above.

Enable WebGL by passing --no-sandbox --enable-webgl on Chrome's command line. Note that the --no-sandbox flag is generally unsafe and not recommended for arbitrary web browsing.

Status

  • Context name:

Reporting Bugs