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

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

Issue 7782020: Revert 99855 - Move PPAPI graphics3d and opengles interfaces out of Dev. (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
Property Changes:
Added: svn:mergeinfo
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 });
49 tester.addAsyncTest('glTerminatePPAPI', function(test) { 41 tester.addAsyncTest('glTerminatePPAPI', function(test) {
50 testAndAssertStatus(test, 'Test_glTerminatePPAPI'); 42 testAndAssertStatus(test, 'Test_glTerminatePPAPI');
51 }); 43 });
52 } 44 }
53 //]]> 45 //]]>
54 </script> 46 </script>
55 <title>PPAPI PPB_Graphics3D Test</title> 47 <title>PPAPI PPB_Graphics3D Test</title>
56 </head> 48 </head>
57 <body style="height:100%"> 49 <body>
58 <h1>PPAPI PPB_Graphics3D Test</h1> 50 <h1>PPAPI PPB_Graphics3D Test</h1>
59 NOTE: requires --enable-pepper-testing --enable-accelerated-plugins 51 NOTE: requires --enable-pepper-testing --enable-accelerated-plugins
60 <br> 52 <br>
61 The rectangle below should fade from black to blue. 53 The rectangle below should fade from black to blue.
62 <br><br> 54 <br><br>
63 <tr> 55 <tr>
64 <td> 56 <td>
65 <embed type="application/x-nacl" id="test_nexe" 57 <embed type="application/x-nacl" id="test_nexe"
66 name="nacl_module" 58 name="nacl_module"
67 src="ppapi_ppb_graphics3d.nmf" 59 src="ppapi_ppb_graphics3d.nmf"
68 style="background-color:#FFFFFF" 60 style="background-color:#FFFFFF"
69 width="80%" height="40%" /> 61 width="320" height="200" />
70 <br> 62 <br>
71 <script type="text/javascript"> 63 <script type="text/javascript">
72 //<![CDATA[ 64 //<![CDATA[
73 var tester = new Tester(); 65 var tester = new Tester();
74 setupTests(tester, $('test_nexe')); 66 setupTests(tester, $('test_nexe'));
75 tester.waitFor($('test_nexe')); 67 tester.waitFor($('test_nexe'));
76 tester.run(); 68 tester.run();
77 //]]> 69 //]]>
78 </script> 70 </script>
79 </body> 71 </body>
80 </html> 72 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698