@mediapipe/tasks-audio 0.1.0-alpha-2 → 0.1.0-alpha-4
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/README.md +31 -0
- package/audio_bundle.js +1 -1
- package/package.json +1 -1
- package/wasm/audio_wasm_internal.js +235 -396
- package/wasm/audio_wasm_internal.wasm +0 -0
- package/wasm/audio_wasm_nosimd_internal.js +235 -396
- package/wasm/audio_wasm_nosimd_internal.wasm +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// Build 507782677
|
|
1
2
|
|
|
2
3
|
var ModuleFactory = (() => {
|
|
3
4
|
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
|
|
@@ -49,18 +50,15 @@ function logExceptionOnExit(e) {
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
if (ENVIRONMENT_IS_NODE) {
|
|
53
|
+
var fs = require("fs");
|
|
54
|
+
var nodePath = require("path");
|
|
52
55
|
if (ENVIRONMENT_IS_WORKER) {
|
|
53
|
-
scriptDirectory =
|
|
56
|
+
scriptDirectory = nodePath.dirname(scriptDirectory) + "/";
|
|
54
57
|
} else {
|
|
55
58
|
scriptDirectory = __dirname + "/";
|
|
56
59
|
}
|
|
57
|
-
var fs, nodePath;
|
|
58
|
-
if (typeof require === "function") {
|
|
59
|
-
fs = require("fs");
|
|
60
|
-
nodePath = require("path");
|
|
61
|
-
}
|
|
62
60
|
read_ = (filename, binary) => {
|
|
63
|
-
filename = nodePath
|
|
61
|
+
filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
|
|
64
62
|
return fs.readFileSync(filename, binary ? undefined : "utf8");
|
|
65
63
|
};
|
|
66
64
|
readBinary = filename => {
|
|
@@ -71,7 +69,7 @@ if (ENVIRONMENT_IS_NODE) {
|
|
|
71
69
|
return ret;
|
|
72
70
|
};
|
|
73
71
|
readAsync = (filename, onload, onerror) => {
|
|
74
|
-
filename = nodePath
|
|
72
|
+
filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
|
|
75
73
|
fs.readFile(filename, function(err, data) {
|
|
76
74
|
if (err) onerror(err); else onload(data.buffer);
|
|
77
75
|
});
|
|
@@ -388,10 +386,8 @@ function removeRunDependency(id) {
|
|
|
388
386
|
}
|
|
389
387
|
|
|
390
388
|
function abort(what) {
|
|
391
|
-
{
|
|
392
|
-
|
|
393
|
-
Module["onAbort"](what);
|
|
394
|
-
}
|
|
389
|
+
if (Module["onAbort"]) {
|
|
390
|
+
Module["onAbort"](what);
|
|
395
391
|
}
|
|
396
392
|
what = "Aborted(" + what + ")";
|
|
397
393
|
err(what);
|
|
@@ -470,10 +466,10 @@ function createWasm() {
|
|
|
470
466
|
function receiveInstance(instance, module) {
|
|
471
467
|
var exports = instance.exports;
|
|
472
468
|
Module["asm"] = exports;
|
|
473
|
-
wasmMemory = Module["asm"]["
|
|
469
|
+
wasmMemory = Module["asm"]["Ta"];
|
|
474
470
|
updateGlobalBufferAndViews(wasmMemory.buffer);
|
|
475
|
-
wasmTable = Module["asm"]["
|
|
476
|
-
addOnInit(Module["asm"]["
|
|
471
|
+
wasmTable = Module["asm"]["Va"];
|
|
472
|
+
addOnInit(Module["asm"]["Ua"]);
|
|
477
473
|
removeRunDependency("wasm-instantiate");
|
|
478
474
|
}
|
|
479
475
|
addRunDependency("wasm-instantiate");
|
|
@@ -524,7 +520,7 @@ var tempDouble;
|
|
|
524
520
|
var tempI64;
|
|
525
521
|
|
|
526
522
|
var ASM_CONSTS = {
|
|
527
|
-
|
|
523
|
+
541827: () => {
|
|
528
524
|
let init_once = true;
|
|
529
525
|
if (init_once) {
|
|
530
526
|
const cachedFindCanvasEventTarget = findCanvasEventTarget;
|
|
@@ -550,85 +546,86 @@ var ASM_CONSTS = {
|
|
|
550
546
|
init_once = false;
|
|
551
547
|
}
|
|
552
548
|
},
|
|
553
|
-
|
|
549
|
+
542612: () => {
|
|
554
550
|
return typeof wasmOffsetConverter !== "undefined";
|
|
555
551
|
}
|
|
556
552
|
};
|
|
557
553
|
|
|
558
|
-
function
|
|
559
|
-
|
|
560
|
-
Module._wrapVectorListenerOutput = (outputStreamName, outData, index, length) => {
|
|
561
|
-
if (Module.vectorListeners) {
|
|
562
|
-
const streamName = UTF8ToString(outputStreamName);
|
|
563
|
-
if (Module.vectorListeners[streamName]) {
|
|
564
|
-
Module.vectorListeners[streamName](outData, index, length);
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
};
|
|
568
|
-
}
|
|
554
|
+
function JsOnEmptyPacketListener(output_stream_name, timestamp) {
|
|
555
|
+
Module._wrapEmptyPacketListenerOutput(output_stream_name, timestamp);
|
|
569
556
|
}
|
|
570
557
|
|
|
571
|
-
function JsOnSimpleListenerBool(output_stream_name, out_data) {
|
|
572
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
558
|
+
function JsOnSimpleListenerBool(output_stream_name, out_data, timestamp) {
|
|
559
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
573
560
|
}
|
|
574
561
|
|
|
575
|
-
function JsOnVectorListenerBool(output_stream_name, out_data, index, length) {
|
|
576
|
-
Module.
|
|
562
|
+
function JsOnVectorListenerBool(output_stream_name, out_data, index, length, timestamp) {
|
|
563
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
577
564
|
}
|
|
578
565
|
|
|
579
|
-
function JsOnSimpleListenerInt(output_stream_name, out_data) {
|
|
580
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
566
|
+
function JsOnSimpleListenerInt(output_stream_name, out_data, timestamp) {
|
|
567
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
581
568
|
}
|
|
582
569
|
|
|
583
|
-
function JsOnVectorListenerInt(output_stream_name, out_data, index, length) {
|
|
584
|
-
Module.
|
|
570
|
+
function JsOnVectorListenerInt(output_stream_name, out_data, index, length, timestamp) {
|
|
571
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
585
572
|
}
|
|
586
573
|
|
|
587
|
-
function JsOnSimpleListenerDouble(output_stream_name, out_data) {
|
|
588
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
574
|
+
function JsOnSimpleListenerDouble(output_stream_name, out_data, timestamp) {
|
|
575
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
589
576
|
}
|
|
590
577
|
|
|
591
|
-
function JsOnVectorListenerDouble(output_stream_name, out_data, index, length) {
|
|
592
|
-
Module.
|
|
578
|
+
function JsOnVectorListenerDouble(output_stream_name, out_data, index, length, timestamp) {
|
|
579
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
593
580
|
}
|
|
594
581
|
|
|
595
|
-
function JsOnSimpleListenerFloat(output_stream_name, out_data) {
|
|
596
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
582
|
+
function JsOnSimpleListenerFloat(output_stream_name, out_data, timestamp) {
|
|
583
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
597
584
|
}
|
|
598
585
|
|
|
599
|
-
function JsOnVectorListenerFloat(output_stream_name, out_data, index, length) {
|
|
600
|
-
Module.
|
|
586
|
+
function JsOnVectorListenerFloat(output_stream_name, out_data, index, length, timestamp) {
|
|
587
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
601
588
|
}
|
|
602
589
|
|
|
603
|
-
function JsOnSimpleListenerString(output_stream_name, out_data) {
|
|
604
|
-
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data));
|
|
590
|
+
function JsOnSimpleListenerString(output_stream_name, out_data, timestamp) {
|
|
591
|
+
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), timestamp);
|
|
605
592
|
}
|
|
606
593
|
|
|
607
|
-
function JsOnVectorListenerString(output_stream_name, out_data, index, length) {
|
|
608
|
-
Module.
|
|
594
|
+
function JsOnVectorListenerString(output_stream_name, out_data, index, length, timestamp) {
|
|
595
|
+
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), index, length, timestamp);
|
|
609
596
|
}
|
|
610
597
|
|
|
611
|
-
function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy, index, length) {
|
|
598
|
+
function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy, index, length, timestamp) {
|
|
612
599
|
const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(proto_ptr, proto_ptr + proto_size) : new Uint8Array(Module.HEAPU8.buffer, proto_ptr, proto_size);
|
|
613
|
-
Module.
|
|
600
|
+
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, index, length, timestamp);
|
|
614
601
|
}
|
|
615
602
|
|
|
616
603
|
function JsWrapSimpleListeners() {
|
|
617
604
|
if (!Module._wrapSimpleListenerOutput) {
|
|
618
|
-
Module._wrapSimpleListenerOutput = (outputStreamName,
|
|
605
|
+
Module._wrapSimpleListenerOutput = (outputStreamName, ...args) => {
|
|
619
606
|
if (Module.simpleListeners) {
|
|
620
607
|
const streamName = UTF8ToString(outputStreamName);
|
|
621
608
|
if (Module.simpleListeners[streamName]) {
|
|
622
|
-
Module.simpleListeners[streamName](
|
|
609
|
+
Module.simpleListeners[streamName](...args);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
if (!Module._wrapEmptyPacketListenerOutput) {
|
|
615
|
+
Module._wrapEmptyPacketListenerOutput = (outputStreamName, timestamp) => {
|
|
616
|
+
if (Module.emptyPacketListeners) {
|
|
617
|
+
const streamName = UTF8ToString(outputStreamName);
|
|
618
|
+
if (Module.emptyPacketListeners[streamName]) {
|
|
619
|
+
Module.emptyPacketListeners[streamName](timestamp);
|
|
623
620
|
}
|
|
624
621
|
}
|
|
625
622
|
};
|
|
626
623
|
}
|
|
627
624
|
}
|
|
628
625
|
|
|
629
|
-
function JsOnSimpleListenerBinaryArray(output_stream_name, binary_ptr, binary_size, make_deep_copy) {
|
|
626
|
+
function JsOnSimpleListenerBinaryArray(output_stream_name, binary_ptr, binary_size, make_deep_copy, timestamp) {
|
|
630
627
|
const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(binary_ptr, binary_ptr + binary_size) : new Uint8Array(Module.HEAPU8.buffer, binary_ptr, binary_size);
|
|
631
|
-
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray);
|
|
628
|
+
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, timestamp);
|
|
632
629
|
}
|
|
633
630
|
|
|
634
631
|
function JsWrapErrorListener(code, message) {
|
|
@@ -1336,7 +1333,7 @@ var FS = {
|
|
|
1336
1333
|
filesystems: null,
|
|
1337
1334
|
syncFSRequests: 0,
|
|
1338
1335
|
lookupPath: (path, opts = {}) => {
|
|
1339
|
-
path = PATH_FS.resolve(
|
|
1336
|
+
path = PATH_FS.resolve(path);
|
|
1340
1337
|
if (!path) return {
|
|
1341
1338
|
path: "",
|
|
1342
1339
|
node: null
|
|
@@ -1349,7 +1346,7 @@ var FS = {
|
|
|
1349
1346
|
if (opts.recurse_count > 8) {
|
|
1350
1347
|
throw new FS.ErrnoError(32);
|
|
1351
1348
|
}
|
|
1352
|
-
var parts =
|
|
1349
|
+
var parts = path.split("/").filter(p => !!p);
|
|
1353
1350
|
var current = FS.root;
|
|
1354
1351
|
var current_path = "/";
|
|
1355
1352
|
for (var i = 0; i < parts.length; i++) {
|
|
@@ -3809,6 +3806,21 @@ function __gmtime_js(time, tmPtr) {
|
|
|
3809
3806
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
3810
3807
|
}
|
|
3811
3808
|
|
|
3809
|
+
function __isLeapYear(year) {
|
|
3810
|
+
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3813
|
+
var __MONTH_DAYS_LEAP_CUMULATIVE = [ 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 ];
|
|
3814
|
+
|
|
3815
|
+
var __MONTH_DAYS_REGULAR_CUMULATIVE = [ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 ];
|
|
3816
|
+
|
|
3817
|
+
function __yday_from_date(date) {
|
|
3818
|
+
var isLeapYear = __isLeapYear(date.getFullYear());
|
|
3819
|
+
var monthDaysCumulative = isLeapYear ? __MONTH_DAYS_LEAP_CUMULATIVE : __MONTH_DAYS_REGULAR_CUMULATIVE;
|
|
3820
|
+
var yday = monthDaysCumulative[date.getMonth()] + date.getDate() - 1;
|
|
3821
|
+
return yday;
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3812
3824
|
function __localtime_js(time, tmPtr) {
|
|
3813
3825
|
var date = new Date(readI53FromI64(time) * 1e3);
|
|
3814
3826
|
HEAP32[tmPtr >> 2] = date.getSeconds();
|
|
@@ -3818,10 +3830,10 @@ function __localtime_js(time, tmPtr) {
|
|
|
3818
3830
|
HEAP32[tmPtr + 16 >> 2] = date.getMonth();
|
|
3819
3831
|
HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900;
|
|
3820
3832
|
HEAP32[tmPtr + 24 >> 2] = date.getDay();
|
|
3821
|
-
var
|
|
3822
|
-
var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
|
|
3833
|
+
var yday = __yday_from_date(date) | 0;
|
|
3823
3834
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
3824
3835
|
HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60);
|
|
3836
|
+
var start = new Date(date.getFullYear(), 0, 1);
|
|
3825
3837
|
var summerOffset = new Date(date.getFullYear(), 6, 1).getTimezoneOffset();
|
|
3826
3838
|
var winterOffset = start.getTimezoneOffset();
|
|
3827
3839
|
var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0;
|
|
@@ -3844,7 +3856,7 @@ function __mktime_js(tmPtr) {
|
|
|
3844
3856
|
date.setTime(date.getTime() + (trueOffset - guessedOffset) * 6e4);
|
|
3845
3857
|
}
|
|
3846
3858
|
HEAP32[tmPtr + 24 >> 2] = date.getDay();
|
|
3847
|
-
var yday = (date
|
|
3859
|
+
var yday = __yday_from_date(date) | 0;
|
|
3848
3860
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
3849
3861
|
HEAP32[tmPtr >> 2] = date.getSeconds();
|
|
3850
3862
|
HEAP32[tmPtr + 4 >> 2] = date.getMinutes();
|
|
@@ -3889,14 +3901,14 @@ function allocateUTF8(str) {
|
|
|
3889
3901
|
return ret;
|
|
3890
3902
|
}
|
|
3891
3903
|
|
|
3892
|
-
function
|
|
3904
|
+
function __tzset_js(timezone, daylight, tzname) {
|
|
3893
3905
|
var currentYear = new Date().getFullYear();
|
|
3894
3906
|
var winter = new Date(currentYear, 0, 1);
|
|
3895
3907
|
var summer = new Date(currentYear, 6, 1);
|
|
3896
3908
|
var winterOffset = winter.getTimezoneOffset();
|
|
3897
3909
|
var summerOffset = summer.getTimezoneOffset();
|
|
3898
3910
|
var stdTimezoneOffset = Math.max(winterOffset, summerOffset);
|
|
3899
|
-
|
|
3911
|
+
HEAPU32[timezone >> 2] = stdTimezoneOffset * 60;
|
|
3900
3912
|
HEAP32[daylight >> 2] = Number(winterOffset != summerOffset);
|
|
3901
3913
|
function extractZone(date) {
|
|
3902
3914
|
var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/);
|
|
@@ -3915,35 +3927,33 @@ function _tzset_impl(timezone, daylight, tzname) {
|
|
|
3915
3927
|
}
|
|
3916
3928
|
}
|
|
3917
3929
|
|
|
3918
|
-
function __tzset_js(timezone, daylight, tzname) {
|
|
3919
|
-
if (__tzset_js.called) return;
|
|
3920
|
-
__tzset_js.called = true;
|
|
3921
|
-
_tzset_impl(timezone, daylight, tzname);
|
|
3922
|
-
}
|
|
3923
|
-
|
|
3924
3930
|
function _abort() {
|
|
3925
3931
|
abort("");
|
|
3926
3932
|
}
|
|
3927
3933
|
|
|
3928
|
-
var
|
|
3934
|
+
var readEmAsmArgsArray = [];
|
|
3929
3935
|
|
|
3930
|
-
function
|
|
3931
|
-
|
|
3936
|
+
function readEmAsmArgs(sigPtr, buf) {
|
|
3937
|
+
readEmAsmArgsArray.length = 0;
|
|
3932
3938
|
var ch;
|
|
3933
3939
|
buf >>= 2;
|
|
3934
3940
|
while (ch = HEAPU8[sigPtr++]) {
|
|
3935
3941
|
buf += ch != 105 & buf;
|
|
3936
|
-
|
|
3942
|
+
readEmAsmArgsArray.push(ch == 105 ? HEAP32[buf] : HEAPF64[buf++ >> 1]);
|
|
3937
3943
|
++buf;
|
|
3938
3944
|
}
|
|
3939
|
-
return
|
|
3945
|
+
return readEmAsmArgsArray;
|
|
3940
3946
|
}
|
|
3941
3947
|
|
|
3942
|
-
function
|
|
3943
|
-
var args =
|
|
3948
|
+
function runEmAsmFunction(code, sigPtr, argbuf) {
|
|
3949
|
+
var args = readEmAsmArgs(sigPtr, argbuf);
|
|
3944
3950
|
return ASM_CONSTS[code].apply(null, args);
|
|
3945
3951
|
}
|
|
3946
3952
|
|
|
3953
|
+
function _emscripten_asm_const_int(code, sigPtr, argbuf) {
|
|
3954
|
+
return runEmAsmFunction(code, sigPtr, argbuf);
|
|
3955
|
+
}
|
|
3956
|
+
|
|
3947
3957
|
function _emscripten_date_now() {
|
|
3948
3958
|
return Date.now();
|
|
3949
3959
|
}
|
|
@@ -4747,10 +4757,6 @@ function _glBindBuffer(target, buffer) {
|
|
|
4747
4757
|
GLctx.bindBuffer(target, GL.buffers[buffer]);
|
|
4748
4758
|
}
|
|
4749
4759
|
|
|
4750
|
-
function _glBindBufferBase(target, index, buffer) {
|
|
4751
|
-
GLctx["bindBufferBase"](target, index, GL.buffers[buffer]);
|
|
4752
|
-
}
|
|
4753
|
-
|
|
4754
4760
|
function _glBindFramebuffer(target, framebuffer) {
|
|
4755
4761
|
GLctx.bindFramebuffer(target, GL.framebuffers[framebuffer]);
|
|
4756
4762
|
}
|
|
@@ -4799,21 +4805,6 @@ function _glCreateShader(shaderType) {
|
|
|
4799
4805
|
return id;
|
|
4800
4806
|
}
|
|
4801
4807
|
|
|
4802
|
-
function _glDeleteBuffers(n, buffers) {
|
|
4803
|
-
for (var i = 0; i < n; i++) {
|
|
4804
|
-
var id = HEAP32[buffers + i * 4 >> 2];
|
|
4805
|
-
var buffer = GL.buffers[id];
|
|
4806
|
-
if (!buffer) continue;
|
|
4807
|
-
GLctx.deleteBuffer(buffer);
|
|
4808
|
-
buffer.name = 0;
|
|
4809
|
-
GL.buffers[id] = null;
|
|
4810
|
-
if (id == GLctx.currentArrayBufferBinding) GLctx.currentArrayBufferBinding = 0;
|
|
4811
|
-
if (id == GLctx.currentElementArrayBufferBinding) GLctx.currentElementArrayBufferBinding = 0;
|
|
4812
|
-
if (id == GLctx.currentPixelPackBufferBinding) GLctx.currentPixelPackBufferBinding = 0;
|
|
4813
|
-
if (id == GLctx.currentPixelUnpackBufferBinding) GLctx.currentPixelUnpackBufferBinding = 0;
|
|
4814
|
-
}
|
|
4815
|
-
}
|
|
4816
|
-
|
|
4817
4808
|
function _glDeleteFramebuffers(n, framebuffers) {
|
|
4818
4809
|
for (var i = 0; i < n; ++i) {
|
|
4819
4810
|
var id = HEAP32[framebuffers + i * 4 >> 2];
|
|
@@ -4883,16 +4874,6 @@ function _glDrawArrays(mode, first, count) {
|
|
|
4883
4874
|
GL.postDrawHandleClientVertexAttribBindings();
|
|
4884
4875
|
}
|
|
4885
4876
|
|
|
4886
|
-
var tempFixedLengthArray = [];
|
|
4887
|
-
|
|
4888
|
-
function _glDrawBuffers(n, bufs) {
|
|
4889
|
-
var bufArray = tempFixedLengthArray[n];
|
|
4890
|
-
for (var i = 0; i < n; i++) {
|
|
4891
|
-
bufArray[i] = HEAP32[bufs + i * 4 >> 2];
|
|
4892
|
-
}
|
|
4893
|
-
GLctx["drawBuffers"](bufArray);
|
|
4894
|
-
}
|
|
4895
|
-
|
|
4896
4877
|
function _glEnableVertexAttribArray(index) {
|
|
4897
4878
|
var cb = GL.currentContext.clientBuffers[index];
|
|
4898
4879
|
cb.enabled = true;
|
|
@@ -4918,10 +4899,6 @@ function _glFramebufferTexture2D(target, attachment, textarget, texture, level)
|
|
|
4918
4899
|
GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level);
|
|
4919
4900
|
}
|
|
4920
4901
|
|
|
4921
|
-
function _glFramebufferTextureLayer(target, attachment, texture, level, layer) {
|
|
4922
|
-
GLctx.framebufferTextureLayer(target, attachment, GL.textures[texture], level, layer);
|
|
4923
|
-
}
|
|
4924
|
-
|
|
4925
4902
|
function __glGenObject(n, buffers, createFunction, objectTable) {
|
|
4926
4903
|
for (var i = 0; i < n; i++) {
|
|
4927
4904
|
var buffer = GLctx[createFunction]();
|
|
@@ -4948,10 +4925,6 @@ function _glGenTextures(n, textures) {
|
|
|
4948
4925
|
__glGenObject(n, textures, "createTexture", GL.textures);
|
|
4949
4926
|
}
|
|
4950
4927
|
|
|
4951
|
-
function _glGetAttribLocation(program, name) {
|
|
4952
|
-
return GLctx.getAttribLocation(GL.programs[program], UTF8ToString(name));
|
|
4953
|
-
}
|
|
4954
|
-
|
|
4955
4928
|
function _glGetError() {
|
|
4956
4929
|
var error = GLctx.getError() || GL.lastError;
|
|
4957
4930
|
GL.lastError = 0;
|
|
@@ -5170,10 +5143,6 @@ function _glGetString(name_) {
|
|
|
5170
5143
|
return ret;
|
|
5171
5144
|
}
|
|
5172
5145
|
|
|
5173
|
-
function _glGetUniformBlockIndex(program, uniformBlockName) {
|
|
5174
|
-
return GLctx["getUniformBlockIndex"](GL.programs[program], UTF8ToString(uniformBlockName));
|
|
5175
|
-
}
|
|
5176
|
-
|
|
5177
5146
|
function jstoi_q(str) {
|
|
5178
5147
|
return parseInt(str);
|
|
5179
5148
|
}
|
|
@@ -5337,38 +5306,6 @@ function _glTexStorage2D(x0, x1, x2, x3, x4) {
|
|
|
5337
5306
|
GLctx["texStorage2D"](x0, x1, x2, x3, x4);
|
|
5338
5307
|
}
|
|
5339
5308
|
|
|
5340
|
-
function _glTexStorage3D(x0, x1, x2, x3, x4, x5) {
|
|
5341
|
-
GLctx["texStorage3D"](x0, x1, x2, x3, x4, x5);
|
|
5342
|
-
}
|
|
5343
|
-
|
|
5344
|
-
function _glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) {
|
|
5345
|
-
if (GL.currentContext.version >= 2) {
|
|
5346
|
-
if (GLctx.currentPixelUnpackBufferBinding) {
|
|
5347
|
-
GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
|
|
5348
|
-
} else if (pixels) {
|
|
5349
|
-
var heap = heapObjectForWebGLType(type);
|
|
5350
|
-
GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, heap, pixels >> heapAccessShiftForWebGLHeap(heap));
|
|
5351
|
-
} else {
|
|
5352
|
-
GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, null);
|
|
5353
|
-
}
|
|
5354
|
-
return;
|
|
5355
|
-
}
|
|
5356
|
-
var pixelData = null;
|
|
5357
|
-
if (pixels) pixelData = emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, 0);
|
|
5358
|
-
GLctx.texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixelData);
|
|
5359
|
-
}
|
|
5360
|
-
|
|
5361
|
-
function _glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels) {
|
|
5362
|
-
if (GLctx.currentPixelUnpackBufferBinding) {
|
|
5363
|
-
GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
|
5364
|
-
} else if (pixels) {
|
|
5365
|
-
var heap = heapObjectForWebGLType(type);
|
|
5366
|
-
GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, heap, pixels >> heapAccessShiftForWebGLHeap(heap));
|
|
5367
|
-
} else {
|
|
5368
|
-
GLctx["texSubImage3D"](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, null);
|
|
5369
|
-
}
|
|
5370
|
-
}
|
|
5371
|
-
|
|
5372
5309
|
function webglGetUniformLocation(location) {
|
|
5373
5310
|
var p = GLctx.currentProgram;
|
|
5374
5311
|
if (p) {
|
|
@@ -5386,73 +5323,6 @@ function _glUniform1i(location, v0) {
|
|
|
5386
5323
|
GLctx.uniform1i(webglGetUniformLocation(location), v0);
|
|
5387
5324
|
}
|
|
5388
5325
|
|
|
5389
|
-
var miniTempWebGLFloatBuffers = [];
|
|
5390
|
-
|
|
5391
|
-
function _glUniform2fv(location, count, value) {
|
|
5392
|
-
if (GL.currentContext.version >= 2) {
|
|
5393
|
-
count && GLctx.uniform2fv(webglGetUniformLocation(location), HEAPF32, value >> 2, count * 2);
|
|
5394
|
-
return;
|
|
5395
|
-
}
|
|
5396
|
-
if (count <= 144) {
|
|
5397
|
-
var view = miniTempWebGLFloatBuffers[2 * count - 1];
|
|
5398
|
-
for (var i = 0; i < 2 * count; i += 2) {
|
|
5399
|
-
view[i] = HEAPF32[value + 4 * i >> 2];
|
|
5400
|
-
view[i + 1] = HEAPF32[value + (4 * i + 4) >> 2];
|
|
5401
|
-
}
|
|
5402
|
-
} else {
|
|
5403
|
-
var view = HEAPF32.subarray(value >> 2, value + count * 8 >> 2);
|
|
5404
|
-
}
|
|
5405
|
-
GLctx.uniform2fv(webglGetUniformLocation(location), view);
|
|
5406
|
-
}
|
|
5407
|
-
|
|
5408
|
-
function _glUniform4fv(location, count, value) {
|
|
5409
|
-
if (GL.currentContext.version >= 2) {
|
|
5410
|
-
count && GLctx.uniform4fv(webglGetUniformLocation(location), HEAPF32, value >> 2, count * 4);
|
|
5411
|
-
return;
|
|
5412
|
-
}
|
|
5413
|
-
if (count <= 72) {
|
|
5414
|
-
var view = miniTempWebGLFloatBuffers[4 * count - 1];
|
|
5415
|
-
var heap = HEAPF32;
|
|
5416
|
-
value >>= 2;
|
|
5417
|
-
for (var i = 0; i < 4 * count; i += 4) {
|
|
5418
|
-
var dst = value + i;
|
|
5419
|
-
view[i] = heap[dst];
|
|
5420
|
-
view[i + 1] = heap[dst + 1];
|
|
5421
|
-
view[i + 2] = heap[dst + 2];
|
|
5422
|
-
view[i + 3] = heap[dst + 3];
|
|
5423
|
-
}
|
|
5424
|
-
} else {
|
|
5425
|
-
var view = HEAPF32.subarray(value >> 2, value + count * 16 >> 2);
|
|
5426
|
-
}
|
|
5427
|
-
GLctx.uniform4fv(webglGetUniformLocation(location), view);
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
var __miniTempWebGLIntBuffers = [];
|
|
5431
|
-
|
|
5432
|
-
function _glUniform4iv(location, count, value) {
|
|
5433
|
-
if (GL.currentContext.version >= 2) {
|
|
5434
|
-
count && GLctx.uniform4iv(webglGetUniformLocation(location), HEAP32, value >> 2, count * 4);
|
|
5435
|
-
return;
|
|
5436
|
-
}
|
|
5437
|
-
if (count <= 72) {
|
|
5438
|
-
var view = __miniTempWebGLIntBuffers[4 * count - 1];
|
|
5439
|
-
for (var i = 0; i < 4 * count; i += 4) {
|
|
5440
|
-
view[i] = HEAP32[value + 4 * i >> 2];
|
|
5441
|
-
view[i + 1] = HEAP32[value + (4 * i + 4) >> 2];
|
|
5442
|
-
view[i + 2] = HEAP32[value + (4 * i + 8) >> 2];
|
|
5443
|
-
view[i + 3] = HEAP32[value + (4 * i + 12) >> 2];
|
|
5444
|
-
}
|
|
5445
|
-
} else {
|
|
5446
|
-
var view = HEAP32.subarray(value >> 2, value + count * 16 >> 2);
|
|
5447
|
-
}
|
|
5448
|
-
GLctx.uniform4iv(webglGetUniformLocation(location), view);
|
|
5449
|
-
}
|
|
5450
|
-
|
|
5451
|
-
function _glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) {
|
|
5452
|
-
program = GL.programs[program];
|
|
5453
|
-
GLctx["uniformBlockBinding"](program, uniformBlockIndex, uniformBlockBinding);
|
|
5454
|
-
}
|
|
5455
|
-
|
|
5456
5326
|
function _glUseProgram(program) {
|
|
5457
5327
|
program = GL.programs[program];
|
|
5458
5328
|
GLctx.useProgram(program);
|
|
@@ -5481,10 +5351,6 @@ function _glViewport(x0, x1, x2, x3) {
|
|
|
5481
5351
|
GLctx["viewport"](x0, x1, x2, x3);
|
|
5482
5352
|
}
|
|
5483
5353
|
|
|
5484
|
-
function __isLeapYear(year) {
|
|
5485
|
-
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
5486
|
-
}
|
|
5487
|
-
|
|
5488
5354
|
function __arraySum(array, index) {
|
|
5489
5355
|
var sum = 0;
|
|
5490
5356
|
for (var i = 0; i <= index; sum += array[i++]) {}
|
|
@@ -6091,338 +5957,311 @@ Module["FS_createDevice"] = FS.createDevice;
|
|
|
6091
5957
|
|
|
6092
5958
|
var GLctx;
|
|
6093
5959
|
|
|
6094
|
-
for (var i = 0; i < 32; ++i) tempFixedLengthArray.push(new Array(i));
|
|
6095
|
-
|
|
6096
|
-
var miniTempWebGLFloatBuffersStorage = new Float32Array(288);
|
|
6097
|
-
|
|
6098
|
-
for (var i = 0; i < 288; ++i) {
|
|
6099
|
-
miniTempWebGLFloatBuffers[i] = miniTempWebGLFloatBuffersStorage.subarray(0, i + 1);
|
|
6100
|
-
}
|
|
6101
|
-
|
|
6102
|
-
var __miniTempWebGLIntBuffersStorage = new Int32Array(288);
|
|
6103
|
-
|
|
6104
|
-
for (var i = 0; i < 288; ++i) {
|
|
6105
|
-
__miniTempWebGLIntBuffers[i] = __miniTempWebGLIntBuffersStorage.subarray(0, i + 1);
|
|
6106
|
-
}
|
|
6107
|
-
|
|
6108
5960
|
WebGPU.initManagers();
|
|
6109
5961
|
|
|
6110
5962
|
var asmLibraryArg = {
|
|
6111
|
-
"
|
|
6112
|
-
"
|
|
6113
|
-
"
|
|
6114
|
-
"
|
|
6115
|
-
"
|
|
6116
|
-
"
|
|
6117
|
-
"
|
|
6118
|
-
"
|
|
6119
|
-
"
|
|
6120
|
-
"
|
|
6121
|
-
"
|
|
6122
|
-
"
|
|
6123
|
-
"
|
|
6124
|
-
"
|
|
6125
|
-
"
|
|
6126
|
-
"
|
|
6127
|
-
"
|
|
6128
|
-
"
|
|
6129
|
-
"
|
|
6130
|
-
"
|
|
6131
|
-
"
|
|
6132
|
-
"
|
|
6133
|
-
"
|
|
6134
|
-
"
|
|
6135
|
-
"
|
|
6136
|
-
"
|
|
6137
|
-
"
|
|
6138
|
-
"
|
|
6139
|
-
"
|
|
6140
|
-
"
|
|
5963
|
+
"Sa": HaveOffsetConverter,
|
|
5964
|
+
"Ra": JsOnEmptyPacketListener,
|
|
5965
|
+
"Qa": JsOnSimpleListenerBinaryArray,
|
|
5966
|
+
"Pa": JsOnSimpleListenerBool,
|
|
5967
|
+
"Oa": JsOnSimpleListenerDouble,
|
|
5968
|
+
"Na": JsOnSimpleListenerFloat,
|
|
5969
|
+
"Ma": JsOnSimpleListenerInt,
|
|
5970
|
+
"La": JsOnSimpleListenerString,
|
|
5971
|
+
"Ka": JsOnVectorListenerBool,
|
|
5972
|
+
"Ja": JsOnVectorListenerDouble,
|
|
5973
|
+
"Ia": JsOnVectorListenerFloat,
|
|
5974
|
+
"Ha": JsOnVectorListenerInt,
|
|
5975
|
+
"Ga": JsOnVectorListenerProto,
|
|
5976
|
+
"Fa": JsOnVectorListenerString,
|
|
5977
|
+
"f": JsWrapErrorListener,
|
|
5978
|
+
"b": JsWrapSimpleListeners,
|
|
5979
|
+
"J": ___syscall_fcntl64,
|
|
5980
|
+
"Ea": ___syscall_ioctl,
|
|
5981
|
+
"I": ___syscall_openat,
|
|
5982
|
+
"Da": ___syscall_stat64,
|
|
5983
|
+
"ya": __dlinit,
|
|
5984
|
+
"xa": __dlopen_js,
|
|
5985
|
+
"wa": __dlsym_js,
|
|
5986
|
+
"va": __emscripten_get_now_is_monotonic,
|
|
5987
|
+
"ua": __gmtime_js,
|
|
5988
|
+
"ta": __localtime_js,
|
|
5989
|
+
"sa": __mktime_js,
|
|
5990
|
+
"ra": __mmap_js,
|
|
5991
|
+
"qa": __munmap_js,
|
|
5992
|
+
"pa": __tzset_js,
|
|
6141
5993
|
"a": _abort,
|
|
6142
|
-
"
|
|
6143
|
-
"
|
|
6144
|
-
"
|
|
6145
|
-
"
|
|
6146
|
-
"
|
|
6147
|
-
"
|
|
6148
|
-
"
|
|
6149
|
-
"
|
|
6150
|
-
"
|
|
6151
|
-
"
|
|
6152
|
-
"
|
|
6153
|
-
"
|
|
6154
|
-
"
|
|
6155
|
-
"
|
|
6156
|
-
"
|
|
6157
|
-
"
|
|
6158
|
-
"
|
|
6159
|
-
"
|
|
6160
|
-
"
|
|
6161
|
-
"
|
|
6162
|
-
"
|
|
6163
|
-
"
|
|
6164
|
-
"
|
|
6165
|
-
"
|
|
6166
|
-
"
|
|
6167
|
-
"
|
|
6168
|
-
"
|
|
6169
|
-
"
|
|
6170
|
-
"
|
|
6171
|
-
"
|
|
6172
|
-
"
|
|
6173
|
-
"
|
|
6174
|
-
"
|
|
6175
|
-
"
|
|
6176
|
-
"
|
|
6177
|
-
"
|
|
6178
|
-
"
|
|
6179
|
-
"
|
|
6180
|
-
"
|
|
6181
|
-
"
|
|
6182
|
-
"
|
|
6183
|
-
"
|
|
6184
|
-
"
|
|
6185
|
-
"
|
|
6186
|
-
"
|
|
6187
|
-
"
|
|
6188
|
-
"
|
|
6189
|
-
"
|
|
6190
|
-
"
|
|
6191
|
-
"
|
|
6192
|
-
"
|
|
6193
|
-
"
|
|
6194
|
-
"
|
|
6195
|
-
"
|
|
6196
|
-
"
|
|
6197
|
-
"
|
|
6198
|
-
"
|
|
6199
|
-
"g": _glGetUniformLocation,
|
|
6200
|
-
"N": _glLinkProgram,
|
|
6201
|
-
"w": _glPixelStorei,
|
|
6202
|
-
"M": _glReadPixels,
|
|
6203
|
-
"L": _glShaderSource,
|
|
6204
|
-
"k": _glTexImage2D,
|
|
5994
|
+
"H": _emscripten_asm_const_int,
|
|
5995
|
+
"oa": _emscripten_date_now,
|
|
5996
|
+
"na": _emscripten_get_heap_max,
|
|
5997
|
+
"e": _emscripten_get_now,
|
|
5998
|
+
"ma": _emscripten_memcpy_big,
|
|
5999
|
+
"la": _emscripten_pc_get_function,
|
|
6000
|
+
"ka": _emscripten_resize_heap,
|
|
6001
|
+
"ja": _emscripten_stack_snapshot,
|
|
6002
|
+
"ia": _emscripten_stack_unwind_buffer,
|
|
6003
|
+
"ha": _emscripten_webgl_create_context,
|
|
6004
|
+
"ga": _emscripten_webgl_destroy_context,
|
|
6005
|
+
"fa": _emscripten_webgl_get_context_attributes,
|
|
6006
|
+
"G": _emscripten_webgl_get_current_context,
|
|
6007
|
+
"ea": _emscripten_webgl_init_context_attributes,
|
|
6008
|
+
"da": _emscripten_webgl_make_context_current,
|
|
6009
|
+
"Ca": _environ_get,
|
|
6010
|
+
"Ba": _environ_sizes_get,
|
|
6011
|
+
"F": _exit,
|
|
6012
|
+
"r": _fd_close,
|
|
6013
|
+
"Aa": _fd_read,
|
|
6014
|
+
"O": _fd_seek,
|
|
6015
|
+
"q": _fd_write,
|
|
6016
|
+
"ca": _getentropy,
|
|
6017
|
+
"p": _glActiveTexture,
|
|
6018
|
+
"E": _glAttachShader,
|
|
6019
|
+
"ba": _glBindAttribLocation,
|
|
6020
|
+
"g": _glBindBuffer,
|
|
6021
|
+
"l": _glBindFramebuffer,
|
|
6022
|
+
"d": _glBindTexture,
|
|
6023
|
+
"D": _glBufferData,
|
|
6024
|
+
"N": _glClientWaitSync,
|
|
6025
|
+
"aa": _glCompileShader,
|
|
6026
|
+
"$": _glCreateProgram,
|
|
6027
|
+
"_": _glCreateShader,
|
|
6028
|
+
"C": _glDeleteFramebuffers,
|
|
6029
|
+
"Z": _glDeleteProgram,
|
|
6030
|
+
"B": _glDeleteShader,
|
|
6031
|
+
"h": _glDeleteSync,
|
|
6032
|
+
"A": _glDeleteTextures,
|
|
6033
|
+
"z": _glDisableVertexAttribArray,
|
|
6034
|
+
"Y": _glDrawArrays,
|
|
6035
|
+
"y": _glEnableVertexAttribArray,
|
|
6036
|
+
"x": _glFenceSync,
|
|
6037
|
+
"k": _glFinish,
|
|
6038
|
+
"o": _glFramebufferTexture2D,
|
|
6039
|
+
"w": _glGenBuffers,
|
|
6040
|
+
"X": _glGenFramebuffers,
|
|
6041
|
+
"n": _glGenTextures,
|
|
6042
|
+
"j": _glGetError,
|
|
6043
|
+
"v": _glGetIntegerv,
|
|
6044
|
+
"u": _glGetString,
|
|
6045
|
+
"W": _glGetUniformLocation,
|
|
6046
|
+
"V": _glLinkProgram,
|
|
6047
|
+
"m": _glPixelStorei,
|
|
6048
|
+
"t": _glReadPixels,
|
|
6049
|
+
"U": _glShaderSource,
|
|
6050
|
+
"T": _glTexImage2D,
|
|
6205
6051
|
"c": _glTexParameteri,
|
|
6206
|
-
"
|
|
6207
|
-
"
|
|
6208
|
-
"
|
|
6209
|
-
"
|
|
6210
|
-
"
|
|
6211
|
-
"
|
|
6212
|
-
"
|
|
6213
|
-
"
|
|
6214
|
-
"
|
|
6215
|
-
"
|
|
6216
|
-
"B": _glVertexAttribPointer,
|
|
6217
|
-
"K": _glViewport,
|
|
6218
|
-
"Na": _proc_exit,
|
|
6219
|
-
"u": _strftime,
|
|
6220
|
-
"da": _strftime_l,
|
|
6221
|
-
"ca": _wgpuTextureDestroy,
|
|
6222
|
-
"ba": _wgpuTextureRelease
|
|
6052
|
+
"S": _glTexStorage2D,
|
|
6053
|
+
"R": _glUniform1i,
|
|
6054
|
+
"Q": _glUseProgram,
|
|
6055
|
+
"s": _glVertexAttribPointer,
|
|
6056
|
+
"P": _glViewport,
|
|
6057
|
+
"za": _proc_exit,
|
|
6058
|
+
"i": _strftime,
|
|
6059
|
+
"M": _strftime_l,
|
|
6060
|
+
"L": _wgpuTextureDestroy,
|
|
6061
|
+
"K": _wgpuTextureRelease
|
|
6223
6062
|
};
|
|
6224
6063
|
|
|
6225
6064
|
var asm = createWasm();
|
|
6226
6065
|
|
|
6227
6066
|
var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
|
|
6228
|
-
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["
|
|
6067
|
+
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["Ua"]).apply(null, arguments);
|
|
6229
6068
|
};
|
|
6230
6069
|
|
|
6231
6070
|
var _free = Module["_free"] = function() {
|
|
6232
|
-
return (_free = Module["_free"] = Module["asm"]["
|
|
6071
|
+
return (_free = Module["_free"] = Module["asm"]["Wa"]).apply(null, arguments);
|
|
6233
6072
|
};
|
|
6234
6073
|
|
|
6235
6074
|
var _malloc = Module["_malloc"] = function() {
|
|
6236
|
-
return (_malloc = Module["_malloc"] = Module["asm"]["
|
|
6075
|
+
return (_malloc = Module["_malloc"] = Module["asm"]["Xa"]).apply(null, arguments);
|
|
6237
6076
|
};
|
|
6238
6077
|
|
|
6239
6078
|
var _configureAudio = Module["_configureAudio"] = function() {
|
|
6240
|
-
return (_configureAudio = Module["_configureAudio"] = Module["asm"]["
|
|
6079
|
+
return (_configureAudio = Module["_configureAudio"] = Module["asm"]["Ya"]).apply(null, arguments);
|
|
6241
6080
|
};
|
|
6242
6081
|
|
|
6243
6082
|
var _addAudioToInputStream = Module["_addAudioToInputStream"] = function() {
|
|
6244
|
-
return (_addAudioToInputStream = Module["_addAudioToInputStream"] = Module["asm"]["
|
|
6083
|
+
return (_addAudioToInputStream = Module["_addAudioToInputStream"] = Module["asm"]["Za"]).apply(null, arguments);
|
|
6245
6084
|
};
|
|
6246
6085
|
|
|
6247
6086
|
var _registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = function() {
|
|
6248
|
-
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["
|
|
6087
|
+
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["_a"]).apply(null, arguments);
|
|
6088
|
+
};
|
|
6089
|
+
|
|
6090
|
+
var ___errno_location = Module["___errno_location"] = function() {
|
|
6091
|
+
return (___errno_location = Module["___errno_location"] = Module["asm"]["$a"]).apply(null, arguments);
|
|
6249
6092
|
};
|
|
6250
6093
|
|
|
6251
6094
|
var _bindTextureToStream = Module["_bindTextureToStream"] = function() {
|
|
6252
|
-
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["
|
|
6095
|
+
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["ab"]).apply(null, arguments);
|
|
6253
6096
|
};
|
|
6254
6097
|
|
|
6255
6098
|
var _addBoundTextureToStream = Module["_addBoundTextureToStream"] = function() {
|
|
6256
|
-
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["
|
|
6099
|
+
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["bb"]).apply(null, arguments);
|
|
6257
6100
|
};
|
|
6258
6101
|
|
|
6259
6102
|
var _addDoubleToInputStream = Module["_addDoubleToInputStream"] = function() {
|
|
6260
|
-
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["
|
|
6103
|
+
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["cb"]).apply(null, arguments);
|
|
6261
6104
|
};
|
|
6262
6105
|
|
|
6263
6106
|
var _addFloatToInputStream = Module["_addFloatToInputStream"] = function() {
|
|
6264
|
-
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["
|
|
6107
|
+
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["db"]).apply(null, arguments);
|
|
6265
6108
|
};
|
|
6266
6109
|
|
|
6267
6110
|
var _addBoolToInputStream = Module["_addBoolToInputStream"] = function() {
|
|
6268
|
-
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["
|
|
6111
|
+
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["eb"]).apply(null, arguments);
|
|
6269
6112
|
};
|
|
6270
6113
|
|
|
6271
6114
|
var _addIntToInputStream = Module["_addIntToInputStream"] = function() {
|
|
6272
|
-
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["
|
|
6115
|
+
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["fb"]).apply(null, arguments);
|
|
6273
6116
|
};
|
|
6274
6117
|
|
|
6275
6118
|
var _addStringToInputStream = Module["_addStringToInputStream"] = function() {
|
|
6276
|
-
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["
|
|
6119
|
+
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["gb"]).apply(null, arguments);
|
|
6277
6120
|
};
|
|
6278
6121
|
|
|
6279
6122
|
var _addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = function() {
|
|
6280
|
-
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["
|
|
6123
|
+
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["hb"]).apply(null, arguments);
|
|
6281
6124
|
};
|
|
6282
6125
|
|
|
6283
6126
|
var _addProtoToInputStream = Module["_addProtoToInputStream"] = function() {
|
|
6284
|
-
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["
|
|
6127
|
+
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["ib"]).apply(null, arguments);
|
|
6285
6128
|
};
|
|
6286
6129
|
|
|
6287
6130
|
var _addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = function() {
|
|
6288
|
-
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["
|
|
6131
|
+
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["jb"]).apply(null, arguments);
|
|
6289
6132
|
};
|
|
6290
6133
|
|
|
6291
6134
|
var _addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = function() {
|
|
6292
|
-
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["
|
|
6135
|
+
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["kb"]).apply(null, arguments);
|
|
6293
6136
|
};
|
|
6294
6137
|
|
|
6295
6138
|
var _addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = function() {
|
|
6296
|
-
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["
|
|
6139
|
+
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["lb"]).apply(null, arguments);
|
|
6297
6140
|
};
|
|
6298
6141
|
|
|
6299
6142
|
var _addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = function() {
|
|
6300
|
-
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["
|
|
6143
|
+
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["mb"]).apply(null, arguments);
|
|
6301
6144
|
};
|
|
6302
6145
|
|
|
6303
6146
|
var _addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = function() {
|
|
6304
|
-
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["
|
|
6147
|
+
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["nb"]).apply(null, arguments);
|
|
6305
6148
|
};
|
|
6306
6149
|
|
|
6307
6150
|
var _addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = function() {
|
|
6308
|
-
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["
|
|
6151
|
+
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["ob"]).apply(null, arguments);
|
|
6309
6152
|
};
|
|
6310
6153
|
|
|
6311
6154
|
var _attachBoolListener = Module["_attachBoolListener"] = function() {
|
|
6312
|
-
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["
|
|
6155
|
+
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["pb"]).apply(null, arguments);
|
|
6313
6156
|
};
|
|
6314
6157
|
|
|
6315
6158
|
var _attachBoolVectorListener = Module["_attachBoolVectorListener"] = function() {
|
|
6316
|
-
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["
|
|
6159
|
+
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["qb"]).apply(null, arguments);
|
|
6317
6160
|
};
|
|
6318
6161
|
|
|
6319
6162
|
var _attachDoubleListener = Module["_attachDoubleListener"] = function() {
|
|
6320
|
-
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["
|
|
6163
|
+
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["rb"]).apply(null, arguments);
|
|
6321
6164
|
};
|
|
6322
6165
|
|
|
6323
6166
|
var _attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = function() {
|
|
6324
|
-
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["
|
|
6167
|
+
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["sb"]).apply(null, arguments);
|
|
6325
6168
|
};
|
|
6326
6169
|
|
|
6327
6170
|
var _attachFloatListener = Module["_attachFloatListener"] = function() {
|
|
6328
|
-
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["
|
|
6171
|
+
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["tb"]).apply(null, arguments);
|
|
6329
6172
|
};
|
|
6330
6173
|
|
|
6331
6174
|
var _attachFloatVectorListener = Module["_attachFloatVectorListener"] = function() {
|
|
6332
|
-
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["
|
|
6175
|
+
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["ub"]).apply(null, arguments);
|
|
6333
6176
|
};
|
|
6334
6177
|
|
|
6335
6178
|
var _attachIntListener = Module["_attachIntListener"] = function() {
|
|
6336
|
-
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["
|
|
6179
|
+
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["vb"]).apply(null, arguments);
|
|
6337
6180
|
};
|
|
6338
6181
|
|
|
6339
6182
|
var _attachIntVectorListener = Module["_attachIntVectorListener"] = function() {
|
|
6340
|
-
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["
|
|
6183
|
+
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["wb"]).apply(null, arguments);
|
|
6341
6184
|
};
|
|
6342
6185
|
|
|
6343
6186
|
var _attachStringListener = Module["_attachStringListener"] = function() {
|
|
6344
|
-
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["
|
|
6187
|
+
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["xb"]).apply(null, arguments);
|
|
6345
6188
|
};
|
|
6346
6189
|
|
|
6347
6190
|
var _attachStringVectorListener = Module["_attachStringVectorListener"] = function() {
|
|
6348
|
-
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["
|
|
6191
|
+
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["yb"]).apply(null, arguments);
|
|
6349
6192
|
};
|
|
6350
6193
|
|
|
6351
6194
|
var _attachProtoListener = Module["_attachProtoListener"] = function() {
|
|
6352
|
-
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["
|
|
6195
|
+
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["zb"]).apply(null, arguments);
|
|
6353
6196
|
};
|
|
6354
6197
|
|
|
6355
6198
|
var _attachProtoVectorListener = Module["_attachProtoVectorListener"] = function() {
|
|
6356
|
-
return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["
|
|
6357
|
-
};
|
|
6358
|
-
|
|
6359
|
-
var ___errno_location = Module["___errno_location"] = function() {
|
|
6360
|
-
return (___errno_location = Module["___errno_location"] = Module["asm"]["Nb"]).apply(null, arguments);
|
|
6199
|
+
return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["Ab"]).apply(null, arguments);
|
|
6361
6200
|
};
|
|
6362
6201
|
|
|
6363
6202
|
var _clearSubgraphs = Module["_clearSubgraphs"] = function() {
|
|
6364
|
-
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["
|
|
6203
|
+
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["Bb"]).apply(null, arguments);
|
|
6365
6204
|
};
|
|
6366
6205
|
|
|
6367
6206
|
var _pushBinarySubgraph = Module["_pushBinarySubgraph"] = function() {
|
|
6368
|
-
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["
|
|
6207
|
+
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["Cb"]).apply(null, arguments);
|
|
6369
6208
|
};
|
|
6370
6209
|
|
|
6371
6210
|
var _pushTextSubgraph = Module["_pushTextSubgraph"] = function() {
|
|
6372
|
-
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["
|
|
6211
|
+
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["Db"]).apply(null, arguments);
|
|
6373
6212
|
};
|
|
6374
6213
|
|
|
6375
6214
|
var _changeBinaryGraph = Module["_changeBinaryGraph"] = function() {
|
|
6376
|
-
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["
|
|
6215
|
+
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["Eb"]).apply(null, arguments);
|
|
6377
6216
|
};
|
|
6378
6217
|
|
|
6379
6218
|
var _changeTextGraph = Module["_changeTextGraph"] = function() {
|
|
6380
|
-
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["
|
|
6219
|
+
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["Fb"]).apply(null, arguments);
|
|
6381
6220
|
};
|
|
6382
6221
|
|
|
6383
6222
|
var _processGl = Module["_processGl"] = function() {
|
|
6384
|
-
return (_processGl = Module["_processGl"] = Module["asm"]["
|
|
6223
|
+
return (_processGl = Module["_processGl"] = Module["asm"]["Gb"]).apply(null, arguments);
|
|
6385
6224
|
};
|
|
6386
6225
|
|
|
6387
6226
|
var _process = Module["_process"] = function() {
|
|
6388
|
-
return (_process = Module["_process"] = Module["asm"]["
|
|
6227
|
+
return (_process = Module["_process"] = Module["asm"]["Hb"]).apply(null, arguments);
|
|
6389
6228
|
};
|
|
6390
6229
|
|
|
6391
6230
|
var _bindTextureToCanvas = Module["_bindTextureToCanvas"] = function() {
|
|
6392
|
-
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["
|
|
6231
|
+
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["Ib"]).apply(null, arguments);
|
|
6393
6232
|
};
|
|
6394
6233
|
|
|
6395
6234
|
var _requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = function() {
|
|
6396
|
-
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["
|
|
6235
|
+
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["Jb"]).apply(null, arguments);
|
|
6397
6236
|
};
|
|
6398
6237
|
|
|
6399
6238
|
var _waitUntilIdle = Module["_waitUntilIdle"] = function() {
|
|
6400
|
-
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["
|
|
6239
|
+
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["Kb"]).apply(null, arguments);
|
|
6401
6240
|
};
|
|
6402
6241
|
|
|
6403
6242
|
var _setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = function() {
|
|
6404
|
-
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["
|
|
6243
|
+
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["Lb"]).apply(null, arguments);
|
|
6405
6244
|
};
|
|
6406
6245
|
|
|
6407
6246
|
var _emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = function() {
|
|
6408
|
-
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["
|
|
6247
|
+
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["Mb"]).apply(null, arguments);
|
|
6409
6248
|
};
|
|
6410
6249
|
|
|
6411
6250
|
var stackSave = Module["stackSave"] = function() {
|
|
6412
|
-
return (stackSave = Module["stackSave"] = Module["asm"]["
|
|
6251
|
+
return (stackSave = Module["stackSave"] = Module["asm"]["Nb"]).apply(null, arguments);
|
|
6413
6252
|
};
|
|
6414
6253
|
|
|
6415
6254
|
var stackRestore = Module["stackRestore"] = function() {
|
|
6416
|
-
return (stackRestore = Module["stackRestore"] = Module["asm"]["
|
|
6255
|
+
return (stackRestore = Module["stackRestore"] = Module["asm"]["Ob"]).apply(null, arguments);
|
|
6417
6256
|
};
|
|
6418
6257
|
|
|
6419
6258
|
var stackAlloc = Module["stackAlloc"] = function() {
|
|
6420
|
-
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["
|
|
6259
|
+
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["Pb"]).apply(null, arguments);
|
|
6421
6260
|
};
|
|
6422
6261
|
|
|
6423
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
6262
|
+
var ___start_em_js = Module["___start_em_js"] = 538348;
|
|
6424
6263
|
|
|
6425
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
6264
|
+
var ___stop_em_js = Module["___stop_em_js"] = 541827;
|
|
6426
6265
|
|
|
6427
6266
|
Module["addRunDependency"] = addRunDependency;
|
|
6428
6267
|
|