blob: a0dcfbefc2ee4ad9a7277b38446c2c7de80abc4c [file] [log] [blame]
<!DOCTYPE html>
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
<title>GLES2 Spinning Cube Example</title>
<embed id="plugin" type="application/x-ppapi-example-compositor"
width="800" height="600"/> <br/>
Total resource: <input id="total" > <br/>
Free resource: <input id="free" > <br/>
<script type="text/javascript">
var plugin = document.getElementById('plugin');
var total = document.getElementById('total');
var free = document.getElementById('free');
plugin.addEventListener('message', function(message) {
total.value =;
free.value =;
}, false);