Disable flaky AnimatedContentSamplerParameterizedTest.FrameTimestampsConvergeTowardsE...
[chromium-blink-merge.git] / ppapi / examples / compositor / compositor.html
bloba0dcfbefc2ee4ad9a7277b38446c2c7de80abc4c
1 <!DOCTYPE html>
2 <html>
3 <!--
4 Copyright 2014 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8 <head>
9 <title>GLES2 Spinning Cube Example</title>
10 </head>
12 <body>
14 <embed id="plugin" type="application/x-ppapi-example-compositor"
15 width="800" height="600"/> <br/>
16 Total resource: <input id="total" > <br/>
17 Free resource: <input id="free" > <br/>
18 <script type="text/javascript">
19 var plugin = document.getElementById('plugin');
20 var total = document.getElementById('total');
21 var free = document.getElementById('free');
22 plugin.addEventListener('message', function(message) {
23 total.value = message.data.total_resource;
24 free.value = message.data.free_resource;
25 }, false);
26 </script>
27 </body>
28 </html>