Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!--
Copyright (c) 2019 The Khronos Group Inc.
Use of this source code is governed by an MIT-style license that can be
found in the LICENSE.txt file.
-->
<title>WebGL tests</title>
</head>
<body>
<h1>Tests for the WebGL canvas context</h1>
<h2>These tests are intended to serve the following purposes:</h2>
<ul>
<li>Assert spec conformance (so that WebGL pages work the same across browsers and hardware)</li>
<li>Check the safety of the GL binding (bounds checking, same origin policy)</li>
<li>Provide performance numbers for developers</li>
</ul>
<h2>Test runners</h2>
<ul>
<li><a href="all_tests_linkonly.html">Run tests manually</a></li>
<li><a href="all_tests.html">Run all tests in parallel</a></li>
<li><a href="all_tests_sequential.html">Run all tests sequentially</a></li>
</ul>
<h2>Demos</h2>
<ul>
<li><a href="demos/opengl_web.html">OpenGL for the web</a> (requires working FBOs and null textures or using canvases as textures)</li>
<li><a href="demos/video.html">Green screen video demo with a color remapping filter</a> (requires loading &lt;video> to texture with texImage2D)</li>
</ul>
<h2>Running the tests</h2>
<ol>
<li><a href="http://learningwebgl.com/blog/?p=11">Install a browser with WebGL support</a></li>
<li>Open one of the test runners linked above in your browser.</li>
<li>For more control over the tests, go the <a href="http://github.com/kig/canvas3d-tests">GitHub page</a>, see the readme, and clone the repo.</li>
</ol>
<h2>Want to contribute?</h2>
<p>See the <a href="README.md">README</a>.</p>
<p>See the <a href="http://github.com/kig/canvas3d-tests">GitHub page</a>.</p>
<p>Mail me at <a href="mailto:ilmari.heikkinen@gmail.com">ilmari.heikkinen@gmail.com</a></p>
<h2>For more information on WebGL</h2>
<ul>
<li><a href="http://planet-webgl.org">Planet WebGL</a></li>
<li><a href="http://learningwebgl.com">Learning WebGL</a></li>
<li><a href="http://www.khronos.org/message_boards/viewforum.php?f=34">WebGL on Khronos Message Boards</a></li>
</ul>
<h2>Developer links</h2>
<ul>
<li><a href="https://bugzilla.mozilla.org/buglist.cgi?quicksearch=webgl">WebGL on Mozilla Bugzilla</a></li>
<li><a href="https://bugzilla.webkit.org/buglist.cgi?quicksearch=webgl">WebGL on WebKit Bugzilla</a></li>
<li><a href="http://code.google.com/p/chromium/issues/list?q=label:3D-WebGL">WebGL on Chromium Bugzilla</a></li>
</ul>
<h2>License</h2>
<p>
These tests are released under the BSD license. The images and videos used in the tests are the respective property of their authors.
</p>
</body>
</html>