blob: 9e4b6bd221211b36e5859da302a733e468bf99c0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../resources/runner.js"></script>
<script>
var target = document.createElement("canvas");
target.width = 300;
target.height = 150;
var context = target.getContext("2d");
context.globalCompositeOperation = "destination-atop";
context.fillStyle = "rgba(0,128,0,0.5)";
PerfTestRunner.measureRunsPerSecond({run: function() {
context.fillRect(10,10,10,10);
}});
</script>
</body>
</html>