Change the kExecutionTime value to 15. In theory, this should give 60FPS rendering.

This commit is contained in:
Julian Viereck 2012-03-16 15:08:50 +01:00
parent c8d7d88d0a
commit 25cfebfd71

View File

@ -190,7 +190,7 @@ function addContextCurrentTransform(ctx) {
var CanvasGraphics = (function CanvasGraphicsClosure() {
// Defines the time the executeIRQueue is going to be executing
// before it stops and shedules a continue of execution.
var kExecutionTime = 50;
var kExecutionTime = 15;
function CanvasGraphics(canvasCtx, objs, textLayer) {
this.ctx = canvasCtx;