Updates version of android sdk and api installed and creates ARM and x86 AVD's.
[chromium-blink-merge.git] / gpu / demos / pepper_gpu_demo.html
blobb8a0e97fc4ffbf0172d66e8265089ba1b03a7e6a
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <title>Pepper GPU Demo</title>
4 <style>
5 #container
7 margin: auto;
8 padding: 0px;
9 width: 90%;
10 height: 90%;
11 border-style: solid;
13 #plugin
15 margin: 0;
16 border: 0;
18 </style>
20 <script type="text/javascript">
21 var container;
22 var plugin;
24 function resizePlugin() {
25 plugin.width = container.clientWidth;
26 plugin.height = container.clientHeight;
29 function init() {
30 container = document.getElementById('container');
31 plugin = document.getElementById('plugin');
33 window.onresize = resizePlugin;
34 resizePlugin();
36 </script>
37 </head>
39 <body onload="init();">
40 <div id="container">
41 <embed id="plugin" type="pepper-application/x-gpu-demo" />
42 </div>
43 </body>
44 </html>