stats-gl 2.2.6 → 2.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +1 -1
- package/dist/main.js +1 -1
- package/lib/main.ts +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -122,7 +122,7 @@ const _Stats = class _Stats2 {
|
|
|
122
122
|
canvasOrGL.backend.trackTimestamp = true;
|
|
123
123
|
if (await canvasOrGL.hasFeatureAsync("timestamp-query")) {
|
|
124
124
|
this.gpuPanel = this.addPanel(new _Stats2.Panel("GPU", "#ff0", "#220"), 2);
|
|
125
|
-
this.gpuPanelCompute = this.addPanel(new _Stats2.Panel("
|
|
125
|
+
this.gpuPanelCompute = this.addPanel(new _Stats2.Panel("CPT", "#e1e1e1", "#212121"), 3);
|
|
126
126
|
this.info = canvasOrGL.info;
|
|
127
127
|
}
|
|
128
128
|
return;
|
package/dist/main.js
CHANGED
|
@@ -121,7 +121,7 @@ const _Stats = class _Stats2 {
|
|
|
121
121
|
canvasOrGL.backend.trackTimestamp = true;
|
|
122
122
|
if (await canvasOrGL.hasFeatureAsync("timestamp-query")) {
|
|
123
123
|
this.gpuPanel = this.addPanel(new _Stats2.Panel("GPU", "#ff0", "#220"), 2);
|
|
124
|
-
this.gpuPanelCompute = this.addPanel(new _Stats2.Panel("
|
|
124
|
+
this.gpuPanelCompute = this.addPanel(new _Stats2.Panel("CPT", "#e1e1e1", "#212121"), 3);
|
|
125
125
|
this.info = canvasOrGL.info;
|
|
126
126
|
}
|
|
127
127
|
return;
|
package/lib/main.ts
CHANGED
|
@@ -227,7 +227,7 @@ class Stats {
|
|
|
227
227
|
|
|
228
228
|
if (await canvasOrGL.hasFeatureAsync('timestamp-query')) {
|
|
229
229
|
this.gpuPanel = this.addPanel(new Stats.Panel('GPU', '#ff0', '#220'), 2);
|
|
230
|
-
this.gpuPanelCompute = this.addPanel(new Stats.Panel('
|
|
230
|
+
this.gpuPanelCompute = this.addPanel(new Stats.Panel('CPT', '#e1e1e1', '#212121'), 3);
|
|
231
231
|
this.info = canvasOrGL.info
|
|
232
232
|
}
|
|
233
233
|
return;
|