From 4484482bcf5d6e830aa78946e6af19fc629c41af Mon Sep 17 00:00:00 2001 From: Julian Viereck Date: Sun, 2 Oct 2011 12:19:45 +0200 Subject: [PATCH] Add comments for the kExecutionTime/Check in CanvasGraphics --- pdf.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdf.js b/pdf.js index 8968f7613..77d2ea9c4 100644 --- a/pdf.js +++ b/pdf.js @@ -4843,7 +4843,11 @@ function ScratchCanvas(width, height) { } var CanvasGraphics = (function() { + // Defines the time the executeIRQueue gone be executing + // before it stops and shedules a continue of execution. var kExecutionTime = 50; + // Number of IR commands to execute before checking + // if we execute longer then `kExecutionTime`. var kExecutionTimeCheck = 500; function constructor(canvasCtx, imageCanvas) {