Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Side by Side Diff: ppapi/native_client/tests/ppapi_example_gles2/ppapi_example_gles2.html

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!--
2 Copyright 2011 The Native Client Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can
4 be found in the LICENSE file.
5 -->
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
7 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8 <html>
9 <head>
10 <meta http-equiv="Pragma" content="no-cache" />
11 <meta http-equiv="Expires" content="-1" />
12 <script type="text/javascript" src="nacltest.js"></script>
13 <title>Native Client PPAPI Graphics3D (OpenGL ES)</title>
14 </head>
15
16 <body>
17 <h1>Native Client PPAPI Graphics3D (OpenGL ES)</h1>
18 <div>
19 <embed id="naclModule"
20 name="naclModule"
21 width=400 height=400
22 src="ppapi_example_gles2.nmf"
23 basic_tests="1"
24 stress_tests="0"
25 style="background-color:gray"
26 type="application/x-nacl" />
27 </div>
28 <p>The example works if you see a square flickering between red and
29 blue above. Note that the automated test only verifies that the
30 NaCl module loaded. It cannot and does not verify that the visual
31 output is correct.
32
33 <script type="text/javascript">
34 //<![CDATA[
35 function setupTests(tester, plugin) {
36 // The PPAPI font examples does all its work in DidChangeView, so we just
37 // verify that it loaded successfully by inserting a dummy test.
38 // This only tests that DidChangeView completed successfully; we have no
39 // automated way of checking that it actually plotted the fonts.
40 tester.addAsyncTest('DummyTestToEnsureThatModuleCompletedLoading',
41 function(status) { status.pass(); });
42 }
43
44 var tester = new Tester();
45 setupTests(tester, $('naclModule'));
46 tester.waitFor($('naclModule'));
47 tester.run();
48 //]]>
49 </script>
50 </body>
51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698