@adecore/terminal 0.54.1 → 0.54.3
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/webgl-budget.js +2 -2
- package/dist/webgl-slots.js +1 -1
- package/package.json +1 -1
- package/src/webgl-budget.ts +2 -2
- package/src/webgl-slots.ts +1 -1
package/dist/webgl-budget.js
CHANGED
|
@@ -67,7 +67,7 @@ class WebglBudget {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
apply(change) {
|
|
70
|
-
// Free first, the browser has to be back under its own limit before the next context exists.
|
|
70
|
+
// Free first, because the browser has to be back under its own limit before the next context exists.
|
|
71
71
|
for (const id of change.revoked) {
|
|
72
72
|
this.unload(id);
|
|
73
73
|
}
|
|
@@ -114,7 +114,7 @@ class WebglBudget {
|
|
|
114
114
|
}
|
|
115
115
|
handleLoss(id) {
|
|
116
116
|
this.unload(id);
|
|
117
|
-
//
|
|
117
|
+
// The loss is not final. The terminal waits in line and takes a context again when it is focused.
|
|
118
118
|
this.apply(this.slots.lost(id));
|
|
119
119
|
}
|
|
120
120
|
drop(entry) {
|
package/dist/webgl-slots.js
CHANGED
|
@@ -103,7 +103,7 @@ export class WebglSlots {
|
|
|
103
103
|
}
|
|
104
104
|
return change;
|
|
105
105
|
}
|
|
106
|
-
/* The browser reported a context loss,
|
|
106
|
+
/* The browser reported a context loss. The slot frees up, and the terminal waits for a focus before it asks again. */
|
|
107
107
|
lost(id) {
|
|
108
108
|
const member = this.members.get(id);
|
|
109
109
|
if (!member) {
|
package/package.json
CHANGED
package/src/webgl-budget.ts
CHANGED
|
@@ -89,7 +89,7 @@ class WebglBudget {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
private apply(change: SlotChange): void {
|
|
92
|
-
// Free first, the browser has to be back under its own limit before the next context exists.
|
|
92
|
+
// Free first, because the browser has to be back under its own limit before the next context exists.
|
|
93
93
|
for (const id of change.revoked) {
|
|
94
94
|
this.unload(id);
|
|
95
95
|
}
|
|
@@ -150,7 +150,7 @@ class WebglBudget {
|
|
|
150
150
|
|
|
151
151
|
private handleLoss(id: string): void {
|
|
152
152
|
this.unload(id);
|
|
153
|
-
//
|
|
153
|
+
// The loss is not final. The terminal waits in line and takes a context again when it is focused.
|
|
154
154
|
this.apply(this.slots.lost(id));
|
|
155
155
|
}
|
|
156
156
|
|
package/src/webgl-slots.ts
CHANGED
|
@@ -143,7 +143,7 @@ export class WebglSlots {
|
|
|
143
143
|
return change;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
/* The browser reported a context loss,
|
|
146
|
+
/* The browser reported a context loss. The slot frees up, and the terminal waits for a focus before it asks again. */
|
|
147
147
|
lost(id: string): SlotChange {
|
|
148
148
|
const member = this.members.get(id);
|
|
149
149
|
|