Hi!

I create an empty 1680?1050px canvas with gl.clear only. It shows ~30 fps in Chrome on E8400@3000Ghz & 8800 GTS.
Where I am wrong?

Here is the code:
Code :
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>webgl test</title>
	</head>
	<body>
		<canvas id="canvas" width="1680" height="1050"></canvas>
		<div id="log">log here</div>
	</body>
	<script type="text/javascript">
		var log = document.getElementById('log');
 
		var canvas = document.getElementById('canvas');
 
		var gl;
		try
		{ 
			if(!gl)
				gl = canvas.getContext('moz-webgl');
		}
		catch(e){ }
 
		try
		{ 
			if(!gl)
				gl = canvas.getContext('webkit-3d');
		}
		catch (e) { }
 
		if(!gl)
			alert('no webgl');
 
		gl.clearColor(0.2, 0.2, 0.2, 1.0);
		gl.clearDepth(1.0);
 
		var fps = 0;
		function render()
		{
			gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
			gl.flush();
 
			fps++;
		}
 
		function getFps()
		{
			log.innerHTML = fps;
			fps = 0;
		}
 
		window.setInterval(render, 10);
		window.setInterval(getFps, 1000);
	</script>
</html>