@mediapipe/tasks-audio 0.1.0-alpha-2 → 0.1.0-alpha-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/audio_bundle.js +1 -1
- package/package.json +1 -1
- package/wasm/audio_wasm_internal.js +225 -387
- package/wasm/audio_wasm_internal.wasm +0 -0
- package/wasm/audio_wasm_nosimd_internal.js +225 -387
- package/wasm/audio_wasm_nosimd_internal.wasm +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// Build 502698517
|
|
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
|
+
539722: () => {
|
|
528
524
|
let init_once = true;
|
|
529
525
|
if (init_once) {
|
|
530
526
|
const cachedFindCanvasEventTarget = findCanvasEventTarget;
|
|
@@ -550,85 +546,85 @@ var ASM_CONSTS = {
|
|
|
550
546
|
init_once = false;
|
|
551
547
|
}
|
|
552
548
|
},
|
|
553
|
-
|
|
549
|
+
540507: () => {
|
|
554
550
|
return typeof wasmOffsetConverter !== "undefined";
|
|
555
551
|
}
|
|
556
552
|
};
|
|
557
553
|
|
|
558
554
|
function JsWrapVectorListeners() {
|
|
559
555
|
if (!Module._wrapVectorListenerOutput) {
|
|
560
|
-
Module._wrapVectorListenerOutput = (outputStreamName, outData, index, length) => {
|
|
556
|
+
Module._wrapVectorListenerOutput = (outputStreamName, outData, index, length, timestamp) => {
|
|
561
557
|
if (Module.vectorListeners) {
|
|
562
558
|
const streamName = UTF8ToString(outputStreamName);
|
|
563
559
|
if (Module.vectorListeners[streamName]) {
|
|
564
|
-
Module.vectorListeners[streamName](outData, index, length);
|
|
560
|
+
Module.vectorListeners[streamName](outData, index, length, timestamp);
|
|
565
561
|
}
|
|
566
562
|
}
|
|
567
563
|
};
|
|
568
564
|
}
|
|
569
565
|
}
|
|
570
566
|
|
|
571
|
-
function JsOnSimpleListenerBool(output_stream_name, out_data) {
|
|
572
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
567
|
+
function JsOnSimpleListenerBool(output_stream_name, out_data, timestamp) {
|
|
568
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
573
569
|
}
|
|
574
570
|
|
|
575
|
-
function JsOnVectorListenerBool(output_stream_name, out_data, index, length) {
|
|
576
|
-
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length);
|
|
571
|
+
function JsOnVectorListenerBool(output_stream_name, out_data, index, length, timestamp) {
|
|
572
|
+
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
577
573
|
}
|
|
578
574
|
|
|
579
|
-
function JsOnSimpleListenerInt(output_stream_name, out_data) {
|
|
580
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
575
|
+
function JsOnSimpleListenerInt(output_stream_name, out_data, timestamp) {
|
|
576
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
581
577
|
}
|
|
582
578
|
|
|
583
|
-
function JsOnVectorListenerInt(output_stream_name, out_data, index, length) {
|
|
584
|
-
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length);
|
|
579
|
+
function JsOnVectorListenerInt(output_stream_name, out_data, index, length, timestamp) {
|
|
580
|
+
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
585
581
|
}
|
|
586
582
|
|
|
587
|
-
function JsOnSimpleListenerDouble(output_stream_name, out_data) {
|
|
588
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
583
|
+
function JsOnSimpleListenerDouble(output_stream_name, out_data, timestamp) {
|
|
584
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
589
585
|
}
|
|
590
586
|
|
|
591
|
-
function JsOnVectorListenerDouble(output_stream_name, out_data, index, length) {
|
|
592
|
-
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length);
|
|
587
|
+
function JsOnVectorListenerDouble(output_stream_name, out_data, index, length, timestamp) {
|
|
588
|
+
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
593
589
|
}
|
|
594
590
|
|
|
595
|
-
function JsOnSimpleListenerFloat(output_stream_name, out_data) {
|
|
596
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
591
|
+
function JsOnSimpleListenerFloat(output_stream_name, out_data, timestamp) {
|
|
592
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
597
593
|
}
|
|
598
594
|
|
|
599
|
-
function JsOnVectorListenerFloat(output_stream_name, out_data, index, length) {
|
|
600
|
-
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length);
|
|
595
|
+
function JsOnVectorListenerFloat(output_stream_name, out_data, index, length, timestamp) {
|
|
596
|
+
Module._wrapVectorListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
601
597
|
}
|
|
602
598
|
|
|
603
|
-
function JsOnSimpleListenerString(output_stream_name, out_data) {
|
|
604
|
-
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data));
|
|
599
|
+
function JsOnSimpleListenerString(output_stream_name, out_data, timestamp) {
|
|
600
|
+
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), timestamp);
|
|
605
601
|
}
|
|
606
602
|
|
|
607
|
-
function JsOnVectorListenerString(output_stream_name, out_data, index, length) {
|
|
608
|
-
Module._wrapVectorListenerOutput(output_stream_name, UTF8ToString(out_data), index, length);
|
|
603
|
+
function JsOnVectorListenerString(output_stream_name, out_data, index, length, timestamp) {
|
|
604
|
+
Module._wrapVectorListenerOutput(output_stream_name, UTF8ToString(out_data), index, length, timestamp);
|
|
609
605
|
}
|
|
610
606
|
|
|
611
|
-
function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy, index, length) {
|
|
607
|
+
function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy, index, length, timestamp) {
|
|
612
608
|
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._wrapVectorListenerOutput(output_stream_name, newProtoArray, index, length);
|
|
609
|
+
Module._wrapVectorListenerOutput(output_stream_name, newProtoArray, index, length, timestamp);
|
|
614
610
|
}
|
|
615
611
|
|
|
616
612
|
function JsWrapSimpleListeners() {
|
|
617
613
|
if (!Module._wrapSimpleListenerOutput) {
|
|
618
|
-
Module._wrapSimpleListenerOutput = (outputStreamName, outData) => {
|
|
614
|
+
Module._wrapSimpleListenerOutput = (outputStreamName, outData, timestamp) => {
|
|
619
615
|
if (Module.simpleListeners) {
|
|
620
616
|
const streamName = UTF8ToString(outputStreamName);
|
|
621
617
|
if (Module.simpleListeners[streamName]) {
|
|
622
|
-
Module.simpleListeners[streamName](outData);
|
|
618
|
+
Module.simpleListeners[streamName](outData, timestamp);
|
|
623
619
|
}
|
|
624
620
|
}
|
|
625
621
|
};
|
|
626
622
|
}
|
|
627
623
|
}
|
|
628
624
|
|
|
629
|
-
function JsOnSimpleListenerBinaryArray(output_stream_name, binary_ptr, binary_size, make_deep_copy) {
|
|
625
|
+
function JsOnSimpleListenerBinaryArray(output_stream_name, binary_ptr, binary_size, make_deep_copy, timestamp) {
|
|
630
626
|
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);
|
|
627
|
+
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, timestamp);
|
|
632
628
|
}
|
|
633
629
|
|
|
634
630
|
function JsWrapErrorListener(code, message) {
|
|
@@ -1336,7 +1332,7 @@ var FS = {
|
|
|
1336
1332
|
filesystems: null,
|
|
1337
1333
|
syncFSRequests: 0,
|
|
1338
1334
|
lookupPath: (path, opts = {}) => {
|
|
1339
|
-
path = PATH_FS.resolve(
|
|
1335
|
+
path = PATH_FS.resolve(path);
|
|
1340
1336
|
if (!path) return {
|
|
1341
1337
|
path: "",
|
|
1342
1338
|
node: null
|
|
@@ -1349,7 +1345,7 @@ var FS = {
|
|
|
1349
1345
|
if (opts.recurse_count > 8) {
|
|
1350
1346
|
throw new FS.ErrnoError(32);
|
|
1351
1347
|
}
|
|
1352
|
-
var parts =
|
|
1348
|
+
var parts = path.split("/").filter(p => !!p);
|
|
1353
1349
|
var current = FS.root;
|
|
1354
1350
|
var current_path = "/";
|
|
1355
1351
|
for (var i = 0; i < parts.length; i++) {
|
|
@@ -3809,6 +3805,21 @@ function __gmtime_js(time, tmPtr) {
|
|
|
3809
3805
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
3810
3806
|
}
|
|
3811
3807
|
|
|
3808
|
+
function __isLeapYear(year) {
|
|
3809
|
+
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
var __MONTH_DAYS_LEAP_CUMULATIVE = [ 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 ];
|
|
3813
|
+
|
|
3814
|
+
var __MONTH_DAYS_REGULAR_CUMULATIVE = [ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 ];
|
|
3815
|
+
|
|
3816
|
+
function __yday_from_date(date) {
|
|
3817
|
+
var isLeapYear = __isLeapYear(date.getFullYear());
|
|
3818
|
+
var monthDaysCumulative = isLeapYear ? __MONTH_DAYS_LEAP_CUMULATIVE : __MONTH_DAYS_REGULAR_CUMULATIVE;
|
|
3819
|
+
var yday = monthDaysCumulative[date.getMonth()] + date.getDate() - 1;
|
|
3820
|
+
return yday;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3812
3823
|
function __localtime_js(time, tmPtr) {
|
|
3813
3824
|
var date = new Date(readI53FromI64(time) * 1e3);
|
|
3814
3825
|
HEAP32[tmPtr >> 2] = date.getSeconds();
|
|
@@ -3818,10 +3829,10 @@ function __localtime_js(time, tmPtr) {
|
|
|
3818
3829
|
HEAP32[tmPtr + 16 >> 2] = date.getMonth();
|
|
3819
3830
|
HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900;
|
|
3820
3831
|
HEAP32[tmPtr + 24 >> 2] = date.getDay();
|
|
3821
|
-
var
|
|
3822
|
-
var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
|
|
3832
|
+
var yday = __yday_from_date(date) | 0;
|
|
3823
3833
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
3824
3834
|
HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60);
|
|
3835
|
+
var start = new Date(date.getFullYear(), 0, 1);
|
|
3825
3836
|
var summerOffset = new Date(date.getFullYear(), 6, 1).getTimezoneOffset();
|
|
3826
3837
|
var winterOffset = start.getTimezoneOffset();
|
|
3827
3838
|
var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0;
|
|
@@ -3844,7 +3855,7 @@ function __mktime_js(tmPtr) {
|
|
|
3844
3855
|
date.setTime(date.getTime() + (trueOffset - guessedOffset) * 6e4);
|
|
3845
3856
|
}
|
|
3846
3857
|
HEAP32[tmPtr + 24 >> 2] = date.getDay();
|
|
3847
|
-
var yday = (date
|
|
3858
|
+
var yday = __yday_from_date(date) | 0;
|
|
3848
3859
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
3849
3860
|
HEAP32[tmPtr >> 2] = date.getSeconds();
|
|
3850
3861
|
HEAP32[tmPtr + 4 >> 2] = date.getMinutes();
|
|
@@ -3889,14 +3900,14 @@ function allocateUTF8(str) {
|
|
|
3889
3900
|
return ret;
|
|
3890
3901
|
}
|
|
3891
3902
|
|
|
3892
|
-
function
|
|
3903
|
+
function __tzset_js(timezone, daylight, tzname) {
|
|
3893
3904
|
var currentYear = new Date().getFullYear();
|
|
3894
3905
|
var winter = new Date(currentYear, 0, 1);
|
|
3895
3906
|
var summer = new Date(currentYear, 6, 1);
|
|
3896
3907
|
var winterOffset = winter.getTimezoneOffset();
|
|
3897
3908
|
var summerOffset = summer.getTimezoneOffset();
|
|
3898
3909
|
var stdTimezoneOffset = Math.max(winterOffset, summerOffset);
|
|
3899
|
-
|
|
3910
|
+
HEAPU32[timezone >> 2] = stdTimezoneOffset * 60;
|
|
3900
3911
|
HEAP32[daylight >> 2] = Number(winterOffset != summerOffset);
|
|
3901
3912
|
function extractZone(date) {
|
|
3902
3913
|
var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/);
|
|
@@ -3915,35 +3926,33 @@ function _tzset_impl(timezone, daylight, tzname) {
|
|
|
3915
3926
|
}
|
|
3916
3927
|
}
|
|
3917
3928
|
|
|
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
3929
|
function _abort() {
|
|
3925
3930
|
abort("");
|
|
3926
3931
|
}
|
|
3927
3932
|
|
|
3928
|
-
var
|
|
3933
|
+
var readEmAsmArgsArray = [];
|
|
3929
3934
|
|
|
3930
|
-
function
|
|
3931
|
-
|
|
3935
|
+
function readEmAsmArgs(sigPtr, buf) {
|
|
3936
|
+
readEmAsmArgsArray.length = 0;
|
|
3932
3937
|
var ch;
|
|
3933
3938
|
buf >>= 2;
|
|
3934
3939
|
while (ch = HEAPU8[sigPtr++]) {
|
|
3935
3940
|
buf += ch != 105 & buf;
|
|
3936
|
-
|
|
3941
|
+
readEmAsmArgsArray.push(ch == 105 ? HEAP32[buf] : HEAPF64[buf++ >> 1]);
|
|
3937
3942
|
++buf;
|
|
3938
3943
|
}
|
|
3939
|
-
return
|
|
3944
|
+
return readEmAsmArgsArray;
|
|
3940
3945
|
}
|
|
3941
3946
|
|
|
3942
|
-
function
|
|
3943
|
-
var args =
|
|
3947
|
+
function runEmAsmFunction(code, sigPtr, argbuf) {
|
|
3948
|
+
var args = readEmAsmArgs(sigPtr, argbuf);
|
|
3944
3949
|
return ASM_CONSTS[code].apply(null, args);
|
|
3945
3950
|
}
|
|
3946
3951
|
|
|
3952
|
+
function _emscripten_asm_const_int(code, sigPtr, argbuf) {
|
|
3953
|
+
return runEmAsmFunction(code, sigPtr, argbuf);
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3947
3956
|
function _emscripten_date_now() {
|
|
3948
3957
|
return Date.now();
|
|
3949
3958
|
}
|
|
@@ -4747,10 +4756,6 @@ function _glBindBuffer(target, buffer) {
|
|
|
4747
4756
|
GLctx.bindBuffer(target, GL.buffers[buffer]);
|
|
4748
4757
|
}
|
|
4749
4758
|
|
|
4750
|
-
function _glBindBufferBase(target, index, buffer) {
|
|
4751
|
-
GLctx["bindBufferBase"](target, index, GL.buffers[buffer]);
|
|
4752
|
-
}
|
|
4753
|
-
|
|
4754
4759
|
function _glBindFramebuffer(target, framebuffer) {
|
|
4755
4760
|
GLctx.bindFramebuffer(target, GL.framebuffers[framebuffer]);
|
|
4756
4761
|
}
|
|
@@ -4799,21 +4804,6 @@ function _glCreateShader(shaderType) {
|
|
|
4799
4804
|
return id;
|
|
4800
4805
|
}
|
|
4801
4806
|
|
|
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
4807
|
function _glDeleteFramebuffers(n, framebuffers) {
|
|
4818
4808
|
for (var i = 0; i < n; ++i) {
|
|
4819
4809
|
var id = HEAP32[framebuffers + i * 4 >> 2];
|
|
@@ -4883,16 +4873,6 @@ function _glDrawArrays(mode, first, count) {
|
|
|
4883
4873
|
GL.postDrawHandleClientVertexAttribBindings();
|
|
4884
4874
|
}
|
|
4885
4875
|
|
|
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
4876
|
function _glEnableVertexAttribArray(index) {
|
|
4897
4877
|
var cb = GL.currentContext.clientBuffers[index];
|
|
4898
4878
|
cb.enabled = true;
|
|
@@ -4918,10 +4898,6 @@ function _glFramebufferTexture2D(target, attachment, textarget, texture, level)
|
|
|
4918
4898
|
GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level);
|
|
4919
4899
|
}
|
|
4920
4900
|
|
|
4921
|
-
function _glFramebufferTextureLayer(target, attachment, texture, level, layer) {
|
|
4922
|
-
GLctx.framebufferTextureLayer(target, attachment, GL.textures[texture], level, layer);
|
|
4923
|
-
}
|
|
4924
|
-
|
|
4925
4901
|
function __glGenObject(n, buffers, createFunction, objectTable) {
|
|
4926
4902
|
for (var i = 0; i < n; i++) {
|
|
4927
4903
|
var buffer = GLctx[createFunction]();
|
|
@@ -4948,10 +4924,6 @@ function _glGenTextures(n, textures) {
|
|
|
4948
4924
|
__glGenObject(n, textures, "createTexture", GL.textures);
|
|
4949
4925
|
}
|
|
4950
4926
|
|
|
4951
|
-
function _glGetAttribLocation(program, name) {
|
|
4952
|
-
return GLctx.getAttribLocation(GL.programs[program], UTF8ToString(name));
|
|
4953
|
-
}
|
|
4954
|
-
|
|
4955
4927
|
function _glGetError() {
|
|
4956
4928
|
var error = GLctx.getError() || GL.lastError;
|
|
4957
4929
|
GL.lastError = 0;
|
|
@@ -5170,10 +5142,6 @@ function _glGetString(name_) {
|
|
|
5170
5142
|
return ret;
|
|
5171
5143
|
}
|
|
5172
5144
|
|
|
5173
|
-
function _glGetUniformBlockIndex(program, uniformBlockName) {
|
|
5174
|
-
return GLctx["getUniformBlockIndex"](GL.programs[program], UTF8ToString(uniformBlockName));
|
|
5175
|
-
}
|
|
5176
|
-
|
|
5177
5145
|
function jstoi_q(str) {
|
|
5178
5146
|
return parseInt(str);
|
|
5179
5147
|
}
|
|
@@ -5337,38 +5305,6 @@ function _glTexStorage2D(x0, x1, x2, x3, x4) {
|
|
|
5337
5305
|
GLctx["texStorage2D"](x0, x1, x2, x3, x4);
|
|
5338
5306
|
}
|
|
5339
5307
|
|
|
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
5308
|
function webglGetUniformLocation(location) {
|
|
5373
5309
|
var p = GLctx.currentProgram;
|
|
5374
5310
|
if (p) {
|
|
@@ -5386,73 +5322,6 @@ function _glUniform1i(location, v0) {
|
|
|
5386
5322
|
GLctx.uniform1i(webglGetUniformLocation(location), v0);
|
|
5387
5323
|
}
|
|
5388
5324
|
|
|
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
5325
|
function _glUseProgram(program) {
|
|
5457
5326
|
program = GL.programs[program];
|
|
5458
5327
|
GLctx.useProgram(program);
|
|
@@ -5481,10 +5350,6 @@ function _glViewport(x0, x1, x2, x3) {
|
|
|
5481
5350
|
GLctx["viewport"](x0, x1, x2, x3);
|
|
5482
5351
|
}
|
|
5483
5352
|
|
|
5484
|
-
function __isLeapYear(year) {
|
|
5485
|
-
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
5486
|
-
}
|
|
5487
|
-
|
|
5488
5353
|
function __arraySum(array, index) {
|
|
5489
5354
|
var sum = 0;
|
|
5490
5355
|
for (var i = 0; i <= index; sum += array[i++]) {}
|
|
@@ -6091,338 +5956,311 @@ Module["FS_createDevice"] = FS.createDevice;
|
|
|
6091
5956
|
|
|
6092
5957
|
var GLctx;
|
|
6093
5958
|
|
|
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
5959
|
WebGPU.initManagers();
|
|
6109
5960
|
|
|
6110
5961
|
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
|
-
"
|
|
5962
|
+
"Sa": HaveOffsetConverter,
|
|
5963
|
+
"Ra": JsOnSimpleListenerBinaryArray,
|
|
5964
|
+
"Qa": JsOnSimpleListenerBool,
|
|
5965
|
+
"Pa": JsOnSimpleListenerDouble,
|
|
5966
|
+
"Oa": JsOnSimpleListenerFloat,
|
|
5967
|
+
"Na": JsOnSimpleListenerInt,
|
|
5968
|
+
"Ma": JsOnSimpleListenerString,
|
|
5969
|
+
"La": JsOnVectorListenerBool,
|
|
5970
|
+
"Ka": JsOnVectorListenerDouble,
|
|
5971
|
+
"Ja": JsOnVectorListenerFloat,
|
|
5972
|
+
"Ia": JsOnVectorListenerInt,
|
|
5973
|
+
"Ha": JsOnVectorListenerProto,
|
|
5974
|
+
"Ga": JsOnVectorListenerString,
|
|
5975
|
+
"e": JsWrapErrorListener,
|
|
5976
|
+
"h": JsWrapSimpleListeners,
|
|
5977
|
+
"g": JsWrapVectorListeners,
|
|
5978
|
+
"K": ___syscall_fcntl64,
|
|
5979
|
+
"Fa": ___syscall_ioctl,
|
|
5980
|
+
"J": ___syscall_openat,
|
|
5981
|
+
"Ea": ___syscall_stat64,
|
|
5982
|
+
"za": __dlinit,
|
|
5983
|
+
"ya": __dlopen_js,
|
|
5984
|
+
"xa": __dlsym_js,
|
|
5985
|
+
"wa": __emscripten_get_now_is_monotonic,
|
|
5986
|
+
"va": __gmtime_js,
|
|
5987
|
+
"ua": __localtime_js,
|
|
5988
|
+
"ta": __mktime_js,
|
|
5989
|
+
"sa": __mmap_js,
|
|
5990
|
+
"ra": __munmap_js,
|
|
5991
|
+
"qa": __tzset_js,
|
|
6141
5992
|
"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
|
-
"
|
|
5993
|
+
"I": _emscripten_asm_const_int,
|
|
5994
|
+
"pa": _emscripten_date_now,
|
|
5995
|
+
"oa": _emscripten_get_heap_max,
|
|
5996
|
+
"d": _emscripten_get_now,
|
|
5997
|
+
"na": _emscripten_memcpy_big,
|
|
5998
|
+
"ma": _emscripten_pc_get_function,
|
|
5999
|
+
"la": _emscripten_resize_heap,
|
|
6000
|
+
"ka": _emscripten_stack_snapshot,
|
|
6001
|
+
"ja": _emscripten_stack_unwind_buffer,
|
|
6002
|
+
"ia": _emscripten_webgl_create_context,
|
|
6003
|
+
"ha": _emscripten_webgl_destroy_context,
|
|
6004
|
+
"ga": _emscripten_webgl_get_context_attributes,
|
|
6005
|
+
"H": _emscripten_webgl_get_current_context,
|
|
6006
|
+
"fa": _emscripten_webgl_init_context_attributes,
|
|
6007
|
+
"ea": _emscripten_webgl_make_context_current,
|
|
6008
|
+
"Da": _environ_get,
|
|
6009
|
+
"Ca": _environ_sizes_get,
|
|
6010
|
+
"G": _exit,
|
|
6011
|
+
"s": _fd_close,
|
|
6012
|
+
"Ba": _fd_read,
|
|
6013
|
+
"P": _fd_seek,
|
|
6014
|
+
"r": _fd_write,
|
|
6015
|
+
"da": _getentropy,
|
|
6016
|
+
"q": _glActiveTexture,
|
|
6017
|
+
"F": _glAttachShader,
|
|
6018
|
+
"ca": _glBindAttribLocation,
|
|
6168
6019
|
"f": _glBindBuffer,
|
|
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
|
-
"
|
|
6200
|
-
"
|
|
6201
|
-
"
|
|
6202
|
-
"
|
|
6203
|
-
"
|
|
6204
|
-
"
|
|
6205
|
-
"
|
|
6206
|
-
"
|
|
6207
|
-
"
|
|
6208
|
-
"
|
|
6209
|
-
"
|
|
6210
|
-
"q": _glUniform1i,
|
|
6211
|
-
"ja": _glUniform2fv,
|
|
6212
|
-
"ia": _glUniform4fv,
|
|
6213
|
-
"ha": _glUniform4iv,
|
|
6214
|
-
"ga": _glUniformBlockBinding,
|
|
6215
|
-
"v": _glUseProgram,
|
|
6216
|
-
"B": _glVertexAttribPointer,
|
|
6217
|
-
"K": _glViewport,
|
|
6218
|
-
"Na": _proc_exit,
|
|
6219
|
-
"u": _strftime,
|
|
6220
|
-
"da": _strftime_l,
|
|
6221
|
-
"ca": _wgpuTextureDestroy,
|
|
6222
|
-
"ba": _wgpuTextureRelease
|
|
6020
|
+
"m": _glBindFramebuffer,
|
|
6021
|
+
"c": _glBindTexture,
|
|
6022
|
+
"E": _glBufferData,
|
|
6023
|
+
"O": _glClientWaitSync,
|
|
6024
|
+
"ba": _glCompileShader,
|
|
6025
|
+
"aa": _glCreateProgram,
|
|
6026
|
+
"$": _glCreateShader,
|
|
6027
|
+
"D": _glDeleteFramebuffers,
|
|
6028
|
+
"_": _glDeleteProgram,
|
|
6029
|
+
"C": _glDeleteShader,
|
|
6030
|
+
"i": _glDeleteSync,
|
|
6031
|
+
"B": _glDeleteTextures,
|
|
6032
|
+
"A": _glDisableVertexAttribArray,
|
|
6033
|
+
"Z": _glDrawArrays,
|
|
6034
|
+
"z": _glEnableVertexAttribArray,
|
|
6035
|
+
"y": _glFenceSync,
|
|
6036
|
+
"l": _glFinish,
|
|
6037
|
+
"p": _glFramebufferTexture2D,
|
|
6038
|
+
"x": _glGenBuffers,
|
|
6039
|
+
"Y": _glGenFramebuffers,
|
|
6040
|
+
"o": _glGenTextures,
|
|
6041
|
+
"k": _glGetError,
|
|
6042
|
+
"w": _glGetIntegerv,
|
|
6043
|
+
"v": _glGetString,
|
|
6044
|
+
"X": _glGetUniformLocation,
|
|
6045
|
+
"W": _glLinkProgram,
|
|
6046
|
+
"n": _glPixelStorei,
|
|
6047
|
+
"u": _glReadPixels,
|
|
6048
|
+
"V": _glShaderSource,
|
|
6049
|
+
"U": _glTexImage2D,
|
|
6050
|
+
"b": _glTexParameteri,
|
|
6051
|
+
"T": _glTexStorage2D,
|
|
6052
|
+
"S": _glUniform1i,
|
|
6053
|
+
"R": _glUseProgram,
|
|
6054
|
+
"t": _glVertexAttribPointer,
|
|
6055
|
+
"Q": _glViewport,
|
|
6056
|
+
"Aa": _proc_exit,
|
|
6057
|
+
"j": _strftime,
|
|
6058
|
+
"N": _strftime_l,
|
|
6059
|
+
"M": _wgpuTextureDestroy,
|
|
6060
|
+
"L": _wgpuTextureRelease
|
|
6223
6061
|
};
|
|
6224
6062
|
|
|
6225
6063
|
var asm = createWasm();
|
|
6226
6064
|
|
|
6227
6065
|
var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
|
|
6228
|
-
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["
|
|
6066
|
+
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["Ua"]).apply(null, arguments);
|
|
6229
6067
|
};
|
|
6230
6068
|
|
|
6231
6069
|
var _free = Module["_free"] = function() {
|
|
6232
|
-
return (_free = Module["_free"] = Module["asm"]["
|
|
6070
|
+
return (_free = Module["_free"] = Module["asm"]["Wa"]).apply(null, arguments);
|
|
6233
6071
|
};
|
|
6234
6072
|
|
|
6235
6073
|
var _malloc = Module["_malloc"] = function() {
|
|
6236
|
-
return (_malloc = Module["_malloc"] = Module["asm"]["
|
|
6074
|
+
return (_malloc = Module["_malloc"] = Module["asm"]["Xa"]).apply(null, arguments);
|
|
6237
6075
|
};
|
|
6238
6076
|
|
|
6239
6077
|
var _configureAudio = Module["_configureAudio"] = function() {
|
|
6240
|
-
return (_configureAudio = Module["_configureAudio"] = Module["asm"]["
|
|
6078
|
+
return (_configureAudio = Module["_configureAudio"] = Module["asm"]["Ya"]).apply(null, arguments);
|
|
6241
6079
|
};
|
|
6242
6080
|
|
|
6243
6081
|
var _addAudioToInputStream = Module["_addAudioToInputStream"] = function() {
|
|
6244
|
-
return (_addAudioToInputStream = Module["_addAudioToInputStream"] = Module["asm"]["
|
|
6082
|
+
return (_addAudioToInputStream = Module["_addAudioToInputStream"] = Module["asm"]["Za"]).apply(null, arguments);
|
|
6245
6083
|
};
|
|
6246
6084
|
|
|
6247
6085
|
var _registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = function() {
|
|
6248
|
-
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["
|
|
6086
|
+
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["_a"]).apply(null, arguments);
|
|
6087
|
+
};
|
|
6088
|
+
|
|
6089
|
+
var ___errno_location = Module["___errno_location"] = function() {
|
|
6090
|
+
return (___errno_location = Module["___errno_location"] = Module["asm"]["$a"]).apply(null, arguments);
|
|
6249
6091
|
};
|
|
6250
6092
|
|
|
6251
6093
|
var _bindTextureToStream = Module["_bindTextureToStream"] = function() {
|
|
6252
|
-
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["
|
|
6094
|
+
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["ab"]).apply(null, arguments);
|
|
6253
6095
|
};
|
|
6254
6096
|
|
|
6255
6097
|
var _addBoundTextureToStream = Module["_addBoundTextureToStream"] = function() {
|
|
6256
|
-
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["
|
|
6098
|
+
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["bb"]).apply(null, arguments);
|
|
6257
6099
|
};
|
|
6258
6100
|
|
|
6259
6101
|
var _addDoubleToInputStream = Module["_addDoubleToInputStream"] = function() {
|
|
6260
|
-
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["
|
|
6102
|
+
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["cb"]).apply(null, arguments);
|
|
6261
6103
|
};
|
|
6262
6104
|
|
|
6263
6105
|
var _addFloatToInputStream = Module["_addFloatToInputStream"] = function() {
|
|
6264
|
-
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["
|
|
6106
|
+
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["db"]).apply(null, arguments);
|
|
6265
6107
|
};
|
|
6266
6108
|
|
|
6267
6109
|
var _addBoolToInputStream = Module["_addBoolToInputStream"] = function() {
|
|
6268
|
-
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["
|
|
6110
|
+
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["eb"]).apply(null, arguments);
|
|
6269
6111
|
};
|
|
6270
6112
|
|
|
6271
6113
|
var _addIntToInputStream = Module["_addIntToInputStream"] = function() {
|
|
6272
|
-
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["
|
|
6114
|
+
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["fb"]).apply(null, arguments);
|
|
6273
6115
|
};
|
|
6274
6116
|
|
|
6275
6117
|
var _addStringToInputStream = Module["_addStringToInputStream"] = function() {
|
|
6276
|
-
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["
|
|
6118
|
+
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["gb"]).apply(null, arguments);
|
|
6277
6119
|
};
|
|
6278
6120
|
|
|
6279
6121
|
var _addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = function() {
|
|
6280
|
-
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["
|
|
6122
|
+
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["hb"]).apply(null, arguments);
|
|
6281
6123
|
};
|
|
6282
6124
|
|
|
6283
6125
|
var _addProtoToInputStream = Module["_addProtoToInputStream"] = function() {
|
|
6284
|
-
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["
|
|
6126
|
+
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["ib"]).apply(null, arguments);
|
|
6285
6127
|
};
|
|
6286
6128
|
|
|
6287
6129
|
var _addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = function() {
|
|
6288
|
-
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["
|
|
6130
|
+
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["jb"]).apply(null, arguments);
|
|
6289
6131
|
};
|
|
6290
6132
|
|
|
6291
6133
|
var _addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = function() {
|
|
6292
|
-
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["
|
|
6134
|
+
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["kb"]).apply(null, arguments);
|
|
6293
6135
|
};
|
|
6294
6136
|
|
|
6295
6137
|
var _addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = function() {
|
|
6296
|
-
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["
|
|
6138
|
+
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["lb"]).apply(null, arguments);
|
|
6297
6139
|
};
|
|
6298
6140
|
|
|
6299
6141
|
var _addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = function() {
|
|
6300
|
-
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["
|
|
6142
|
+
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["mb"]).apply(null, arguments);
|
|
6301
6143
|
};
|
|
6302
6144
|
|
|
6303
6145
|
var _addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = function() {
|
|
6304
|
-
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["
|
|
6146
|
+
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["nb"]).apply(null, arguments);
|
|
6305
6147
|
};
|
|
6306
6148
|
|
|
6307
6149
|
var _addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = function() {
|
|
6308
|
-
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["
|
|
6150
|
+
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["ob"]).apply(null, arguments);
|
|
6309
6151
|
};
|
|
6310
6152
|
|
|
6311
6153
|
var _attachBoolListener = Module["_attachBoolListener"] = function() {
|
|
6312
|
-
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["
|
|
6154
|
+
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["pb"]).apply(null, arguments);
|
|
6313
6155
|
};
|
|
6314
6156
|
|
|
6315
6157
|
var _attachBoolVectorListener = Module["_attachBoolVectorListener"] = function() {
|
|
6316
|
-
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["
|
|
6158
|
+
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["qb"]).apply(null, arguments);
|
|
6317
6159
|
};
|
|
6318
6160
|
|
|
6319
6161
|
var _attachDoubleListener = Module["_attachDoubleListener"] = function() {
|
|
6320
|
-
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["
|
|
6162
|
+
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["rb"]).apply(null, arguments);
|
|
6321
6163
|
};
|
|
6322
6164
|
|
|
6323
6165
|
var _attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = function() {
|
|
6324
|
-
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["
|
|
6166
|
+
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["sb"]).apply(null, arguments);
|
|
6325
6167
|
};
|
|
6326
6168
|
|
|
6327
6169
|
var _attachFloatListener = Module["_attachFloatListener"] = function() {
|
|
6328
|
-
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["
|
|
6170
|
+
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["tb"]).apply(null, arguments);
|
|
6329
6171
|
};
|
|
6330
6172
|
|
|
6331
6173
|
var _attachFloatVectorListener = Module["_attachFloatVectorListener"] = function() {
|
|
6332
|
-
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["
|
|
6174
|
+
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["ub"]).apply(null, arguments);
|
|
6333
6175
|
};
|
|
6334
6176
|
|
|
6335
6177
|
var _attachIntListener = Module["_attachIntListener"] = function() {
|
|
6336
|
-
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["
|
|
6178
|
+
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["vb"]).apply(null, arguments);
|
|
6337
6179
|
};
|
|
6338
6180
|
|
|
6339
6181
|
var _attachIntVectorListener = Module["_attachIntVectorListener"] = function() {
|
|
6340
|
-
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["
|
|
6182
|
+
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["wb"]).apply(null, arguments);
|
|
6341
6183
|
};
|
|
6342
6184
|
|
|
6343
6185
|
var _attachStringListener = Module["_attachStringListener"] = function() {
|
|
6344
|
-
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["
|
|
6186
|
+
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["xb"]).apply(null, arguments);
|
|
6345
6187
|
};
|
|
6346
6188
|
|
|
6347
6189
|
var _attachStringVectorListener = Module["_attachStringVectorListener"] = function() {
|
|
6348
|
-
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["
|
|
6190
|
+
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["yb"]).apply(null, arguments);
|
|
6349
6191
|
};
|
|
6350
6192
|
|
|
6351
6193
|
var _attachProtoListener = Module["_attachProtoListener"] = function() {
|
|
6352
|
-
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["
|
|
6194
|
+
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["zb"]).apply(null, arguments);
|
|
6353
6195
|
};
|
|
6354
6196
|
|
|
6355
6197
|
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);
|
|
6198
|
+
return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["Ab"]).apply(null, arguments);
|
|
6361
6199
|
};
|
|
6362
6200
|
|
|
6363
6201
|
var _clearSubgraphs = Module["_clearSubgraphs"] = function() {
|
|
6364
|
-
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["
|
|
6202
|
+
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["Bb"]).apply(null, arguments);
|
|
6365
6203
|
};
|
|
6366
6204
|
|
|
6367
6205
|
var _pushBinarySubgraph = Module["_pushBinarySubgraph"] = function() {
|
|
6368
|
-
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["
|
|
6206
|
+
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["Cb"]).apply(null, arguments);
|
|
6369
6207
|
};
|
|
6370
6208
|
|
|
6371
6209
|
var _pushTextSubgraph = Module["_pushTextSubgraph"] = function() {
|
|
6372
|
-
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["
|
|
6210
|
+
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["Db"]).apply(null, arguments);
|
|
6373
6211
|
};
|
|
6374
6212
|
|
|
6375
6213
|
var _changeBinaryGraph = Module["_changeBinaryGraph"] = function() {
|
|
6376
|
-
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["
|
|
6214
|
+
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["Eb"]).apply(null, arguments);
|
|
6377
6215
|
};
|
|
6378
6216
|
|
|
6379
6217
|
var _changeTextGraph = Module["_changeTextGraph"] = function() {
|
|
6380
|
-
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["
|
|
6218
|
+
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["Fb"]).apply(null, arguments);
|
|
6381
6219
|
};
|
|
6382
6220
|
|
|
6383
6221
|
var _processGl = Module["_processGl"] = function() {
|
|
6384
|
-
return (_processGl = Module["_processGl"] = Module["asm"]["
|
|
6222
|
+
return (_processGl = Module["_processGl"] = Module["asm"]["Gb"]).apply(null, arguments);
|
|
6385
6223
|
};
|
|
6386
6224
|
|
|
6387
6225
|
var _process = Module["_process"] = function() {
|
|
6388
|
-
return (_process = Module["_process"] = Module["asm"]["
|
|
6226
|
+
return (_process = Module["_process"] = Module["asm"]["Hb"]).apply(null, arguments);
|
|
6389
6227
|
};
|
|
6390
6228
|
|
|
6391
6229
|
var _bindTextureToCanvas = Module["_bindTextureToCanvas"] = function() {
|
|
6392
|
-
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["
|
|
6230
|
+
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["Ib"]).apply(null, arguments);
|
|
6393
6231
|
};
|
|
6394
6232
|
|
|
6395
6233
|
var _requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = function() {
|
|
6396
|
-
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["
|
|
6234
|
+
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["Jb"]).apply(null, arguments);
|
|
6397
6235
|
};
|
|
6398
6236
|
|
|
6399
6237
|
var _waitUntilIdle = Module["_waitUntilIdle"] = function() {
|
|
6400
|
-
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["
|
|
6238
|
+
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["Kb"]).apply(null, arguments);
|
|
6401
6239
|
};
|
|
6402
6240
|
|
|
6403
6241
|
var _setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = function() {
|
|
6404
|
-
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["
|
|
6242
|
+
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["Lb"]).apply(null, arguments);
|
|
6405
6243
|
};
|
|
6406
6244
|
|
|
6407
6245
|
var _emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = function() {
|
|
6408
|
-
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["
|
|
6246
|
+
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["Mb"]).apply(null, arguments);
|
|
6409
6247
|
};
|
|
6410
6248
|
|
|
6411
6249
|
var stackSave = Module["stackSave"] = function() {
|
|
6412
|
-
return (stackSave = Module["stackSave"] = Module["asm"]["
|
|
6250
|
+
return (stackSave = Module["stackSave"] = Module["asm"]["Nb"]).apply(null, arguments);
|
|
6413
6251
|
};
|
|
6414
6252
|
|
|
6415
6253
|
var stackRestore = Module["stackRestore"] = function() {
|
|
6416
|
-
return (stackRestore = Module["stackRestore"] = Module["asm"]["
|
|
6254
|
+
return (stackRestore = Module["stackRestore"] = Module["asm"]["Ob"]).apply(null, arguments);
|
|
6417
6255
|
};
|
|
6418
6256
|
|
|
6419
6257
|
var stackAlloc = Module["stackAlloc"] = function() {
|
|
6420
|
-
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["
|
|
6258
|
+
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["Pb"]).apply(null, arguments);
|
|
6421
6259
|
};
|
|
6422
6260
|
|
|
6423
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
6261
|
+
var ___start_em_js = Module["___start_em_js"] = 536316;
|
|
6424
6262
|
|
|
6425
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
6263
|
+
var ___stop_em_js = Module["___stop_em_js"] = 539722;
|
|
6426
6264
|
|
|
6427
6265
|
Module["addRunDependency"] = addRunDependency;
|
|
6428
6266
|
|