summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/webgl-conf/checkout/deqp/functional/gles3/lifetime.html
blob: 7cf80807e05b6ee1ec7b81f5b74a3f69c764f357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>WebGL Lifetime Tests</title>
<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
<script src="../../../js/js-test-pre.js"></script>
<script src="../../../js/webgl-test-utils.js"></script>

<script src="../../../closure-library/closure/goog/base.js"></script>
<script src="../../deqp-deps.js"></script>
<script>goog.require('functional.gles3.es3fLifetimeTests');</script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<canvas id="canvas" width="300" height="300"> </canvas>
<script>
testName = 'lifetime';
setCurrentTestName(testName);
description("Functional test: " + testName + ".");

var wtu = WebGLTestUtils;
/** @type {WebGL2RenderingContext} */ var gl = wtu.create3DContext('canvas', null, 2);

    try{
        functional.gles3.es3fLifetimeTests.run(gl);
    }
    catch(err)
    {
        bufferedLogToConsole(err);
    }
</script>
</body>
</html>