Testing/Conformance: Difference between revisions
added link to README for tests |
|||
Line 6: | Line 6: | ||
== WebGL Conformance Test Suite == | == WebGL Conformance Test Suite == | ||
The latest version of the conformance suite can be run by visiting | |||
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html | https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html | ||
Various options may be passed in via the URL. See the [https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/readme.txt README.txt] for details. | Various options may be passed in via the URL. See the [https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/readme.txt README.txt] for details. | ||
Previous versions can be found at | |||
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/ | |||
== Source code == | == Source code == |
Revision as of 03:27, 2 April 2012
Conformance tests
In order for an implementation to claim it supports WebGL it must pass a set of conformance tests. Many of the tests are there to hopefully find incompatibilites between implementations. This is to promote the goal that a WebGL program created in a particular browser on a particular OS will run on any browser and any OS without modification.
The biggest issue is that WebGL is based on OpenGL ES 2.0 which has significant differences from desktop OpenGL. Those differences need to be tested against.
WebGL Conformance Test Suite
The latest version of the conformance suite can be run by visiting
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html
Various options may be passed in via the URL. See the README.txt for details.
Previous versions can be found at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/
Source code
The currently available tests are hosted at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
Their source code can be checked out with
svn checkout https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl
For Implementers of the WebGL API
If you or your company is implementing the WebGL API in a web browser and you desire to have your implementation certified as compliant, please visit the WebGL Implementers' Resources for information on producing a submission of the conformance suite.