gl-wiretap
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -91,4 +91,7 @@ /** | ||
} | ||
function addVariable(value) { | ||
function addVariable(value, source) { | ||
const variableName = `${contextName}Variable${contextVariables.length}`; | ||
recording.push(`const ${variableName} = ${source};`); | ||
contextVariables.push(value); | ||
return variableName; | ||
} | ||
@@ -95,0 +98,0 @@ function writePPM(width, height) { |
{ | ||
"name": "gl-wiretap", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A gl debugger that listens and replays gl (WebGL, WebGL2, and HeadlessGL) gpu commands", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# gl-wiretap | ||
A gl debugger that listens and replays gl (WebGL, WebGL2, and HeadlessGL) gpu commands | ||
Generally manually tested by injecting in tests on https://www.khronos.org/registry/webgl/sdk/tests/webgl-conformance-tests.html using Chrome or Firefox. | ||
@@ -4,0 +5,0 @@ ## Example |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14441
265
79
0