@dcl-regenesislabs/bevy-explorer-web 0.1.0-35932535123.commit-9883f71 → 0.1.0-36033403701.commit-19347eb
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/assets/{Showcase-C5rqjC5_.js → Showcase-BUhkfRgq.js} +1 -1
- package/assets/{design-tpXIcp9S.js → design-Fh4VSWdp.js} +1 -1
- package/assets/{index-D2KtSwXa.css → index-B_oaXFz0.css} +1 -1
- package/assets/{index-lFIF2gi0.js → index-DX1YuW5C.js} +3 -3
- package/assets/{menus-DAAES5v_.js → menus-CSgILZ7j.js} +1 -1
- package/assets/{vendor-C7oQlkoF.css → vendor-BtKTmWnJ.css} +1 -1
- package/assets/{vendor-BcGk5WfL.js → vendor-C2yMCOI1.js} +1 -1
- package/bridge-scene/static/BevyExplorerUI/about +1 -1
- package/bridge-scene/static/{bafkreiagin33u6tsytrf7mrhd42h3pezggv4xnhvujhviws2jmee72ul7u → bafkreibr7lbrs4iu6lr3z5thdguk6ze7vslm7f4irlihbi4aoxdhj532m4} +1 -1
- package/engine/boot.js +14 -5
- package/engine/engine.js +117 -48
- package/engine/gpu_cache.js +49 -28
- package/engine/pkg/manifest.json +1 -1
- package/engine/pkg/sandbox_worker.bundle.js +834 -289
- package/engine/pkg/snippets/bevy_internal-2d8ddab1173ada7c/src/web_worker.js +121 -0
- package/engine/pkg/snippets/comms-53217a45365bb5fa/livekit_web_bindings.js +47 -13
- package/engine/pkg/snippets/decentra-bevy-f9c23e535711925a/deploy/web/engine/gpu_cache.js +439 -0
- package/engine/pkg/webgpu_build.d.ts +97 -67
- package/engine/pkg/webgpu_build.js +413 -328
- package/engine/pkg/webgpu_build_bg.wasm +2 -2
- package/engine/pkg/webgpu_build_bg.wasm.d.ts +26 -25
- package/engine/sandbox_worker.js +3 -3
- package/index.html +17 -17
- package/package.json +3 -3
- package/engine/asset_loader.js +0 -30
- package/engine/asset_processor.js +0 -32
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/engine/pkg/webgpu_build_bg.wasm
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 112317603 bytes
|
|
4
|
+
sha256: 869c3f446b0f17f306dd35f119c487464ed7912d7271ba59f6a988a64a0e9f9a
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export const __bevy_page_functions_webgpu_build_06313fae: () => [number, number];
|
|
3
4
|
export const engine_console_command: (a: number, b: number) => any;
|
|
4
5
|
export const engine_home_scene: () => [number, number];
|
|
5
6
|
export const engine_init: () => any;
|
|
7
|
+
export const engine_prepare_render: (a: any, b: number, c: number) => [number, number];
|
|
8
|
+
export const engine_render_setup: (a: any) => any;
|
|
6
9
|
export const engine_run: (a: any) => [number, number];
|
|
10
|
+
export const engine_spawn_worker: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
11
|
+
export const engine_start: (a: any, b: any, c: number, d: number) => [number, number, number];
|
|
12
|
+
export const image_processor_main: () => [number, number];
|
|
13
|
+
export const report_pointer_lock: (a: number) => void;
|
|
7
14
|
export const init_asset_load_thread: () => void;
|
|
15
|
+
export const media_host_main: (a: any) => void;
|
|
16
|
+
export const audio_host_main: () => void;
|
|
17
|
+
export const livekit_host_main: () => void;
|
|
18
|
+
export const __bevy_page_functions_restricted_actions_e02a280f: () => [number, number];
|
|
8
19
|
export const image_processor_init: () => void;
|
|
9
20
|
export const image_processor_run: () => any;
|
|
10
21
|
export const gpu_cache_hash: () => [number, number];
|
|
22
|
+
export const __bevy_page_functions_dcl_wasm_9d742a65: () => [number, number];
|
|
11
23
|
export const __wbg_workercontext_free: (a: number, b: number) => void;
|
|
12
24
|
export const builtin_module: (a: number, b: number, c: number) => [number, number, number, number];
|
|
13
25
|
export const drop_context: (a: number) => void;
|
|
@@ -142,24 +154,6 @@ export const workercontext_get_scene_id: (a: number) => bigint;
|
|
|
142
154
|
export const workercontext_get_scene_title: (a: number) => [number, number];
|
|
143
155
|
export const workercontext_get_source: (a: number) => any;
|
|
144
156
|
export const workercontext_ref_count: (a: number) => number;
|
|
145
|
-
export const __wbg_audiocaptureoptions_free: (a: number, b: number) => void;
|
|
146
|
-
export const __wbg_get_audiocaptureoptions_autoGainControl: (a: number) => number;
|
|
147
|
-
export const __wbg_get_audiocaptureoptions_channelCount: (a: number) => [number, bigint];
|
|
148
|
-
export const __wbg_get_audiocaptureoptions_echoCancellation: (a: number) => number;
|
|
149
|
-
export const __wbg_get_audiocaptureoptions_latency: (a: number) => [number, number];
|
|
150
|
-
export const __wbg_get_audiocaptureoptions_noiseSuppression: (a: number) => number;
|
|
151
|
-
export const __wbg_get_audiocaptureoptions_sampleRate: (a: number) => [number, bigint];
|
|
152
|
-
export const __wbg_get_audiocaptureoptions_sampleSize: (a: number) => [number, bigint];
|
|
153
|
-
export const __wbg_get_audiocaptureoptions_voiceIsolation: (a: number) => number;
|
|
154
|
-
export const __wbg_participantsid_free: (a: number, b: number) => void;
|
|
155
|
-
export const __wbg_set_audiocaptureoptions_autoGainControl: (a: number, b: number) => void;
|
|
156
|
-
export const __wbg_set_audiocaptureoptions_channelCount: (a: number, b: number, c: bigint) => void;
|
|
157
|
-
export const __wbg_set_audiocaptureoptions_echoCancellation: (a: number, b: number) => void;
|
|
158
|
-
export const __wbg_set_audiocaptureoptions_latency: (a: number, b: number, c: number) => void;
|
|
159
|
-
export const __wbg_set_audiocaptureoptions_noiseSuppression: (a: number, b: number) => void;
|
|
160
|
-
export const __wbg_set_audiocaptureoptions_sampleRate: (a: number, b: number, c: bigint) => void;
|
|
161
|
-
export const __wbg_set_audiocaptureoptions_sampleSize: (a: number, b: number, c: bigint) => void;
|
|
162
|
-
export const __wbg_set_audiocaptureoptions_voiceIsolation: (a: number, b: number) => void;
|
|
163
157
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
164
158
|
export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
165
159
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
@@ -173,18 +167,23 @@ export const intounderlyingsink_close: (a: number) => any;
|
|
|
173
167
|
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
174
168
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
175
169
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
170
|
+
export const __bevy_attach_engine_worker: (a: number, b: number) => [number, number];
|
|
171
|
+
export const __bevy_render_worker_main: (a: any) => any;
|
|
172
|
+
export const __bevy_compute_worker_main: () => void;
|
|
176
173
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________2_: (a: number, b: number) => void;
|
|
174
|
+
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________4_: (a: number, b: number) => void;
|
|
175
|
+
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________5_: (a: number, b: number) => void;
|
|
177
176
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________3_: (a: number, b: number) => void;
|
|
178
|
-
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_: (a: number, b: number) => void;
|
|
179
177
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___: (a: number, b: number) => void;
|
|
180
178
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent____Output_______: (a: number, b: number) => void;
|
|
181
179
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent____Output________1_: (a: number, b: number) => void;
|
|
182
|
-
export const
|
|
180
|
+
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___sys__Undefined____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___: (a: number, b: number) => void;
|
|
183
181
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__f64__wasm_bindgen_37b2aef40228fbc7___JsValue___Output_______: (a: number, b: number) => void;
|
|
184
182
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
|
|
185
183
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________1_: (a: number, b: number) => void;
|
|
186
|
-
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output_______: (a: number, b: number) => void;
|
|
187
184
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_: (a: number, b: number) => void;
|
|
185
|
+
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output_______: (a: number, b: number) => void;
|
|
186
|
+
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_: (a: number, b: number) => void;
|
|
188
187
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________1_: (a: number, b: number) => void;
|
|
189
188
|
export const wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_1e52e782a8305a30___features__gen_Blob__Blob_____Output_______: (a: number, b: number) => void;
|
|
190
189
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___f64__wasm_bindgen_37b2aef40228fbc7___JsValue______true_: (a: number, b: number, c: number, d: any) => void;
|
|
@@ -192,6 +191,7 @@ export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm
|
|
|
192
191
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
193
192
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__11: (a: number, b: number, c: any) => [number, number];
|
|
194
193
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__12: (a: number, b: number, c: any) => [number, number];
|
|
194
|
+
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___alloc_83a3323c1c17199e___string__String______true_: (a: number, b: number, c: number, d: number) => void;
|
|
195
195
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_342d9548e43f4e8___Array__web_sys_1e52e782a8305a30___features__gen_ResizeObserver__ResizeObserver______true_: (a: number, b: number, c: any, d: any) => void;
|
|
196
196
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_342d9548e43f4e8___Function_fn_wasm_bindgen_37b2aef40228fbc7___JsValue_____wasm_bindgen_37b2aef40228fbc7___sys__Undefined___js_sys_342d9548e43f4e8___Function_fn_wasm_bindgen_37b2aef40228fbc7___JsValue_____wasm_bindgen_37b2aef40228fbc7___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
197
197
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3_: (a: number, b: number, c: any) => void;
|
|
@@ -200,23 +200,24 @@ export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm
|
|
|
200
200
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
|
|
201
201
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
|
|
202
202
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true__1_: (a: number, b: number, c: any) => void;
|
|
203
|
-
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_c8978531481d4b3a___livekit__web__room_event__RoomEvent______true_: (a: number, b: number, c: any) => void;
|
|
204
203
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_1e52e782a8305a30___features__gen_CloseEvent__CloseEvent______true__2_: (a: number, b: number, c: any) => void;
|
|
205
204
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
206
205
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__1_: (a: number, b: number, c: any) => void;
|
|
207
206
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2_: (a: number, b: number, c: any) => void;
|
|
208
|
-
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__21: (a: number, b: number, c: any) => void;
|
|
209
|
-
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__22: (a: number, b: number, c: any) => void;
|
|
210
207
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__23: (a: number, b: number, c: any) => void;
|
|
211
208
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__24: (a: number, b: number, c: any) => void;
|
|
212
209
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__25: (a: number, b: number, c: any) => void;
|
|
213
210
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__26: (a: number, b: number, c: any) => void;
|
|
214
211
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__27: (a: number, b: number, c: any) => void;
|
|
215
|
-
export const
|
|
212
|
+
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__28: (a: number, b: number, c: any) => void;
|
|
213
|
+
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__29: (a: number, b: number, c: any) => void;
|
|
214
|
+
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__5_: (a: number, b: number) => void;
|
|
215
|
+
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__6_: (a: number, b: number) => void;
|
|
216
216
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
217
217
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__1_: (a: number, b: number) => void;
|
|
218
218
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__2_: (a: number, b: number) => void;
|
|
219
219
|
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__3_: (a: number, b: number) => void;
|
|
220
|
+
export const wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__4_: (a: number, b: number) => void;
|
|
220
221
|
export const memory: WebAssembly.Memory;
|
|
221
222
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
222
223
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
package/engine/sandbox_worker.js
CHANGED
|
@@ -123,14 +123,14 @@ function createJsContext(wasmApi, context) {
|
|
|
123
123
|
// the FileSystemDirectoryHandle for the user's picked scene folder there (db `dcl-editor`, store
|
|
124
124
|
// `handles`), with readwrite permission already granted. A handle read back out of IndexedDB is
|
|
125
125
|
// as live as the one that was stored, so a scene reaching it would get the user's real
|
|
126
|
-
// filesystem, not origin-private storage. Nothing in this worker uses IndexedDB — web_save.js
|
|
127
|
-
// gpu_cache.js
|
|
126
|
+
// filesystem, not origin-private storage. Nothing in this worker uses IndexedDB — web_save.js
|
|
127
|
+
// runs on the main thread and gpu_cache.js on the render worker.
|
|
128
128
|
deleteFromPrototypeChain(self, "indexedDB");
|
|
129
129
|
|
|
130
130
|
// CacheStorage is the last same-origin store the sandbox could see — it holds the ipfs fetch
|
|
131
131
|
// cache (`ipfs-path-cache-v1`), so a scene could read every asset the client has pulled and, more
|
|
132
132
|
// to the point, write to keys the loader later serves. Its users are elsewhere:
|
|
133
|
-
// image_processing/src/processor/wasm_fs.rs runs
|
|
133
|
+
// image_processing/src/processor/wasm_fs.rs runs on the asset processor worker, which engine.js spawns
|
|
134
134
|
// as its own worker, and service_worker.js is a different context entirely.
|
|
135
135
|
deleteFromPrototypeChain(self, "caches");
|
|
136
136
|
|
package/index.html
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
/>
|
|
11
11
|
<meta name="theme-color" content="#2c1442" />
|
|
12
12
|
<!-- Favicons (same art as the engine page's set). Vite rebases these for the CDN base. -->
|
|
13
|
-
<link rel="icon" type="image/png" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
14
|
-
<link rel="icon" type="image/svg+xml" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
15
|
-
<link rel="shortcut icon" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
16
|
-
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
13
|
+
<link rel="icon" type="image/png" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/favicon/favicon-96x96.png" sizes="96x96" />
|
|
14
|
+
<link rel="icon" type="image/svg+xml" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/favicon/favicon.svg" />
|
|
15
|
+
<link rel="shortcut icon" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/favicon/favicon.ico" />
|
|
16
|
+
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/favicon/apple-touch-icon.png" />
|
|
17
17
|
<meta name="apple-mobile-web-app-title" content="Decentraland Web" />
|
|
18
|
-
<link rel="manifest" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
18
|
+
<link rel="manifest" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/favicon/site.webmanifest" />
|
|
19
19
|
<!-- Social cards -->
|
|
20
20
|
<meta property="og:title" content="Decentraland" />
|
|
21
21
|
<meta property="og:description" content="Explore a social virtual world from your browser." />
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<meta name="twitter:card" content="summary" />
|
|
24
24
|
<!-- The loading overlay's full-screen backdrop (1.7MB). Prefetch it during the login screen
|
|
25
25
|
(low priority, won't fight first paint) so it's cached before we enter and freeze. -->
|
|
26
|
-
<link rel="prefetch" as="image" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
26
|
+
<link rel="prefetch" as="image" href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/login/gradient-background.webp" />
|
|
27
27
|
<style>
|
|
28
28
|
/* Instant branded first paint. The JS bundle + React mount take a moment (longer over a slow
|
|
29
29
|
tunnel/network) and #root is empty until then — without this the page flashes white. This
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
</style>
|
|
74
|
-
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
75
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
76
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
77
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
78
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
79
|
-
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
80
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
81
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
82
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
83
|
-
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
74
|
+
<script type="module" crossorigin src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/index-DX1YuW5C.js"></script>
|
|
75
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/rolldown-runtime-D9-fqq9M.js">
|
|
76
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/design-Fh4VSWdp.js">
|
|
77
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/vendor-C2yMCOI1.js">
|
|
78
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/menus-CSgILZ7j.js">
|
|
79
|
+
<link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/emoji-DrfHOLaz.js">
|
|
80
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/design-Cst4UaAD.css">
|
|
81
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/vendor-BtKTmWnJ.css">
|
|
82
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/menus-5qt_f1rg.css">
|
|
83
|
+
<link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/index-B_oaXFz0.css">
|
|
84
84
|
</head>
|
|
85
85
|
<body>
|
|
86
86
|
<!-- React HUD mounts here; the engine runs in a same-origin iframe rendered
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
pre-React branded splash; createRoot() clears it on mount. -->
|
|
89
89
|
<div id="root">
|
|
90
90
|
<div id="boot-splash">
|
|
91
|
-
<img src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
91
|
+
<img src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-36033403701.commit-19347eb/assets/logo.png" alt="" />
|
|
92
92
|
<h1>Decentraland</h1>
|
|
93
93
|
</div>
|
|
94
94
|
</div>
|
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-36033403701.commit-19347eb",
|
|
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-36033403701.commit-19347eb",
|
|
12
|
+
"commit": "19347ebac8df884b0572521f7b46e090b39704b3"
|
|
13
13
|
}
|
package/engine/asset_loader.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import init, * as wasm_bindgen_exports from "./pkg/webgpu_build.js";
|
|
2
|
-
|
|
3
|
-
console.log("[Asset Loader] Starting");
|
|
4
|
-
|
|
5
|
-
self.onmessage = async (event) => {
|
|
6
|
-
if (event.data && event.data.type === "INIT_ASSET_LOADER") {
|
|
7
|
-
const { compiledModule, sharedMemory } = event.data.payload;
|
|
8
|
-
|
|
9
|
-
if (!compiledModule || !sharedMemory) {
|
|
10
|
-
console.error("[Asset Loader] Invalid payload received.");
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
try {
|
|
15
|
-
// init wasm
|
|
16
|
-
console.log("[Asset Loader] init wasm");
|
|
17
|
-
await init({ module_or_path: compiledModule, memory: sharedMemory });
|
|
18
|
-
console.log("[Asset Loader] init asset load thread");
|
|
19
|
-
await wasm_bindgen_exports.init_asset_load_thread();
|
|
20
|
-
console.log("[Asset Loader] running");
|
|
21
|
-
postMessage({ type: `INITIALIZED`});
|
|
22
|
-
} catch (e) {
|
|
23
|
-
console.error(
|
|
24
|
-
"[Scene Worker] Error during Wasm instantiation or setup:",
|
|
25
|
-
e
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import init, * as wasm_bindgen_exports from "./pkg/webgpu_build.js";
|
|
2
|
-
|
|
3
|
-
console.log("[Asset Processor] Starting");
|
|
4
|
-
|
|
5
|
-
self.onmessage = async (event) => {
|
|
6
|
-
if (event.data && event.data.type === "INIT_ASSET_PROCESSOR") {
|
|
7
|
-
const { compiledModule, sharedMemory } = event.data.payload;
|
|
8
|
-
|
|
9
|
-
if (!compiledModule || !sharedMemory) {
|
|
10
|
-
console.error("[Asset Loader] Invalid payload received.");
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
try {
|
|
15
|
-
// init wasm
|
|
16
|
-
console.log("[Asset Processor] init wasm");
|
|
17
|
-
await init({ module_or_path: compiledModule, memory: sharedMemory });
|
|
18
|
-
console.log("[Asset Processor] init processor channels");
|
|
19
|
-
wasm_bindgen_exports.image_processor_init();
|
|
20
|
-
postMessage({ type: `INITIALIZED` });
|
|
21
|
-
console.log("[Asset Processor] defer to asset process thread");
|
|
22
|
-
await wasm_bindgen_exports.image_processor_run();
|
|
23
|
-
console.log("[Asset Processor] exited?!");
|
|
24
|
-
} catch (e) {
|
|
25
|
-
console.error(
|
|
26
|
-
"[Asset Processor] Error during Wasm instantiation or setup:",
|
|
27
|
-
e
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
|