From 936d38ca6f945bd9ca84eea830fcaf31c0e51a25 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 13 Apr 2016 08:56:29 +0200 Subject: [PATCH] Remove unused externs/webgl-debug.js --- externs/webgl-debug.js | 98 ------------------------------------------ 1 file changed, 98 deletions(-) delete mode 100644 externs/webgl-debug.js diff --git a/externs/webgl-debug.js b/externs/webgl-debug.js deleted file mode 100644 index 9f5803831c..0000000000 --- a/externs/webgl-debug.js +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @externs - * @see http://www.khronos.org/webgl/wiki/Debugging - * @see http://www.khronos.org/webgl/wiki/HandlingContextLost - */ - - - -/** - * @constructor - * @extends {WebGLRenderingContext} - */ -var WebGLDebugRenderingContext = function() {}; - - - -/** - * @constructor - * @extends {HTMLCanvasElement} - */ -var WebGLDebugLostContextSimulatingCanvas = function() {}; - - -/** - * @nosideeffects - * @return {number} - */ -WebGLDebugLostContextSimulatingCanvas.prototype.getNumCalls = function() {}; - - -/** - */ -WebGLDebugLostContextSimulatingCanvas.prototype.loseContext = function() {}; - - -/** - * @param {number} numCalls - */ -WebGLDebugLostContextSimulatingCanvas.prototype.loseContextInNCalls = - function(numCalls) {}; - - -/** - */ -WebGLDebugLostContextSimulatingCanvas.prototype.restoreContext = function() {}; - - -/** - * @param {number} timeout - */ -WebGLDebugLostContextSimulatingCanvas.prototype.setRestoreTimeout = - function(timeout) {}; - - -/** - * @type {Object} - */ -var WebGLDebugUtils = {}; - - -/** - * @nosideeffects - * @param {number} value - * @return {string} - */ -WebGLDebugUtils.glEnumToString = function(value) {}; - - -/** - * @nosideeffects - * @param {string} functionName - * @param {Array} args Args. - * @return {string} String. - */ -WebGLDebugUtils.glFunctionArgsToString = function(functionName, args) {}; - - -/** - * @param {WebGLRenderingContext} ctx - */ -WebGLDebugUtils.init = function(ctx) {}; - - -/** - * @param {HTMLCanvasElement} canvas - * @return {WebGLDebugLostContextSimulatingCanvas} - */ -WebGLDebugUtils.makeLostContextSimulatingCanvas = function(canvas) {}; - - -/** - * @param {WebGLRenderingContext} context - * @param {Function=} opt_onErrorFunc - * @param {Function=} opt_onFunc - * @return {WebGLDebugRenderingContext} - */ -WebGLDebugUtils.makeDebugContext = - function(context, opt_onErrorFunc, opt_onFunc) {};