@dcl-regenesislabs/bevy-explorer-web 0.1.0-19680580728.commit-28906f7 → 0.1.0-19914817575.commit-39cceeb
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/.env +1 -1
- package/index.html +2 -2
- package/package.json +3 -3
- package/pkg/snippets/comms-53217a45365bb5fa/livekit_web_bindings.js +78 -5
- package/pkg/webgpu_build.d.ts +11 -11
- package/pkg/webgpu_build.js +69 -58
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +11 -11
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
1
|
+
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19914817575.commit-39cceeb"
|
package/index.html
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
</style>
|
|
103
103
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
104
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
104
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19914817575.commit-39cceeb";</script>
|
|
105
105
|
</head>
|
|
106
106
|
<body>
|
|
107
107
|
<div id="header" class="container">
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
</div>
|
|
136
136
|
<script src="https://cdn.jsdelivr.net/npm/livekit-client/dist/livekit-client.umd.min.js"></script>
|
|
137
137
|
<script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>
|
|
138
|
-
<script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
138
|
+
<script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19914817575.commit-39cceeb/main.js"></script>
|
|
139
139
|
</body>
|
|
140
140
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl-regenesislabs/bevy-explorer-web",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-19914817575.commit-39cceeb",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node ./scripts/prebuild.js"
|
|
6
6
|
},
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/bevy-explorer.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
12
|
-
"commit": "
|
|
11
|
+
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-19914817575.commit-39cceeb",
|
|
12
|
+
"commit": "39cceeb4ec83b7bef9e02c9ce751086d08d99471"
|
|
13
13
|
}
|
|
@@ -14,6 +14,7 @@ const activeRooms = new Set();
|
|
|
14
14
|
// Store audio elements and panner nodes for spatial audio
|
|
15
15
|
const trackRigs = new Map();
|
|
16
16
|
const participantAudioSids = new Map();
|
|
17
|
+
const participantVideoSids = new Map();
|
|
17
18
|
var audioContext = null;
|
|
18
19
|
|
|
19
20
|
export async function connect_room(url, token, handler) {
|
|
@@ -51,6 +52,8 @@ export async function connect_room(url, token, handler) {
|
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
|
55
|
+
const room_name = room.name;
|
|
56
|
+
|
|
54
57
|
// check existing streams
|
|
55
58
|
const participants = Array.from(room.remoteParticipants.values());
|
|
56
59
|
for (const participant of participants) {
|
|
@@ -60,6 +63,7 @@ export async function connect_room(url, token, handler) {
|
|
|
60
63
|
log(`found initial pub for ${participant}`);
|
|
61
64
|
handler({
|
|
62
65
|
type: 'trackPublished',
|
|
66
|
+
room_name: room_name,
|
|
63
67
|
kind: publication.kind,
|
|
64
68
|
participant: {
|
|
65
69
|
identity: participant.identity,
|
|
@@ -186,9 +190,12 @@ export async function close_room(room) {
|
|
|
186
190
|
}
|
|
187
191
|
|
|
188
192
|
export function set_room_event_handler(room, handler) {
|
|
193
|
+
const room_name = room.name;
|
|
194
|
+
|
|
189
195
|
room.on(LivekitClient.RoomEvent.DataReceived, (payload, participant) => {
|
|
190
196
|
handler({
|
|
191
197
|
type: 'dataReceived',
|
|
198
|
+
room_name: room_name,
|
|
192
199
|
payload,
|
|
193
200
|
participant: {
|
|
194
201
|
identity: participant.identity,
|
|
@@ -201,6 +208,7 @@ export function set_room_event_handler(room, handler) {
|
|
|
201
208
|
log(`${room.name} ${participant.identity} rec pub ${publication.kind}`);
|
|
202
209
|
handler({
|
|
203
210
|
type: 'trackPublished',
|
|
211
|
+
room_name: room_name,
|
|
204
212
|
kind: publication.kind,
|
|
205
213
|
participant: {
|
|
206
214
|
identity: participant.identity,
|
|
@@ -229,6 +237,7 @@ export function set_room_event_handler(room, handler) {
|
|
|
229
237
|
|
|
230
238
|
handler({
|
|
231
239
|
type: 'trackUnpublished',
|
|
240
|
+
room_name: room_name,
|
|
232
241
|
kind: publication.kind,
|
|
233
242
|
participant: {
|
|
234
243
|
identity: participant.identity,
|
|
@@ -280,10 +289,27 @@ export function set_room_event_handler(room, handler) {
|
|
|
280
289
|
|
|
281
290
|
log(`set rig for ${participant.identity}`, key);
|
|
282
291
|
participantAudioSids.set(participant.identity, { room: room.name, audio: key })
|
|
292
|
+
} else if (track.kind === "video") {
|
|
293
|
+
const key = track.sid;
|
|
294
|
+
|
|
295
|
+
if (!trackRigs.get(key)) {
|
|
296
|
+
log("create video nodes for", key);
|
|
297
|
+
const parentElement = window.document.querySelector("#stream-player-container");
|
|
298
|
+
if (parentElement) {
|
|
299
|
+
const element = track.attach();
|
|
300
|
+
parentElement.appendChild(element);
|
|
301
|
+
trackRigs.set(key, {
|
|
302
|
+
videoElement: element,
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
participantVideoSids.set(participant.identity, { room: room.name, video: key })
|
|
283
308
|
}
|
|
284
309
|
|
|
285
310
|
handler({
|
|
286
311
|
type: 'trackSubscribed',
|
|
312
|
+
room_name: room_name,
|
|
287
313
|
participant: {
|
|
288
314
|
identity: participant.identity,
|
|
289
315
|
metadata: participant.metadata || ''
|
|
@@ -297,19 +323,33 @@ export function set_room_event_handler(room, handler) {
|
|
|
297
323
|
log(`delete lookup for ${participant.identity}`);
|
|
298
324
|
participantAudioSids.delete(participant.identity);
|
|
299
325
|
}
|
|
326
|
+
if (participantVideoSids.get(participant.identity)?.room === room.name) {
|
|
327
|
+
log(`delete video lookup for ${participant.identity}`);
|
|
328
|
+
participantVideoSids.delete(participant.identity);
|
|
329
|
+
}
|
|
300
330
|
|
|
301
331
|
const key = track.sid;
|
|
302
332
|
|
|
303
|
-
if (
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
333
|
+
if (trackRigs.has(key)) {
|
|
334
|
+
const audioElement = trackRigs.get(key).audioElement;
|
|
335
|
+
if (audioElement) {
|
|
336
|
+
log(`detach and pause audioElement for ${key}`)
|
|
337
|
+
track.detach(audioElement);
|
|
338
|
+
audioElement.pause();
|
|
339
|
+
}
|
|
340
|
+
const videoElement = trackRigs.get(key).videoElement;
|
|
341
|
+
if (videoElement) {
|
|
342
|
+
log(`detach videoElement for ${key}`)
|
|
343
|
+
track.detach(videoElement);
|
|
344
|
+
videoElement.remove();
|
|
345
|
+
}
|
|
346
|
+
trackRigs.delete(key);
|
|
308
347
|
}
|
|
309
348
|
|
|
310
349
|
|
|
311
350
|
handler({
|
|
312
351
|
type: 'trackUnsubscribed',
|
|
352
|
+
room_name: room_name,
|
|
313
353
|
participant: {
|
|
314
354
|
identity: participant.identity,
|
|
315
355
|
metadata: participant.metadata || ''
|
|
@@ -320,6 +360,7 @@ export function set_room_event_handler(room, handler) {
|
|
|
320
360
|
room.on(LivekitClient.RoomEvent.ParticipantConnected, (participant) => {
|
|
321
361
|
handler({
|
|
322
362
|
type: 'participantConnected',
|
|
363
|
+
room_name: room_name,
|
|
323
364
|
participant: {
|
|
324
365
|
identity: participant.identity,
|
|
325
366
|
metadata: participant.metadata || ''
|
|
@@ -329,8 +370,10 @@ export function set_room_event_handler(room, handler) {
|
|
|
329
370
|
|
|
330
371
|
room.on(LivekitClient.RoomEvent.ParticipantDisconnected, (participant) => {
|
|
331
372
|
participantAudioSids.delete(participant.identity);
|
|
373
|
+
participantVideoSids.delete(participant.identity);
|
|
332
374
|
handler({
|
|
333
375
|
type: 'participantDisconnected',
|
|
376
|
+
room_name: room_name,
|
|
334
377
|
participant: {
|
|
335
378
|
identity: participant.identity,
|
|
336
379
|
metadata: participant.metadata || ''
|
|
@@ -402,6 +445,36 @@ export function subscribe_channel(roomName, participantId, subscribe) {
|
|
|
402
445
|
}
|
|
403
446
|
}
|
|
404
447
|
|
|
448
|
+
export function streamer_subscribe_channel(roomName, subscribe_audio, subscribe_video) {
|
|
449
|
+
const room = Array.from(activeRooms).find(room => room.name === roomName);
|
|
450
|
+
if (!room) {
|
|
451
|
+
warn(`couldn't find room ${roomName} for subscription`);
|
|
452
|
+
return;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
const participant = room.remoteParticipants.values().find(participant => participant.identity.endsWith("-streamer"));
|
|
456
|
+
if (!participant) {
|
|
457
|
+
warn(`couldn't find streamer participant in room ${roomName} for subscription`);
|
|
458
|
+
return;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
const audioPubs = Array.from(participant.trackPublications.values())
|
|
462
|
+
.filter(pub => pub.kind === 'audio');
|
|
463
|
+
const videoPubs = Array.from(participant.trackPublications.values())
|
|
464
|
+
.filter(pub => pub.kind === 'video');
|
|
465
|
+
|
|
466
|
+
log(`subscribing to ${audioPubs.length} audio tracks and to ${videoPubs.length} video tracks`);
|
|
467
|
+
|
|
468
|
+
for (const pub of audioPubs) {
|
|
469
|
+
log(`sub(${subscribe_video}) ${roomName}-${participant.identity}`);
|
|
470
|
+
pub.setSubscribed(subscribe_audio);
|
|
471
|
+
}
|
|
472
|
+
for (const pub of videoPubs) {
|
|
473
|
+
log(`video sub(${subscribe_video}) ${roomName}-${participant.identity}`);
|
|
474
|
+
pub.setSubscribed(subscribe_video);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
405
478
|
export function room_name(room) {
|
|
406
479
|
return room.name
|
|
407
480
|
}
|
package/pkg/webgpu_build.d.ts
CHANGED
|
@@ -208,19 +208,19 @@ export interface InitOutput {
|
|
|
208
208
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
209
209
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
210
210
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
211
|
-
readonly
|
|
212
|
-
readonly
|
|
211
|
+
readonly closure14789_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
212
|
+
readonly closure46813_externref_shim: (a: number, b: number, c: any) => void;
|
|
213
213
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf6d1d6eca19ebd1: (a: number, b: number) => void;
|
|
214
214
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h88ef16e697def3fb: (a: number, b: number) => void;
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
223
|
-
readonly
|
|
215
|
+
readonly closure50362_externref_shim: (a: number, b: number, c: any) => void;
|
|
216
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f4966e88c472193: (a: number, b: number) => void;
|
|
217
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbdc85c1683f56eb4: (a: number, b: number) => void;
|
|
218
|
+
readonly closure55120_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
219
|
+
readonly closure55124_externref_shim: (a: number, b: number, c: any) => void;
|
|
220
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5db13dbfbcc0ca97: (a: number, b: number) => void;
|
|
221
|
+
readonly closure115210_externref_shim: (a: number, b: number, c: any) => void;
|
|
222
|
+
readonly closure130255_externref_shim: (a: number, b: number, c: any) => void;
|
|
223
|
+
readonly closure133160_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
224
224
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
225
225
|
readonly __wbindgen_start: (a: number) => void;
|
|
226
226
|
}
|
package/pkg/webgpu_build.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { close_room, connect_room, is_microphone_available, publish_data, room_name, set_microphone_enabled, set_participant_spatial_audio, subscribe_channel } from './snippets/comms-53217a45365bb5fa/livekit_web_bindings.js';
|
|
1
|
+
import { close_room, connect_room, is_microphone_available, publish_data, room_name, set_microphone_enabled, set_participant_spatial_audio, streamer_subscribe_channel, subscribe_channel } from './snippets/comms-53217a45365bb5fa/livekit_web_bindings.js';
|
|
2
2
|
|
|
3
3
|
const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));
|
|
4
4
|
let wasm;
|
|
@@ -1338,11 +1338,11 @@ export function is_super(state) {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
|
|
1340
1340
|
function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
|
|
1341
|
-
wasm.
|
|
1341
|
+
wasm.closure14789_externref_shim(arg0, arg1, arg2, arg3);
|
|
1342
1342
|
}
|
|
1343
1343
|
|
|
1344
1344
|
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
1345
|
-
wasm.
|
|
1345
|
+
wasm.closure46813_externref_shim(arg0, arg1, arg2);
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
1348
|
function __wbg_adapter_68(arg0, arg1) {
|
|
@@ -1354,39 +1354,39 @@ function __wbg_adapter_71(arg0, arg1) {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
1356
|
function __wbg_adapter_74(arg0, arg1, arg2) {
|
|
1357
|
-
wasm.
|
|
1357
|
+
wasm.closure50362_externref_shim(arg0, arg1, arg2);
|
|
1358
1358
|
}
|
|
1359
1359
|
|
|
1360
1360
|
function __wbg_adapter_81(arg0, arg1) {
|
|
1361
|
-
wasm.
|
|
1361
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f4966e88c472193(arg0, arg1);
|
|
1362
1362
|
}
|
|
1363
1363
|
|
|
1364
1364
|
function __wbg_adapter_84(arg0, arg1) {
|
|
1365
|
-
wasm.
|
|
1365
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbdc85c1683f56eb4(arg0, arg1);
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
|
-
function __wbg_adapter_87(arg0, arg1, arg2) {
|
|
1369
|
-
wasm.
|
|
1368
|
+
function __wbg_adapter_87(arg0, arg1, arg2, arg3) {
|
|
1369
|
+
wasm.closure55120_externref_shim(arg0, arg1, arg2, arg3);
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
|
-
function
|
|
1373
|
-
wasm.
|
|
1372
|
+
function __wbg_adapter_90(arg0, arg1, arg2) {
|
|
1373
|
+
wasm.closure55124_externref_shim(arg0, arg1, arg2);
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
1376
|
function __wbg_adapter_101(arg0, arg1) {
|
|
1377
|
-
wasm.
|
|
1377
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5db13dbfbcc0ca97(arg0, arg1);
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
1380
|
function __wbg_adapter_108(arg0, arg1, arg2) {
|
|
1381
|
-
wasm.
|
|
1381
|
+
wasm.closure115210_externref_shim(arg0, arg1, arg2);
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
1384
|
function __wbg_adapter_111(arg0, arg1, arg2) {
|
|
1385
|
-
wasm.
|
|
1385
|
+
wasm.closure130255_externref_shim(arg0, arg1, arg2);
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
|
-
function
|
|
1389
|
-
wasm.
|
|
1388
|
+
function __wbg_adapter_1535(arg0, arg1, arg2, arg3) {
|
|
1389
|
+
wasm.closure133160_externref_shim(arg0, arg1, arg2, arg3);
|
|
1390
1390
|
}
|
|
1391
1391
|
|
|
1392
1392
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
@@ -2052,6 +2052,10 @@ function __wbg_get_imports() {
|
|
|
2052
2052
|
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
2053
2053
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2054
2054
|
};
|
|
2055
|
+
imports.wbg.__wbg_getElementsByTagName_7377bd4f483add8e = function(arg0, arg1, arg2) {
|
|
2056
|
+
const ret = arg0.getElementsByTagName(getStringFromWasm0(arg1, arg2));
|
|
2057
|
+
return ret;
|
|
2058
|
+
};
|
|
2055
2059
|
imports.wbg.__wbg_getFileHandle_5fb877d1ecc74d52 = function(arg0, arg1, arg2, arg3) {
|
|
2056
2060
|
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
2057
2061
|
return ret;
|
|
@@ -2104,6 +2108,10 @@ function __wbg_get_imports() {
|
|
|
2104
2108
|
const ret = arg0[arg1 >>> 0];
|
|
2105
2109
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2106
2110
|
};
|
|
2111
|
+
imports.wbg.__wbg_getwithindex_5a108af1d9b5b5b4 = function(arg0, arg1) {
|
|
2112
|
+
const ret = arg0[arg1 >>> 0];
|
|
2113
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2114
|
+
};
|
|
2107
2115
|
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
2108
2116
|
const ret = arg0[arg1];
|
|
2109
2117
|
return ret;
|
|
@@ -2683,7 +2691,7 @@ function __wbg_get_imports() {
|
|
|
2683
2691
|
const a = state0.a;
|
|
2684
2692
|
state0.a = 0;
|
|
2685
2693
|
try {
|
|
2686
|
-
return
|
|
2694
|
+
return __wbg_adapter_1535(a, state0.b, arg0, arg1);
|
|
2687
2695
|
} finally {
|
|
2688
2696
|
state0.a = a;
|
|
2689
2697
|
}
|
|
@@ -3950,6 +3958,9 @@ function __wbg_get_imports() {
|
|
|
3950
3958
|
const ret = arg0.storage;
|
|
3951
3959
|
return ret;
|
|
3952
3960
|
};
|
|
3961
|
+
imports.wbg.__wbg_streamersubscribechannel_2896e68fa0b3a2ad = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3962
|
+
streamer_subscribe_channel(getStringFromWasm0(arg0, arg1), arg2 !== 0, arg3 !== 0);
|
|
3963
|
+
}, arguments) };
|
|
3953
3964
|
imports.wbg.__wbg_string_BUF_eb8165df45a3ba53 = function() {
|
|
3954
3965
|
const ret = `buf`;
|
|
3955
3966
|
return ret;
|
|
@@ -4204,88 +4215,88 @@ function __wbg_get_imports() {
|
|
|
4204
4215
|
const ret = false;
|
|
4205
4216
|
return ret;
|
|
4206
4217
|
};
|
|
4207
|
-
imports.wbg.
|
|
4208
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4218
|
+
imports.wbg.__wbindgen_closure_wrapper148010 = function(arg0, arg1, arg2) {
|
|
4219
|
+
const ret = makeMutClosure(arg0, arg1, 115211, __wbg_adapter_108);
|
|
4209
4220
|
return ret;
|
|
4210
4221
|
};
|
|
4211
|
-
imports.wbg.
|
|
4212
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4222
|
+
imports.wbg.__wbindgen_closure_wrapper168478 = function(arg0, arg1, arg2) {
|
|
4223
|
+
const ret = makeMutClosure(arg0, arg1, 130256, __wbg_adapter_111);
|
|
4213
4224
|
return ret;
|
|
4214
4225
|
};
|
|
4215
|
-
imports.wbg.
|
|
4216
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4226
|
+
imports.wbg.__wbindgen_closure_wrapper168480 = function(arg0, arg1, arg2) {
|
|
4227
|
+
const ret = makeMutClosure(arg0, arg1, 130256, __wbg_adapter_111);
|
|
4217
4228
|
return ret;
|
|
4218
4229
|
};
|
|
4219
|
-
imports.wbg.
|
|
4220
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4230
|
+
imports.wbg.__wbindgen_closure_wrapper19808 = function(arg0, arg1, arg2) {
|
|
4231
|
+
const ret = makeMutClosure(arg0, arg1, 14790, __wbg_adapter_62);
|
|
4221
4232
|
return ret;
|
|
4222
4233
|
};
|
|
4223
|
-
imports.wbg.
|
|
4224
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4234
|
+
imports.wbg.__wbindgen_closure_wrapper63306 = function(arg0, arg1, arg2) {
|
|
4235
|
+
const ret = makeMutClosure(arg0, arg1, 46814, __wbg_adapter_65);
|
|
4225
4236
|
return ret;
|
|
4226
4237
|
};
|
|
4227
|
-
imports.wbg.
|
|
4228
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4238
|
+
imports.wbg.__wbindgen_closure_wrapper63485 = function(arg0, arg1, arg2) {
|
|
4239
|
+
const ret = makeMutClosure(arg0, arg1, 46911, __wbg_adapter_68);
|
|
4229
4240
|
return ret;
|
|
4230
4241
|
};
|
|
4231
|
-
imports.wbg.
|
|
4232
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4242
|
+
imports.wbg.__wbindgen_closure_wrapper67303 = function(arg0, arg1, arg2) {
|
|
4243
|
+
const ret = makeMutClosure(arg0, arg1, 49781, __wbg_adapter_71);
|
|
4233
4244
|
return ret;
|
|
4234
4245
|
};
|
|
4235
|
-
imports.wbg.
|
|
4236
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4246
|
+
imports.wbg.__wbindgen_closure_wrapper69273 = function(arg0, arg1, arg2) {
|
|
4247
|
+
const ret = makeMutClosure(arg0, arg1, 50363, __wbg_adapter_74);
|
|
4237
4248
|
return ret;
|
|
4238
4249
|
};
|
|
4239
|
-
imports.wbg.
|
|
4240
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4250
|
+
imports.wbg.__wbindgen_closure_wrapper69275 = function(arg0, arg1, arg2) {
|
|
4251
|
+
const ret = makeMutClosure(arg0, arg1, 50363, __wbg_adapter_74);
|
|
4241
4252
|
return ret;
|
|
4242
4253
|
};
|
|
4243
|
-
imports.wbg.
|
|
4244
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4254
|
+
imports.wbg.__wbindgen_closure_wrapper69277 = function(arg0, arg1, arg2) {
|
|
4255
|
+
const ret = makeMutClosure(arg0, arg1, 50363, __wbg_adapter_74);
|
|
4245
4256
|
return ret;
|
|
4246
4257
|
};
|
|
4247
|
-
imports.wbg.
|
|
4248
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4258
|
+
imports.wbg.__wbindgen_closure_wrapper73126 = function(arg0, arg1, arg2) {
|
|
4259
|
+
const ret = makeMutClosure(arg0, arg1, 53587, __wbg_adapter_81);
|
|
4249
4260
|
return ret;
|
|
4250
4261
|
};
|
|
4251
|
-
imports.wbg.
|
|
4252
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4262
|
+
imports.wbg.__wbindgen_closure_wrapper73946 = function(arg0, arg1, arg2) {
|
|
4263
|
+
const ret = makeMutClosure(arg0, arg1, 53904, __wbg_adapter_84);
|
|
4253
4264
|
return ret;
|
|
4254
4265
|
};
|
|
4255
|
-
imports.wbg.
|
|
4256
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4266
|
+
imports.wbg.__wbindgen_closure_wrapper75834 = function(arg0, arg1, arg2) {
|
|
4267
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_87);
|
|
4257
4268
|
return ret;
|
|
4258
4269
|
};
|
|
4259
|
-
imports.wbg.
|
|
4260
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4270
|
+
imports.wbg.__wbindgen_closure_wrapper75836 = function(arg0, arg1, arg2) {
|
|
4271
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_90);
|
|
4261
4272
|
return ret;
|
|
4262
4273
|
};
|
|
4263
|
-
imports.wbg.
|
|
4264
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4274
|
+
imports.wbg.__wbindgen_closure_wrapper75838 = function(arg0, arg1, arg2) {
|
|
4275
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_90);
|
|
4265
4276
|
return ret;
|
|
4266
4277
|
};
|
|
4267
|
-
imports.wbg.
|
|
4268
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4278
|
+
imports.wbg.__wbindgen_closure_wrapper75840 = function(arg0, arg1, arg2) {
|
|
4279
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_90);
|
|
4269
4280
|
return ret;
|
|
4270
4281
|
};
|
|
4271
|
-
imports.wbg.
|
|
4272
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4282
|
+
imports.wbg.__wbindgen_closure_wrapper75842 = function(arg0, arg1, arg2) {
|
|
4283
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_90);
|
|
4273
4284
|
return ret;
|
|
4274
4285
|
};
|
|
4275
|
-
imports.wbg.
|
|
4276
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4286
|
+
imports.wbg.__wbindgen_closure_wrapper75844 = function(arg0, arg1, arg2) {
|
|
4287
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_90);
|
|
4277
4288
|
return ret;
|
|
4278
4289
|
};
|
|
4279
|
-
imports.wbg.
|
|
4280
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4290
|
+
imports.wbg.__wbindgen_closure_wrapper75846 = function(arg0, arg1, arg2) {
|
|
4291
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_101);
|
|
4281
4292
|
return ret;
|
|
4282
4293
|
};
|
|
4283
|
-
imports.wbg.
|
|
4284
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4294
|
+
imports.wbg.__wbindgen_closure_wrapper75848 = function(arg0, arg1, arg2) {
|
|
4295
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_90);
|
|
4285
4296
|
return ret;
|
|
4286
4297
|
};
|
|
4287
|
-
imports.wbg.
|
|
4288
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4298
|
+
imports.wbg.__wbindgen_closure_wrapper75850 = function(arg0, arg1, arg2) {
|
|
4299
|
+
const ret = makeMutClosure(arg0, arg1, 55121, __wbg_adapter_90);
|
|
4289
4300
|
return ret;
|
|
4290
4301
|
};
|
|
4291
4302
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|
|
@@ -104,18 +104,18 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
104
104
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
105
105
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
106
106
|
export const __externref_table_dealloc: (a: number) => void;
|
|
107
|
-
export const
|
|
108
|
-
export const
|
|
107
|
+
export const closure14789_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
108
|
+
export const closure46813_externref_shim: (a: number, b: number, c: any) => void;
|
|
109
109
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf6d1d6eca19ebd1: (a: number, b: number) => void;
|
|
110
110
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h88ef16e697def3fb: (a: number, b: number) => void;
|
|
111
|
-
export const
|
|
112
|
-
export const
|
|
113
|
-
export const
|
|
114
|
-
export const
|
|
115
|
-
export const
|
|
116
|
-
export const
|
|
117
|
-
export const
|
|
118
|
-
export const
|
|
119
|
-
export const
|
|
111
|
+
export const closure50362_externref_shim: (a: number, b: number, c: any) => void;
|
|
112
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f4966e88c472193: (a: number, b: number) => void;
|
|
113
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbdc85c1683f56eb4: (a: number, b: number) => void;
|
|
114
|
+
export const closure55120_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
115
|
+
export const closure55124_externref_shim: (a: number, b: number, c: any) => void;
|
|
116
|
+
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5db13dbfbcc0ca97: (a: number, b: number) => void;
|
|
117
|
+
export const closure115210_externref_shim: (a: number, b: number, c: any) => void;
|
|
118
|
+
export const closure130255_externref_shim: (a: number, b: number, c: any) => void;
|
|
119
|
+
export const closure133160_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
120
120
|
export const __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
121
121
|
export const __wbindgen_start: (a: number) => void;
|