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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppb_graphics3d/ppapi_ppb_graphics3d.html

Issue 7737013: Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://chrome-svn/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
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html> 3 <html>
4 <!-- Copyright (c) 2011 Google Inc. All rights reserved. --> 4 <!-- Copyright (c) 2011 Google Inc. All rights reserved. -->
5 <head> 5 <head>
6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> 6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
7 <META HTTP-EQUIV="Expires" CONTENT="-1" /> 7 <META HTTP-EQUIV="Expires" CONTENT="-1" />
8 <script type="text/javascript" src="nacltest.js"></script> 8 <script type="text/javascript" src="nacltest.js"></script>
9 <script type="application/x-javascript"> 9 <script type="application/x-javascript">
10 //<![CDATA[ 10 //<![CDATA[
(...skipping 20 matching lines...) Expand all
31 }); 31 });
32 tester.addAsyncTest('PPB_Graphics3D::IsGraphics3D', function(test) { 32 tester.addAsyncTest('PPB_Graphics3D::IsGraphics3D', function(test) {
33 testAndAssertStatus(test, 'TestIsGraphics3D'); 33 testAndAssertStatus(test, 'TestIsGraphics3D');
34 }); 34 });
35 tester.addAsyncTest('glInitializePPAPI', function(test) { 35 tester.addAsyncTest('glInitializePPAPI', function(test) {
36 testAndAssertStatus(test, 'Test_glInitializePPAPI'); 36 testAndAssertStatus(test, 'Test_glInitializePPAPI');
37 }); 37 });
38 tester.addAsyncTest('PPB_Graphics3D::SwapBuffers', function(test) { 38 tester.addAsyncTest('PPB_Graphics3D::SwapBuffers', function(test) {
39 testAndAssertStatus(test, 'TestSwapBuffers', 'TestSwapCallback:PASSED'); 39 testAndAssertStatus(test, 'TestSwapBuffers', 'TestSwapCallback:PASSED');
40 }); 40 });
41 tester.addAsyncTest('PPB_Graphics3D::ResizeBuffers', function(test) {
42 testAndAssertStatus(test, 'TestResizeBuffersWithoutDepthBuffer',
43 'TestResizeAndSwapCallback:PASSED');
44 });
45 tester.addAsyncTest('PPB_Graphics3D::ResizeBuffers w/ Depth', function(test) {
46 testAndAssertStatus(test, 'TestResizeBuffersWithDepthBuffer',
47 'TestResizeAndSwapCallback:PASSED');
48 });
41 tester.addAsyncTest('glTerminatePPAPI', function(test) { 49 tester.addAsyncTest('glTerminatePPAPI', function(test) {
42 testAndAssertStatus(test, 'Test_glTerminatePPAPI'); 50 testAndAssertStatus(test, 'Test_glTerminatePPAPI');
43 }); 51 });
44 } 52 }
45 //]]> 53 //]]>
46 </script> 54 </script>
47 <title>PPAPI PPB_Graphics3D Test</title> 55 <title>PPAPI PPB_Graphics3D Test</title>
48 </head> 56 </head>
49 <body> 57 <body style="height:100%">
50 <h1>PPAPI PPB_Graphics3D Test</h1> 58 <h1>PPAPI PPB_Graphics3D Test</h1>
51 NOTE: requires --enable-pepper-testing --enable-accelerated-plugins 59 NOTE: requires --enable-pepper-testing --enable-accelerated-plugins
52 <br> 60 <br>
53 The rectangle below should fade from black to blue. 61 The rectangle below should fade from black to blue.
54 <br><br> 62 <br><br>
55 <tr> 63 <tr>
56 <td> 64 <td>
57 <embed type="application/x-nacl" id="test_nexe" 65 <embed type="application/x-nacl" id="test_nexe"
58 name="nacl_module" 66 name="nacl_module"
59 src="ppapi_ppb_graphics3d.nmf" 67 src="ppapi_ppb_graphics3d.nmf"
60 style="background-color:#FFFFFF" 68 style="background-color:#FFFFFF"
61 width="320" height="200" /> 69 width="80%" height="40%" />
62 <br> 70 <br>
63 <script type="text/javascript"> 71 <script type="text/javascript">
64 //<![CDATA[ 72 //<![CDATA[
65 var tester = new Tester(); 73 var tester = new Tester();
66 setupTests(tester, $('test_nexe')); 74 setupTests(tester, $('test_nexe'));
67 tester.waitFor($('test_nexe')); 75 tester.waitFor($('test_nexe'));
68 tester.run(); 76 tester.run();
69 //]]> 77 //]]>
70 </script> 78 </script>
71 </body> 79 </body>
72 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698