Testing/Conformance: Difference between revisions
Kbr google (talk | contribs) Provided info on submitting new conformance tests |
|||
Line 26: | Line 26: | ||
svn checkout https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl | svn checkout https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl | ||
== Submitting new tests == | |||
New submissions to the conformance test suite are welcome. Please generate a patch, file a bug using [http://www.khronos.org/bugzilla/ Khronos' Bugzilla] against product WebGL, component Conformance Tests, and attach your patch. | |||
== For Implementers of the WebGL API == | == 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 [http://www.khronos.org/implementers/webgl/ WebGL Implementers' Resources] for information on producing a submission of the conformance suite. | 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 [http://www.khronos.org/implementers/webgl/ WebGL Implementers' Resources] for information on producing a submission of the conformance suite. |
Revision as of 00:37, 18 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
Submitting new tests
New submissions to the conformance test suite are welcome. Please generate a patch, file a bug using Khronos' Bugzilla against product WebGL, component Conformance Tests, and attach your patch.
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.