summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/webgl-conf/checkout/deqp/functional/gles3/negativebufferapi.html
blob: f7543598187fccc3387c2ff28c4b5a039a8609e7 (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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>WebGL Negative Buffer API 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.es3fNegativeBufferApiTests');</script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<canvas id="canvas" width="320" height="240"></canvas>
<script>

    var wtu = WebGLTestUtils;
    var gl = wtu.create3DContext('canvas', null, 2);

    try {
        functional.gles3.es3fNegativeBufferApiTests.run(gl);
    }
    catch(err) {
        bufferedLogToConsole(err);
    }

</script>
</body>
</html>