The Official Khronos WebGL Repository
HTML JavaScript GLSL Python C XSLT Other
Latest commit 049c7a6 Jul 28, 2016 @zhenyao zhenyao committed on GitHub Merge pull request #1945 from JerryShih/update-depth-renderable-list
Add DEPTH_STENCIL to depth-renderable list.
Failed to load latest commit information.
conformance-suites Fix lint errors in conformance-suites/1.0.3 which can't be checked by… Jun 27, 2016
doc/spec Deleted obsolete snapshot of WebGL spec, mainly because it contained … May 28, 2013
extensions Merge pull request #1935 from kenrussell/relax-ext-color-buffer-float… Jul 25, 2016
other Delete now that date is automatically updated. Mar 14, 2016
resources Add notes about rationale for WebGL 2 - GLES3 incompatibility Apr 2, 2015
sdk Add DEPTH_STENCIL to depth-renderable list. Jul 28, 2016
specs Merge pull request #1911 from kenrussell/clarify-context-lost-behavior Jul 20, 2016
.gitattributes Add smudge and clean filters to automatically set edit date. Mar 14, 2016
.gitconfig Add smudge and clean filters to automatically set edit date. Mar 14, 2016
.gitignore fixed gitignore to account for rejected folder Jan 24, 2015
.gitmodules Added WebGLDeveloperTools repo as git submodule under sdk/devtools/ . Jun 3, 2015
.travis.yml Enable Lint tool on Travis CI Jul 19, 2016
CONTRIBUTING.md add CONTRIBUTING.md Apr 24, 2013
README.md Fix notes about installing gitconfig. Mar 31, 2016
codereview.settings Attempt to add a codereview.settings file to allow code reviews via R… Jan 3, 2012
expand_date Add standard copyright to the new scripts; add info about 'dater' to … Mar 15, 2016
index.php Added link to IP disclosures. Cleaned up name references. May 14, 2014
install-gitconfig.bat Batch file for installation of .gitconfig on Windows without bash.exe. Mar 29, 2016
install-gitconfig.sh Batch file for installation of .gitconfig on Windows without bash.exe. Mar 29, 2016

README.md

The Official Khronos WebGL Repository

This is the official home of the Khronos WebGL repository for the WebGL specifications and the WebGL conformance test suite.

Before adding a new test or editing an existing test please read these guidelines.

You can find live versions of the specifications at http://www.khronos.org/webgl/

The newest work in progress WebGL conformance test suite for the next version of the spec can be accessed at. https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html

Official live versions of the conformance test suite can be found at https://www.khronos.org/registry/webgl/conformance-suites/

The WebGL Wiki can be found here http://www.khronos.org/webgl/wiki/

Cloning this repository

When cloning this repository please pass the --recursive flag to git:

git clone --recursive [URL]

This will properly install the WebGLDeveloperTools repository as a git submodule under sdk/devtools/.

The last edited date in several specifications is automatically updated via a smudge filter. To benefit from this you must issue the following commands in the root of your clone.

On Unix (Linux, Mac OS X, etc.) platforms and Windows using Git for Windows' Git Bash or Cygwin's bash terminal:

./install-gitconfig.sh
rm specs/latest/*/index.html
git checkout !$

On Windows with the Command Prompt (requires git.exe in a directory on your %PATH%):

install-gitconfig.bat
del specs/latest/1.0/index.html specs/latest/2.0/index.html 
git checkout specs/latest/1.0/index.html specs/latest/2.0/index.html 

The first command adds an [include] of the repo's .gitconfig to the local git config file.git/config in your clone of the repo. .gitconfig contains the config of the "dater" filter. The remaining commands force a new checkout of the index.html files to smudge them with the date. These two are unnecessary if you plan to edit these files. All are unecessary if you do not care about having the dates shown.