@mediapipe/tasks-vision 0.1.0-alpha-4 → 0.1.0-alpha-5
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 +56 -23
- package/package.json +1 -1
- package/vision.d.ts +339 -8
- package/vision_bundle.js +1 -1
- package/wasm/vision_wasm_internal.js +441 -307
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_nosimd_internal.js +431 -307
- package/wasm/vision_wasm_nosimd_internal.wasm +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Build
|
|
1
|
+
// Build 518889570
|
|
2
2
|
|
|
3
3
|
var ModuleFactory = (() => {
|
|
4
4
|
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
|
|
@@ -466,10 +466,10 @@ function createWasm() {
|
|
|
466
466
|
function receiveInstance(instance, module) {
|
|
467
467
|
var exports = instance.exports;
|
|
468
468
|
Module["asm"] = exports;
|
|
469
|
-
wasmMemory = Module["asm"]["
|
|
469
|
+
wasmMemory = Module["asm"]["hd"];
|
|
470
470
|
updateGlobalBufferAndViews(wasmMemory.buffer);
|
|
471
|
-
wasmTable = Module["asm"]["
|
|
472
|
-
addOnInit(Module["asm"]["
|
|
471
|
+
wasmTable = Module["asm"]["jd"];
|
|
472
|
+
addOnInit(Module["asm"]["id"]);
|
|
473
473
|
removeRunDependency("wasm-instantiate");
|
|
474
474
|
}
|
|
475
475
|
addRunDependency("wasm-instantiate");
|
|
@@ -520,12 +520,12 @@ var tempDouble;
|
|
|
520
520
|
var tempI64;
|
|
521
521
|
|
|
522
522
|
var ASM_CONSTS = {
|
|
523
|
-
|
|
523
|
+
1108572: $0 => {
|
|
524
524
|
const canvas = Emval.toValue($0);
|
|
525
525
|
const context = canvas.getContext("webgpu");
|
|
526
526
|
return JsValStore.add(context.getCurrentTexture());
|
|
527
527
|
},
|
|
528
|
-
|
|
528
|
+
1108707: ($0, $1, $2, $3, $4) => {
|
|
529
529
|
const drawable = Emval.toValue($0);
|
|
530
530
|
const device = JsValStore.get($1);
|
|
531
531
|
const texture = JsValStore.get($2);
|
|
@@ -537,7 +537,7 @@ var ASM_CONSTS = {
|
|
|
537
537
|
texture: texture
|
|
538
538
|
}, [ width, height ]);
|
|
539
539
|
},
|
|
540
|
-
|
|
540
|
+
1108958: ($0, $1, $2, $3) => {
|
|
541
541
|
const sourceExtTex = Emval.toValue($0);
|
|
542
542
|
const device = JsValStore.get($1);
|
|
543
543
|
const sampler = JsValStore.get($2);
|
|
@@ -554,30 +554,30 @@ var ASM_CONSTS = {
|
|
|
554
554
|
});
|
|
555
555
|
return JsValStore.add(bindGroup);
|
|
556
556
|
},
|
|
557
|
-
|
|
557
|
+
1109306: ($0, $1) => {
|
|
558
558
|
const inputArray = Emval.toValue($0);
|
|
559
559
|
const output = Emval.toValue($1);
|
|
560
560
|
const ctx = output.getContext("2d");
|
|
561
561
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
562
562
|
ctx.putImageData(image_data, 0, 0);
|
|
563
563
|
},
|
|
564
|
-
|
|
564
|
+
1109530: ($0, $1) => {
|
|
565
565
|
const input = Emval.toValue($0);
|
|
566
566
|
const outputArray = Emval.toValue($1);
|
|
567
567
|
const ctx = input.getContext("2d");
|
|
568
568
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
569
569
|
outputArray.set(data.data);
|
|
570
570
|
},
|
|
571
|
-
|
|
571
|
+
1109734: ($0, $1) => {
|
|
572
572
|
const input = Emval.toValue($0);
|
|
573
573
|
const output = Emval.toValue($1);
|
|
574
574
|
const ctx = output.getContext("2d");
|
|
575
575
|
ctx.drawImage(input, 0, 0);
|
|
576
576
|
},
|
|
577
|
-
|
|
577
|
+
1109870: () => {
|
|
578
578
|
return !!Module["preinitializedWebGPUDevice"];
|
|
579
579
|
},
|
|
580
|
-
|
|
580
|
+
1109921: () => {
|
|
581
581
|
let init_once = true;
|
|
582
582
|
if (init_once) {
|
|
583
583
|
const cachedFindCanvasEventTarget = findCanvasEventTarget;
|
|
@@ -603,15 +603,15 @@ var ASM_CONSTS = {
|
|
|
603
603
|
init_once = false;
|
|
604
604
|
}
|
|
605
605
|
},
|
|
606
|
-
|
|
606
|
+
1110706: () => {
|
|
607
607
|
return typeof wasmOffsetConverter !== "undefined";
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
610
|
|
|
611
611
|
function JsWrapImageConverter() {
|
|
612
612
|
if (!Module._imageConverter) {
|
|
613
|
-
Module._imageConverter = (binaryPtr, binarySize, width, height, makeDeepCopy, outputType) => {
|
|
614
|
-
const imageData = new outputType(makeDeepCopy ? Module.HEAPU8.slice(binaryPtr, binaryPtr + binarySize).buffer : Module.HEAPU8.buffer, binaryPtr, width * height);
|
|
613
|
+
Module._imageConverter = (binaryPtr, binarySize, width, height, numChannels, makeDeepCopy, outputType) => {
|
|
614
|
+
const imageData = new outputType(makeDeepCopy ? Module.HEAPU8.slice(binaryPtr, binaryPtr + binarySize).buffer : Module.HEAPU8.buffer, binaryPtr, width * height * numChannels);
|
|
615
615
|
return {
|
|
616
616
|
data: imageData,
|
|
617
617
|
width: width,
|
|
@@ -621,73 +621,93 @@ function JsWrapImageConverter() {
|
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
function
|
|
625
|
-
const image = Module._imageConverter(binary_ptr, binary_size, width, height, make_deep_copy,
|
|
624
|
+
function JsOnUint8ClampedArrayImageListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) {
|
|
625
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Uint8ClampedArray);
|
|
626
626
|
Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms);
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
function
|
|
630
|
-
const image = Module._imageConverter(binary_ptr, binary_size, width, height, make_deep_copy, Float32Array);
|
|
629
|
+
function JsOnFloat32ArrayImageListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) {
|
|
630
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Float32Array);
|
|
631
631
|
Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms);
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
function
|
|
635
|
-
|
|
636
|
-
Module.
|
|
634
|
+
function JsOnWebGLTextureListener(output_stream_name, name, width, height, timestamp_ms) {
|
|
635
|
+
Module._wrapSimpleListenerOutput(output_stream_name, {
|
|
636
|
+
data: Module.GL.textures[name],
|
|
637
|
+
width: width,
|
|
638
|
+
height: height
|
|
639
|
+
}, timestamp_ms);
|
|
637
640
|
}
|
|
638
641
|
|
|
639
|
-
function
|
|
640
|
-
const image = Module._imageConverter(binary_ptr, binary_size, width, height, make_deep_copy,
|
|
641
|
-
Module._wrapSimpleListenerOutput(output_stream_name, image,
|
|
642
|
+
function JsOnUint8ClampedArrayImageVectorListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) {
|
|
643
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Uint8ClampedArray);
|
|
644
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, false, timestamp_ms);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
function JsOnFloat32ArrayImageVectorListener(output_stream_name, binary_ptr, binary_size, width, height, num_channels, make_deep_copy, timestamp_ms) {
|
|
648
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, num_channels, make_deep_copy, Float32Array);
|
|
649
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, false, timestamp_ms);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
function JsOnWebGLTextureVectorListener(output_stream_name, name, width, height, timestamp_ms) {
|
|
653
|
+
Module._wrapSimpleListenerOutput(output_stream_name, {
|
|
654
|
+
data: Module.GL.textures[name],
|
|
655
|
+
width: width,
|
|
656
|
+
height: height
|
|
657
|
+
}, false, timestamp_ms);
|
|
642
658
|
}
|
|
643
659
|
|
|
644
660
|
function JsOnEmptyPacketListener(output_stream_name, timestamp) {
|
|
645
661
|
Module._wrapEmptyPacketListenerOutput(output_stream_name, timestamp);
|
|
646
662
|
}
|
|
647
663
|
|
|
664
|
+
function JsOnVectorFinishedListener(output_stream_name, timestamp) {
|
|
665
|
+
Module._wrapSimpleListenerOutput(output_stream_name, undefined, true, timestamp);
|
|
666
|
+
}
|
|
667
|
+
|
|
648
668
|
function JsOnSimpleListenerBool(output_stream_name, out_data, timestamp) {
|
|
649
669
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
650
670
|
}
|
|
651
671
|
|
|
652
|
-
function JsOnVectorListenerBool(output_stream_name, out_data,
|
|
653
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data,
|
|
672
|
+
function JsOnVectorListenerBool(output_stream_name, out_data, timestamp) {
|
|
673
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
654
674
|
}
|
|
655
675
|
|
|
656
676
|
function JsOnSimpleListenerInt(output_stream_name, out_data, timestamp) {
|
|
657
677
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
658
678
|
}
|
|
659
679
|
|
|
660
|
-
function JsOnVectorListenerInt(output_stream_name, out_data,
|
|
661
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data,
|
|
680
|
+
function JsOnVectorListenerInt(output_stream_name, out_data, timestamp) {
|
|
681
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
662
682
|
}
|
|
663
683
|
|
|
664
684
|
function JsOnSimpleListenerDouble(output_stream_name, out_data, timestamp) {
|
|
665
685
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
666
686
|
}
|
|
667
687
|
|
|
668
|
-
function JsOnVectorListenerDouble(output_stream_name, out_data,
|
|
669
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data,
|
|
688
|
+
function JsOnVectorListenerDouble(output_stream_name, out_data, timestamp) {
|
|
689
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
670
690
|
}
|
|
671
691
|
|
|
672
692
|
function JsOnSimpleListenerFloat(output_stream_name, out_data, timestamp) {
|
|
673
693
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
674
694
|
}
|
|
675
695
|
|
|
676
|
-
function JsOnVectorListenerFloat(output_stream_name, out_data,
|
|
677
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data,
|
|
696
|
+
function JsOnVectorListenerFloat(output_stream_name, out_data, timestamp) {
|
|
697
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
678
698
|
}
|
|
679
699
|
|
|
680
700
|
function JsOnSimpleListenerString(output_stream_name, out_data, timestamp) {
|
|
681
701
|
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), timestamp);
|
|
682
702
|
}
|
|
683
703
|
|
|
684
|
-
function JsOnVectorListenerString(output_stream_name, out_data,
|
|
685
|
-
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data),
|
|
704
|
+
function JsOnVectorListenerString(output_stream_name, out_data, timestamp) {
|
|
705
|
+
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), false, timestamp);
|
|
686
706
|
}
|
|
687
707
|
|
|
688
|
-
function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy,
|
|
708
|
+
function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy, timestamp) {
|
|
689
709
|
const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(proto_ptr, proto_ptr + proto_size) : new Uint8Array(Module.HEAPU8.buffer, proto_ptr, proto_size);
|
|
690
|
-
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray,
|
|
710
|
+
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, false, timestamp);
|
|
691
711
|
}
|
|
692
712
|
|
|
693
713
|
function JsWrapSimpleListeners() {
|
|
@@ -728,10 +748,15 @@ function mediapipe_import_external_texture(device_handle, source_handle) {
|
|
|
728
748
|
}
|
|
729
749
|
|
|
730
750
|
function mediapipe_create_utility_canvas2d() {
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
751
|
+
let canvas;
|
|
752
|
+
if (typeof OffscreenCanvas !== "undefined") {
|
|
753
|
+
canvas = new OffscreenCanvas(0, 0);
|
|
754
|
+
} else {
|
|
755
|
+
canvas = document.createElement("canvas");
|
|
756
|
+
canvas.style.display = "none";
|
|
757
|
+
canvas.id = "canvas_2d";
|
|
758
|
+
document.body.appendChild(canvas);
|
|
759
|
+
}
|
|
735
760
|
return Emval.toHandle(canvas);
|
|
736
761
|
}
|
|
737
762
|
|
|
@@ -5650,6 +5675,10 @@ var WebGPU = {
|
|
|
5650
5675
|
}
|
|
5651
5676
|
return constants;
|
|
5652
5677
|
},
|
|
5678
|
+
makePipelineLayout: function(layoutPtr) {
|
|
5679
|
+
if (!layoutPtr) return "auto";
|
|
5680
|
+
return WebGPU.mgrPipelineLayout.get(layoutPtr);
|
|
5681
|
+
},
|
|
5653
5682
|
makeProgrammableStageDescriptor: function(ptr) {
|
|
5654
5683
|
if (!ptr) return undefined;
|
|
5655
5684
|
return {
|
|
@@ -5977,6 +6006,10 @@ function _glBufferData(target, size, data, usage) {
|
|
|
5977
6006
|
}
|
|
5978
6007
|
}
|
|
5979
6008
|
|
|
6009
|
+
function _glClear(x0) {
|
|
6010
|
+
GLctx["clear"](x0);
|
|
6011
|
+
}
|
|
6012
|
+
|
|
5980
6013
|
function convertI32PairToI53(lo, hi) {
|
|
5981
6014
|
return (lo >>> 0) + hi * 4294967296;
|
|
5982
6015
|
}
|
|
@@ -6132,6 +6165,10 @@ function _glFinish() {
|
|
|
6132
6165
|
GLctx["finish"]();
|
|
6133
6166
|
}
|
|
6134
6167
|
|
|
6168
|
+
function _glFlush() {
|
|
6169
|
+
GLctx["flush"]();
|
|
6170
|
+
}
|
|
6171
|
+
|
|
6135
6172
|
function _glFramebufferTexture2D(target, attachment, textarget, texture, level) {
|
|
6136
6173
|
GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level);
|
|
6137
6174
|
}
|
|
@@ -6335,6 +6372,72 @@ function _glGetIntegerv(name_, p) {
|
|
|
6335
6372
|
emscriptenWebGLGet(name_, p, 0);
|
|
6336
6373
|
}
|
|
6337
6374
|
|
|
6375
|
+
function _glGetProgramiv(program, pname, p) {
|
|
6376
|
+
if (!p) {
|
|
6377
|
+
GL.recordError(1281);
|
|
6378
|
+
return;
|
|
6379
|
+
}
|
|
6380
|
+
if (program >= GL.counter) {
|
|
6381
|
+
GL.recordError(1281);
|
|
6382
|
+
return;
|
|
6383
|
+
}
|
|
6384
|
+
program = GL.programs[program];
|
|
6385
|
+
if (pname == 35716) {
|
|
6386
|
+
var log = GLctx.getProgramInfoLog(program);
|
|
6387
|
+
if (log === null) log = "(unknown error)";
|
|
6388
|
+
HEAP32[p >> 2] = log.length + 1;
|
|
6389
|
+
} else if (pname == 35719) {
|
|
6390
|
+
if (!program.maxUniformLength) {
|
|
6391
|
+
for (var i = 0; i < GLctx.getProgramParameter(program, 35718); ++i) {
|
|
6392
|
+
program.maxUniformLength = Math.max(program.maxUniformLength, GLctx.getActiveUniform(program, i).name.length + 1);
|
|
6393
|
+
}
|
|
6394
|
+
}
|
|
6395
|
+
HEAP32[p >> 2] = program.maxUniformLength;
|
|
6396
|
+
} else if (pname == 35722) {
|
|
6397
|
+
if (!program.maxAttributeLength) {
|
|
6398
|
+
for (var i = 0; i < GLctx.getProgramParameter(program, 35721); ++i) {
|
|
6399
|
+
program.maxAttributeLength = Math.max(program.maxAttributeLength, GLctx.getActiveAttrib(program, i).name.length + 1);
|
|
6400
|
+
}
|
|
6401
|
+
}
|
|
6402
|
+
HEAP32[p >> 2] = program.maxAttributeLength;
|
|
6403
|
+
} else if (pname == 35381) {
|
|
6404
|
+
if (!program.maxUniformBlockNameLength) {
|
|
6405
|
+
for (var i = 0; i < GLctx.getProgramParameter(program, 35382); ++i) {
|
|
6406
|
+
program.maxUniformBlockNameLength = Math.max(program.maxUniformBlockNameLength, GLctx.getActiveUniformBlockName(program, i).length + 1);
|
|
6407
|
+
}
|
|
6408
|
+
}
|
|
6409
|
+
HEAP32[p >> 2] = program.maxUniformBlockNameLength;
|
|
6410
|
+
} else {
|
|
6411
|
+
HEAP32[p >> 2] = GLctx.getProgramParameter(program, pname);
|
|
6412
|
+
}
|
|
6413
|
+
}
|
|
6414
|
+
|
|
6415
|
+
function _glGetShaderInfoLog(shader, maxLength, length, infoLog) {
|
|
6416
|
+
var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
|
|
6417
|
+
if (log === null) log = "(unknown error)";
|
|
6418
|
+
var numBytesWrittenExclNull = maxLength > 0 && infoLog ? stringToUTF8(log, infoLog, maxLength) : 0;
|
|
6419
|
+
if (length) HEAP32[length >> 2] = numBytesWrittenExclNull;
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6422
|
+
function _glGetShaderiv(shader, pname, p) {
|
|
6423
|
+
if (!p) {
|
|
6424
|
+
GL.recordError(1281);
|
|
6425
|
+
return;
|
|
6426
|
+
}
|
|
6427
|
+
if (pname == 35716) {
|
|
6428
|
+
var log = GLctx.getShaderInfoLog(GL.shaders[shader]);
|
|
6429
|
+
if (log === null) log = "(unknown error)";
|
|
6430
|
+
var logLength = log ? log.length + 1 : 0;
|
|
6431
|
+
HEAP32[p >> 2] = logLength;
|
|
6432
|
+
} else if (pname == 35720) {
|
|
6433
|
+
var source = GLctx.getShaderSource(GL.shaders[shader]);
|
|
6434
|
+
var sourceLength = source ? source.length + 1 : 0;
|
|
6435
|
+
HEAP32[p >> 2] = sourceLength;
|
|
6436
|
+
} else {
|
|
6437
|
+
HEAP32[p >> 2] = GLctx.getShaderParameter(GL.shaders[shader], pname);
|
|
6438
|
+
}
|
|
6439
|
+
}
|
|
6440
|
+
|
|
6338
6441
|
function stringToNewUTF8(jsString) {
|
|
6339
6442
|
var length = lengthBytesUTF8(jsString) + 1;
|
|
6340
6443
|
var cString = _malloc(length);
|
|
@@ -6551,6 +6654,10 @@ function _glTexImage2D(target, level, internalFormat, width, height, border, for
|
|
|
6551
6654
|
GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixels ? emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat) : null);
|
|
6552
6655
|
}
|
|
6553
6656
|
|
|
6657
|
+
function _glTexParameterf(x0, x1, x2) {
|
|
6658
|
+
GLctx["texParameterf"](x0, x1, x2);
|
|
6659
|
+
}
|
|
6660
|
+
|
|
6554
6661
|
function _glTexParameterfv(target, pname, params) {
|
|
6555
6662
|
var param = HEAPF32[params >> 2];
|
|
6556
6663
|
GLctx.texParameterf(target, pname, param);
|
|
@@ -6617,6 +6724,10 @@ function _glUniform1i(location, v0) {
|
|
|
6617
6724
|
GLctx.uniform1i(webglGetUniformLocation(location), v0);
|
|
6618
6725
|
}
|
|
6619
6726
|
|
|
6727
|
+
function _glUniform2f(location, v0, v1) {
|
|
6728
|
+
GLctx.uniform2f(webglGetUniformLocation(location), v0, v1);
|
|
6729
|
+
}
|
|
6730
|
+
|
|
6620
6731
|
var miniTempWebGLFloatBuffers = [];
|
|
6621
6732
|
|
|
6622
6733
|
function _glUniform2fv(location, count, value) {
|
|
@@ -6636,6 +6747,10 @@ function _glUniform2fv(location, count, value) {
|
|
|
6636
6747
|
GLctx.uniform2fv(webglGetUniformLocation(location), view);
|
|
6637
6748
|
}
|
|
6638
6749
|
|
|
6750
|
+
function _glUniform3f(location, v0, v1, v2) {
|
|
6751
|
+
GLctx.uniform3f(webglGetUniformLocation(location), v0, v1, v2);
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6639
6754
|
function _glUniform4fv(location, count, value) {
|
|
6640
6755
|
if (GL.currentContext.version >= 2) {
|
|
6641
6756
|
count && GLctx.uniform4fv(webglGetUniformLocation(location), HEAPF32, value >> 2, count * 4);
|
|
@@ -7350,7 +7465,7 @@ function _wgpuDeviceCreateCommandEncoder(deviceId, descriptor) {
|
|
|
7350
7465
|
function _wgpuDeviceCreateComputePipeline(deviceId, descriptor) {
|
|
7351
7466
|
var desc = {
|
|
7352
7467
|
"label": undefined,
|
|
7353
|
-
"layout": WebGPU.
|
|
7468
|
+
"layout": WebGPU.makePipelineLayout(HEAPU32[descriptor + 8 >> 2]),
|
|
7354
7469
|
"compute": WebGPU.makeProgrammableStageDescriptor(descriptor + 12)
|
|
7355
7470
|
};
|
|
7356
7471
|
var labelPtr = HEAPU32[descriptor + 4 >> 2];
|
|
@@ -7481,7 +7596,7 @@ function _wgpuDeviceCreateRenderPipeline(deviceId, descriptor) {
|
|
|
7481
7596
|
}
|
|
7482
7597
|
var desc = {
|
|
7483
7598
|
"label": undefined,
|
|
7484
|
-
"layout": WebGPU.
|
|
7599
|
+
"layout": WebGPU.makePipelineLayout(HEAPU32[descriptor + 8 >> 2]),
|
|
7485
7600
|
"vertex": makeVertexState(descriptor + 12),
|
|
7486
7601
|
"primitive": makePrimitiveState(descriptor + 40),
|
|
7487
7602
|
"depthStencil": makeDepthStencilState(HEAPU32[descriptor + 60 >> 2]),
|
|
@@ -7884,437 +7999,456 @@ for (var i = 0; i < 288; ++i) {
|
|
|
7884
7999
|
}
|
|
7885
8000
|
|
|
7886
8001
|
var asmLibraryArg = {
|
|
7887
|
-
"
|
|
7888
|
-
"
|
|
7889
|
-
"
|
|
7890
|
-
"
|
|
7891
|
-
"
|
|
7892
|
-
"
|
|
7893
|
-
"
|
|
7894
|
-
"
|
|
7895
|
-
"
|
|
7896
|
-
"
|
|
7897
|
-
"
|
|
7898
|
-
"
|
|
7899
|
-
"
|
|
7900
|
-
"
|
|
7901
|
-
"
|
|
7902
|
-
"
|
|
7903
|
-
"
|
|
7904
|
-
"
|
|
7905
|
-
"
|
|
7906
|
-
"
|
|
7907
|
-
"
|
|
7908
|
-
"
|
|
7909
|
-
"
|
|
7910
|
-
"
|
|
7911
|
-
"
|
|
7912
|
-
"
|
|
7913
|
-
"
|
|
7914
|
-
"
|
|
7915
|
-
"
|
|
7916
|
-
"
|
|
7917
|
-
"
|
|
7918
|
-
"
|
|
7919
|
-
"
|
|
7920
|
-
"
|
|
7921
|
-
"
|
|
7922
|
-
"
|
|
7923
|
-
"
|
|
7924
|
-
"
|
|
7925
|
-
"
|
|
7926
|
-
"
|
|
7927
|
-
"
|
|
7928
|
-
"
|
|
7929
|
-
"
|
|
7930
|
-
"
|
|
7931
|
-
"
|
|
7932
|
-
"
|
|
7933
|
-
"
|
|
7934
|
-
"
|
|
7935
|
-
"
|
|
7936
|
-
"
|
|
7937
|
-
"
|
|
7938
|
-
"
|
|
7939
|
-
"
|
|
7940
|
-
"
|
|
7941
|
-
"
|
|
7942
|
-
"
|
|
7943
|
-
"
|
|
7944
|
-
"
|
|
7945
|
-
"
|
|
7946
|
-
"
|
|
8002
|
+
"gd": HaveOffsetConverter,
|
|
8003
|
+
"fd": JsOnEmptyPacketListener,
|
|
8004
|
+
"ed": JsOnFloat32ArrayImageListener,
|
|
8005
|
+
"dd": JsOnFloat32ArrayImageVectorListener,
|
|
8006
|
+
"Ka": JsOnSimpleListenerBinaryArray,
|
|
8007
|
+
"cd": JsOnSimpleListenerBool,
|
|
8008
|
+
"bd": JsOnSimpleListenerDouble,
|
|
8009
|
+
"ad": JsOnSimpleListenerFloat,
|
|
8010
|
+
"$c": JsOnSimpleListenerInt,
|
|
8011
|
+
"_c": JsOnSimpleListenerString,
|
|
8012
|
+
"Zc": JsOnUint8ClampedArrayImageListener,
|
|
8013
|
+
"Yc": JsOnUint8ClampedArrayImageVectorListener,
|
|
8014
|
+
"J": JsOnVectorFinishedListener,
|
|
8015
|
+
"Xc": JsOnVectorListenerBool,
|
|
8016
|
+
"Wc": JsOnVectorListenerDouble,
|
|
8017
|
+
"Vc": JsOnVectorListenerFloat,
|
|
8018
|
+
"Uc": JsOnVectorListenerInt,
|
|
8019
|
+
"Tc": JsOnVectorListenerProto,
|
|
8020
|
+
"Sc": JsOnVectorListenerString,
|
|
8021
|
+
"Rc": JsOnWebGLTextureListener,
|
|
8022
|
+
"Qc": JsOnWebGLTextureVectorListener,
|
|
8023
|
+
"F": JsWrapErrorListener,
|
|
8024
|
+
"Ja": JsWrapImageConverter,
|
|
8025
|
+
"s": JsWrapSimpleListeners,
|
|
8026
|
+
"h": ___cxa_allocate_exception,
|
|
8027
|
+
"g": ___cxa_throw,
|
|
8028
|
+
"Ia": ___syscall_fcntl64,
|
|
8029
|
+
"Pc": ___syscall_fstat64,
|
|
8030
|
+
"Oc": ___syscall_ioctl,
|
|
8031
|
+
"Nc": ___syscall_lstat64,
|
|
8032
|
+
"Mc": ___syscall_newfstatat,
|
|
8033
|
+
"Ha": ___syscall_openat,
|
|
8034
|
+
"Lc": ___syscall_stat64,
|
|
8035
|
+
"Hc": __dlinit,
|
|
8036
|
+
"Gc": __dlopen_js,
|
|
8037
|
+
"Fc": __dlsym_js,
|
|
8038
|
+
"Qb": __embind_register_bigint,
|
|
8039
|
+
"Ec": __embind_register_bool,
|
|
8040
|
+
"Dc": __embind_register_emval,
|
|
8041
|
+
"Fa": __embind_register_float,
|
|
8042
|
+
"C": __embind_register_integer,
|
|
8043
|
+
"o": __embind_register_memory_view,
|
|
8044
|
+
"Ea": __embind_register_std_string,
|
|
8045
|
+
"ia": __embind_register_std_wstring,
|
|
8046
|
+
"Cc": __embind_register_void,
|
|
8047
|
+
"Bc": __emscripten_get_now_is_monotonic,
|
|
8048
|
+
"ha": __emval_as,
|
|
8049
|
+
"k": __emval_decref,
|
|
8050
|
+
"ga": __emval_get_global,
|
|
8051
|
+
"Da": __emval_get_property,
|
|
8052
|
+
"Ca": __emval_incref,
|
|
8053
|
+
"fa": __emval_instanceof,
|
|
8054
|
+
"ba": __emval_new_cstring,
|
|
8055
|
+
"ea": __emval_run_destructors,
|
|
8056
|
+
"Ba": __emval_set_property,
|
|
8057
|
+
"aa": __emval_take_value,
|
|
8058
|
+
"Ac": __emval_typeof,
|
|
8059
|
+
"zc": __gmtime_js,
|
|
8060
|
+
"yc": __localtime_js,
|
|
8061
|
+
"xc": __mktime_js,
|
|
8062
|
+
"wc": __mmap_js,
|
|
8063
|
+
"vc": __munmap_js,
|
|
8064
|
+
"uc": __tzset_js,
|
|
7947
8065
|
"a": _abort,
|
|
7948
|
-
"
|
|
7949
|
-
"
|
|
7950
|
-
"
|
|
7951
|
-
"
|
|
7952
|
-
"
|
|
7953
|
-
"
|
|
7954
|
-
"
|
|
7955
|
-
"
|
|
7956
|
-
"
|
|
7957
|
-
"
|
|
7958
|
-
"
|
|
7959
|
-
"
|
|
7960
|
-
"
|
|
7961
|
-
"
|
|
7962
|
-
"
|
|
7963
|
-
"
|
|
7964
|
-
"
|
|
7965
|
-
"
|
|
7966
|
-
"
|
|
7967
|
-
"
|
|
7968
|
-
"
|
|
7969
|
-
"
|
|
7970
|
-
"
|
|
7971
|
-
"
|
|
7972
|
-
"
|
|
7973
|
-
"
|
|
7974
|
-
"
|
|
7975
|
-
"
|
|
7976
|
-
"
|
|
7977
|
-
"
|
|
7978
|
-
"
|
|
7979
|
-
"
|
|
7980
|
-
"
|
|
7981
|
-
"
|
|
7982
|
-
"
|
|
7983
|
-
"
|
|
7984
|
-
"
|
|
8066
|
+
"E": _emscripten_asm_const_int,
|
|
8067
|
+
"tc": _emscripten_date_now,
|
|
8068
|
+
"sc": _emscripten_get_heap_max,
|
|
8069
|
+
"D": _emscripten_get_now,
|
|
8070
|
+
"rc": _emscripten_memcpy_big,
|
|
8071
|
+
"qc": _emscripten_pc_get_function,
|
|
8072
|
+
"pc": _emscripten_resize_heap,
|
|
8073
|
+
"oc": _emscripten_stack_snapshot,
|
|
8074
|
+
"nc": _emscripten_stack_unwind_buffer,
|
|
8075
|
+
"mc": _emscripten_webgl_create_context,
|
|
8076
|
+
"lc": _emscripten_webgl_destroy_context,
|
|
8077
|
+
"kc": _emscripten_webgl_get_context_attributes,
|
|
8078
|
+
"Aa": _emscripten_webgl_get_current_context,
|
|
8079
|
+
"jc": _emscripten_webgl_init_context_attributes,
|
|
8080
|
+
"ic": _emscripten_webgl_make_context_current,
|
|
8081
|
+
"hc": _emscripten_webgpu_export_bind_group_layout,
|
|
8082
|
+
"za": _emscripten_webgpu_export_device,
|
|
8083
|
+
"gc": _emscripten_webgpu_export_sampler,
|
|
8084
|
+
"fc": _emscripten_webgpu_export_texture,
|
|
8085
|
+
"I": _emscripten_webgpu_get_device,
|
|
8086
|
+
"ec": _emscripten_webgpu_import_bind_group,
|
|
8087
|
+
"dc": _emscripten_webgpu_import_texture,
|
|
8088
|
+
"U": _emscripten_webgpu_release_js_handle,
|
|
8089
|
+
"Kc": _environ_get,
|
|
8090
|
+
"Jc": _environ_sizes_get,
|
|
8091
|
+
"ya": _exit,
|
|
8092
|
+
"ka": _fd_close,
|
|
8093
|
+
"Ga": _fd_read,
|
|
8094
|
+
"Rb": _fd_seek,
|
|
8095
|
+
"ja": _fd_write,
|
|
8096
|
+
"cc": _getentropy,
|
|
8097
|
+
"d": _glActiveTexture,
|
|
8098
|
+
"$": _glAttachShader,
|
|
8099
|
+
"bc": _glBindAttribLocation,
|
|
8100
|
+
"f": _glBindBuffer,
|
|
8101
|
+
"ac": _glBindBufferBase,
|
|
8102
|
+
"u": _glBindFramebuffer,
|
|
7985
8103
|
"b": _glBindTexture,
|
|
7986
|
-
"
|
|
7987
|
-
"
|
|
7988
|
-
"
|
|
7989
|
-
"
|
|
7990
|
-
"
|
|
7991
|
-
"
|
|
7992
|
-
"
|
|
7993
|
-
"
|
|
7994
|
-
"P":
|
|
7995
|
-
"
|
|
7996
|
-
"
|
|
7997
|
-
"
|
|
7998
|
-
"
|
|
7999
|
-
"
|
|
8000
|
-
"
|
|
8001
|
-
"
|
|
8002
|
-
"
|
|
8003
|
-
"
|
|
8004
|
-
"
|
|
8005
|
-
"
|
|
8006
|
-
"
|
|
8007
|
-
"
|
|
8008
|
-
"
|
|
8009
|
-
"
|
|
8010
|
-
"
|
|
8011
|
-
"
|
|
8012
|
-
"
|
|
8013
|
-
"
|
|
8014
|
-
"
|
|
8015
|
-
"
|
|
8016
|
-
"
|
|
8017
|
-
"
|
|
8018
|
-
"
|
|
8019
|
-
"
|
|
8020
|
-
"
|
|
8021
|
-
"
|
|
8022
|
-
"
|
|
8023
|
-
"
|
|
8104
|
+
"v": _glBindVertexArray,
|
|
8105
|
+
"n": _glBufferData,
|
|
8106
|
+
"T": _glClear,
|
|
8107
|
+
"Pb": _glClientWaitSync,
|
|
8108
|
+
"xa": _glCompileShader,
|
|
8109
|
+
"wa": _glCreateProgram,
|
|
8110
|
+
"va": _glCreateShader,
|
|
8111
|
+
"B": _glDeleteBuffers,
|
|
8112
|
+
"P": _glDeleteFramebuffers,
|
|
8113
|
+
"q": _glDeleteProgram,
|
|
8114
|
+
"S": _glDeleteShader,
|
|
8115
|
+
"R": _glDeleteSync,
|
|
8116
|
+
"x": _glDeleteTextures,
|
|
8117
|
+
"O": _glDeleteVertexArrays,
|
|
8118
|
+
"N": _glDisable,
|
|
8119
|
+
"p": _glDisableVertexAttribArray,
|
|
8120
|
+
"t": _glDrawArrays,
|
|
8121
|
+
"ua": _glDrawBuffers,
|
|
8122
|
+
"m": _glEnableVertexAttribArray,
|
|
8123
|
+
"ta": _glFenceSync,
|
|
8124
|
+
"_": _glFinish,
|
|
8125
|
+
"H": _glFlush,
|
|
8126
|
+
"A": _glFramebufferTexture2D,
|
|
8127
|
+
"sa": _glFramebufferTextureLayer,
|
|
8128
|
+
"w": _glGenBuffers,
|
|
8129
|
+
"M": _glGenFramebuffers,
|
|
8130
|
+
"z": _glGenTextures,
|
|
8131
|
+
"L": _glGenVertexArrays,
|
|
8132
|
+
"ra": _glGetAttribLocation,
|
|
8133
|
+
"Z": _glGetError,
|
|
8134
|
+
"r": _glGetIntegerv,
|
|
8135
|
+
"$b": _glGetProgramiv,
|
|
8136
|
+
"_b": _glGetShaderInfoLog,
|
|
8137
|
+
"Zb": _glGetShaderiv,
|
|
8138
|
+
"G": _glGetString,
|
|
8139
|
+
"Yb": _glGetUniformBlockIndex,
|
|
8140
|
+
"e": _glGetUniformLocation,
|
|
8141
|
+
"qa": _glLinkProgram,
|
|
8142
|
+
"Y": _glPixelStorei,
|
|
8143
|
+
"da": _glReadPixels,
|
|
8144
|
+
"pa": _glShaderSource,
|
|
8145
|
+
"y": _glTexImage2D,
|
|
8146
|
+
"X": _glTexParameterf,
|
|
8147
|
+
"oa": _glTexParameterfv,
|
|
8024
8148
|
"c": _glTexParameteri,
|
|
8025
|
-
"
|
|
8026
|
-
"
|
|
8027
|
-
"
|
|
8028
|
-
"
|
|
8029
|
-
"
|
|
8030
|
-
"
|
|
8031
|
-
"
|
|
8032
|
-
"
|
|
8033
|
-
"
|
|
8034
|
-
"
|
|
8035
|
-
"
|
|
8036
|
-
"
|
|
8037
|
-
"
|
|
8038
|
-
"
|
|
8039
|
-
"
|
|
8040
|
-
"
|
|
8041
|
-
"
|
|
8042
|
-
"
|
|
8043
|
-
"
|
|
8044
|
-
"
|
|
8045
|
-
"
|
|
8046
|
-
"
|
|
8047
|
-
"
|
|
8048
|
-
"
|
|
8049
|
-
"
|
|
8050
|
-
"
|
|
8051
|
-
"
|
|
8052
|
-
"
|
|
8053
|
-
"
|
|
8054
|
-
"
|
|
8055
|
-
"
|
|
8056
|
-
"
|
|
8057
|
-
"
|
|
8058
|
-
"
|
|
8059
|
-
"
|
|
8060
|
-
"
|
|
8061
|
-
"
|
|
8062
|
-
"
|
|
8063
|
-
"
|
|
8064
|
-
"
|
|
8065
|
-
"
|
|
8066
|
-
"
|
|
8067
|
-
"
|
|
8068
|
-
"
|
|
8069
|
-
"
|
|
8070
|
-
"
|
|
8071
|
-
"
|
|
8072
|
-
"
|
|
8073
|
-
"
|
|
8074
|
-
"
|
|
8075
|
-
"
|
|
8076
|
-
"
|
|
8077
|
-
"
|
|
8078
|
-
"
|
|
8079
|
-
"
|
|
8080
|
-
"
|
|
8081
|
-
"
|
|
8082
|
-
"
|
|
8083
|
-
"
|
|
8084
|
-
"
|
|
8085
|
-
"
|
|
8086
|
-
"
|
|
8087
|
-
"
|
|
8088
|
-
"
|
|
8089
|
-
"
|
|
8090
|
-
"
|
|
8091
|
-
"
|
|
8092
|
-
"
|
|
8093
|
-
"
|
|
8094
|
-
"
|
|
8095
|
-
"
|
|
8096
|
-
"
|
|
8097
|
-
"
|
|
8098
|
-
"
|
|
8149
|
+
"ca": _glTexStorage2D,
|
|
8150
|
+
"Xb": _glTexStorage3D,
|
|
8151
|
+
"Q": _glTexSubImage2D,
|
|
8152
|
+
"Wb": _glTexSubImage3D,
|
|
8153
|
+
"W": _glUniform1f,
|
|
8154
|
+
"i": _glUniform1i,
|
|
8155
|
+
"Vb": _glUniform2f,
|
|
8156
|
+
"Ub": _glUniform2fv,
|
|
8157
|
+
"na": _glUniform3f,
|
|
8158
|
+
"ma": _glUniform4fv,
|
|
8159
|
+
"Tb": _glUniform4iv,
|
|
8160
|
+
"Sb": _glUniformBlockBinding,
|
|
8161
|
+
"la": _glUniformMatrix4fv,
|
|
8162
|
+
"j": _glUseProgram,
|
|
8163
|
+
"l": _glVertexAttribPointer,
|
|
8164
|
+
"K": _glViewport,
|
|
8165
|
+
"Nb": mediapipe_create_utility_canvas2d,
|
|
8166
|
+
"Mb": _mediapipe_find_canvas_event_target,
|
|
8167
|
+
"Lb": mediapipe_import_external_texture,
|
|
8168
|
+
"Kb": _mediapipe_webgl_tex_image_drawable,
|
|
8169
|
+
"Ic": _proc_exit,
|
|
8170
|
+
"V": _strftime,
|
|
8171
|
+
"Jb": _strftime_l,
|
|
8172
|
+
"Ib": _wgpuBindGroupLayoutRelease,
|
|
8173
|
+
"Hb": _wgpuBindGroupRelease,
|
|
8174
|
+
"Gb": _wgpuBufferGetMappedRange,
|
|
8175
|
+
"Fb": _wgpuBufferReference,
|
|
8176
|
+
"Eb": _wgpuBufferRelease,
|
|
8177
|
+
"Db": _wgpuBufferUnmap,
|
|
8178
|
+
"Cb": _wgpuCommandBufferRelease,
|
|
8179
|
+
"Bb": _wgpuCommandEncoderBeginComputePass,
|
|
8180
|
+
"Ab": _wgpuCommandEncoderBeginRenderPass,
|
|
8181
|
+
"zb": _wgpuCommandEncoderCopyBufferToTexture,
|
|
8182
|
+
"yb": _wgpuCommandEncoderCopyTextureToTexture,
|
|
8183
|
+
"xb": _wgpuCommandEncoderFinish,
|
|
8184
|
+
"wb": _wgpuCommandEncoderRelease,
|
|
8185
|
+
"vb": _wgpuComputePassEncoderDispatchWorkgroups,
|
|
8186
|
+
"ub": _wgpuComputePassEncoderEnd,
|
|
8187
|
+
"tb": _wgpuComputePassEncoderRelease,
|
|
8188
|
+
"sb": _wgpuComputePassEncoderSetBindGroup,
|
|
8189
|
+
"rb": _wgpuComputePassEncoderSetPipeline,
|
|
8190
|
+
"qb": _wgpuComputePipelineGetBindGroupLayout,
|
|
8191
|
+
"pb": _wgpuComputePipelineRelease,
|
|
8192
|
+
"ob": _wgpuDeviceCreateBindGroup,
|
|
8193
|
+
"nb": _wgpuDeviceCreateBuffer,
|
|
8194
|
+
"mb": _wgpuDeviceCreateCommandEncoder,
|
|
8195
|
+
"lb": _wgpuDeviceCreateComputePipeline,
|
|
8196
|
+
"kb": _wgpuDeviceCreateRenderPipeline,
|
|
8197
|
+
"jb": _wgpuDeviceCreateSampler,
|
|
8198
|
+
"ib": _wgpuDeviceCreateShaderModule,
|
|
8199
|
+
"hb": _wgpuDeviceCreateTexture,
|
|
8200
|
+
"gb": _wgpuDeviceGetQueue,
|
|
8201
|
+
"fb": _wgpuDeviceReference,
|
|
8202
|
+
"eb": _wgpuDeviceRelease,
|
|
8203
|
+
"db": _wgpuPipelineLayoutRelease,
|
|
8204
|
+
"cb": _wgpuQuerySetRelease,
|
|
8205
|
+
"bb": _wgpuQueueRelease,
|
|
8206
|
+
"ab": _wgpuQueueSubmit,
|
|
8207
|
+
"Ob": _wgpuQueueWriteBuffer,
|
|
8208
|
+
"$a": _wgpuRenderPassEncoderDraw,
|
|
8209
|
+
"_a": _wgpuRenderPassEncoderEnd,
|
|
8210
|
+
"Za": _wgpuRenderPassEncoderRelease,
|
|
8211
|
+
"Ya": _wgpuRenderPassEncoderSetBindGroup,
|
|
8212
|
+
"Xa": _wgpuRenderPassEncoderSetPipeline,
|
|
8213
|
+
"Wa": _wgpuRenderPipelineGetBindGroupLayout,
|
|
8214
|
+
"Va": _wgpuRenderPipelineRelease,
|
|
8215
|
+
"Ua": _wgpuSamplerReference,
|
|
8216
|
+
"Ta": _wgpuSamplerRelease,
|
|
8217
|
+
"Sa": _wgpuShaderModuleReference,
|
|
8218
|
+
"Ra": _wgpuShaderModuleRelease,
|
|
8219
|
+
"Qa": _wgpuTextureCreateView,
|
|
8220
|
+
"Pa": _wgpuTextureDestroy,
|
|
8221
|
+
"Oa": _wgpuTextureReference,
|
|
8222
|
+
"Na": _wgpuTextureRelease,
|
|
8223
|
+
"Ma": _wgpuTextureViewReference,
|
|
8224
|
+
"La": _wgpuTextureViewRelease
|
|
8099
8225
|
};
|
|
8100
8226
|
|
|
8101
8227
|
var asm = createWasm();
|
|
8102
8228
|
|
|
8103
8229
|
var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
|
|
8104
|
-
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["
|
|
8230
|
+
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["id"]).apply(null, arguments);
|
|
8105
8231
|
};
|
|
8106
8232
|
|
|
8107
8233
|
var _free = Module["_free"] = function() {
|
|
8108
|
-
return (_free = Module["_free"] = Module["asm"]["
|
|
8234
|
+
return (_free = Module["_free"] = Module["asm"]["kd"]).apply(null, arguments);
|
|
8109
8235
|
};
|
|
8110
8236
|
|
|
8111
8237
|
var _malloc = Module["_malloc"] = function() {
|
|
8112
|
-
return (_malloc = Module["_malloc"] = Module["asm"]["
|
|
8238
|
+
return (_malloc = Module["_malloc"] = Module["asm"]["ld"]).apply(null, arguments);
|
|
8113
8239
|
};
|
|
8114
8240
|
|
|
8115
8241
|
var _addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = function() {
|
|
8116
|
-
return (_addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = Module["asm"]["
|
|
8242
|
+
return (_addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = Module["asm"]["md"]).apply(null, arguments);
|
|
8117
8243
|
};
|
|
8118
8244
|
|
|
8119
8245
|
var _attachImageListener = Module["_attachImageListener"] = function() {
|
|
8120
|
-
return (_attachImageListener = Module["_attachImageListener"] = Module["asm"]["
|
|
8246
|
+
return (_attachImageListener = Module["_attachImageListener"] = Module["asm"]["nd"]).apply(null, arguments);
|
|
8121
8247
|
};
|
|
8122
8248
|
|
|
8123
8249
|
var _attachImageVectorListener = Module["_attachImageVectorListener"] = function() {
|
|
8124
|
-
return (_attachImageVectorListener = Module["_attachImageVectorListener"] = Module["asm"]["
|
|
8250
|
+
return (_attachImageVectorListener = Module["_attachImageVectorListener"] = Module["asm"]["od"]).apply(null, arguments);
|
|
8125
8251
|
};
|
|
8126
8252
|
|
|
8127
8253
|
var _registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = function() {
|
|
8128
|
-
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["
|
|
8254
|
+
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["pd"]).apply(null, arguments);
|
|
8129
8255
|
};
|
|
8130
8256
|
|
|
8131
8257
|
var _bindTextureToStream = Module["_bindTextureToStream"] = function() {
|
|
8132
|
-
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["
|
|
8258
|
+
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["qd"]).apply(null, arguments);
|
|
8133
8259
|
};
|
|
8134
8260
|
|
|
8135
8261
|
var _addBoundTextureToStream = Module["_addBoundTextureToStream"] = function() {
|
|
8136
|
-
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["
|
|
8262
|
+
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["rd"]).apply(null, arguments);
|
|
8137
8263
|
};
|
|
8138
8264
|
|
|
8139
8265
|
var _addDoubleToInputStream = Module["_addDoubleToInputStream"] = function() {
|
|
8140
|
-
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["
|
|
8266
|
+
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["sd"]).apply(null, arguments);
|
|
8141
8267
|
};
|
|
8142
8268
|
|
|
8143
8269
|
var _addFloatToInputStream = Module["_addFloatToInputStream"] = function() {
|
|
8144
|
-
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["
|
|
8270
|
+
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["td"]).apply(null, arguments);
|
|
8145
8271
|
};
|
|
8146
8272
|
|
|
8147
8273
|
var _addBoolToInputStream = Module["_addBoolToInputStream"] = function() {
|
|
8148
|
-
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["
|
|
8274
|
+
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["ud"]).apply(null, arguments);
|
|
8149
8275
|
};
|
|
8150
8276
|
|
|
8151
8277
|
var _addIntToInputStream = Module["_addIntToInputStream"] = function() {
|
|
8152
|
-
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["
|
|
8278
|
+
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["vd"]).apply(null, arguments);
|
|
8153
8279
|
};
|
|
8154
8280
|
|
|
8155
8281
|
var _addStringToInputStream = Module["_addStringToInputStream"] = function() {
|
|
8156
|
-
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["
|
|
8282
|
+
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["wd"]).apply(null, arguments);
|
|
8157
8283
|
};
|
|
8158
8284
|
|
|
8159
8285
|
var _addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = function() {
|
|
8160
|
-
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["
|
|
8286
|
+
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["xd"]).apply(null, arguments);
|
|
8161
8287
|
};
|
|
8162
8288
|
|
|
8163
8289
|
var _addProtoToInputStream = Module["_addProtoToInputStream"] = function() {
|
|
8164
|
-
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["
|
|
8290
|
+
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["yd"]).apply(null, arguments);
|
|
8291
|
+
};
|
|
8292
|
+
|
|
8293
|
+
var _addEmptyPacketToInputStream = Module["_addEmptyPacketToInputStream"] = function() {
|
|
8294
|
+
return (_addEmptyPacketToInputStream = Module["_addEmptyPacketToInputStream"] = Module["asm"]["zd"]).apply(null, arguments);
|
|
8165
8295
|
};
|
|
8166
8296
|
|
|
8167
8297
|
var _addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = function() {
|
|
8168
|
-
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["
|
|
8298
|
+
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["Ad"]).apply(null, arguments);
|
|
8169
8299
|
};
|
|
8170
8300
|
|
|
8171
8301
|
var _addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = function() {
|
|
8172
|
-
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["
|
|
8302
|
+
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["Bd"]).apply(null, arguments);
|
|
8173
8303
|
};
|
|
8174
8304
|
|
|
8175
8305
|
var _addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = function() {
|
|
8176
|
-
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["
|
|
8306
|
+
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["Cd"]).apply(null, arguments);
|
|
8177
8307
|
};
|
|
8178
8308
|
|
|
8179
8309
|
var _addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = function() {
|
|
8180
|
-
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["
|
|
8310
|
+
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["Dd"]).apply(null, arguments);
|
|
8181
8311
|
};
|
|
8182
8312
|
|
|
8183
8313
|
var _addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = function() {
|
|
8184
|
-
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["
|
|
8314
|
+
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["Ed"]).apply(null, arguments);
|
|
8185
8315
|
};
|
|
8186
8316
|
|
|
8187
8317
|
var _addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = function() {
|
|
8188
|
-
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["
|
|
8318
|
+
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["Fd"]).apply(null, arguments);
|
|
8189
8319
|
};
|
|
8190
8320
|
|
|
8191
8321
|
var _attachBoolListener = Module["_attachBoolListener"] = function() {
|
|
8192
|
-
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["
|
|
8322
|
+
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["Gd"]).apply(null, arguments);
|
|
8193
8323
|
};
|
|
8194
8324
|
|
|
8195
8325
|
var _attachBoolVectorListener = Module["_attachBoolVectorListener"] = function() {
|
|
8196
|
-
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["
|
|
8326
|
+
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["Hd"]).apply(null, arguments);
|
|
8197
8327
|
};
|
|
8198
8328
|
|
|
8199
8329
|
var _attachDoubleListener = Module["_attachDoubleListener"] = function() {
|
|
8200
|
-
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["
|
|
8330
|
+
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["Id"]).apply(null, arguments);
|
|
8201
8331
|
};
|
|
8202
8332
|
|
|
8203
8333
|
var _attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = function() {
|
|
8204
|
-
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["
|
|
8334
|
+
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["Jd"]).apply(null, arguments);
|
|
8205
8335
|
};
|
|
8206
8336
|
|
|
8207
8337
|
var _attachFloatListener = Module["_attachFloatListener"] = function() {
|
|
8208
|
-
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["
|
|
8338
|
+
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["Kd"]).apply(null, arguments);
|
|
8209
8339
|
};
|
|
8210
8340
|
|
|
8211
8341
|
var _attachFloatVectorListener = Module["_attachFloatVectorListener"] = function() {
|
|
8212
|
-
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["
|
|
8342
|
+
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["Ld"]).apply(null, arguments);
|
|
8213
8343
|
};
|
|
8214
8344
|
|
|
8215
8345
|
var _attachIntListener = Module["_attachIntListener"] = function() {
|
|
8216
|
-
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["
|
|
8346
|
+
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["Md"]).apply(null, arguments);
|
|
8217
8347
|
};
|
|
8218
8348
|
|
|
8219
8349
|
var _attachIntVectorListener = Module["_attachIntVectorListener"] = function() {
|
|
8220
|
-
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["
|
|
8350
|
+
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["Nd"]).apply(null, arguments);
|
|
8221
8351
|
};
|
|
8222
8352
|
|
|
8223
8353
|
var _attachStringListener = Module["_attachStringListener"] = function() {
|
|
8224
|
-
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["
|
|
8354
|
+
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["Od"]).apply(null, arguments);
|
|
8225
8355
|
};
|
|
8226
8356
|
|
|
8227
8357
|
var _attachStringVectorListener = Module["_attachStringVectorListener"] = function() {
|
|
8228
|
-
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["
|
|
8358
|
+
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["Pd"]).apply(null, arguments);
|
|
8229
8359
|
};
|
|
8230
8360
|
|
|
8231
8361
|
var _attachProtoListener = Module["_attachProtoListener"] = function() {
|
|
8232
|
-
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["
|
|
8362
|
+
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["Qd"]).apply(null, arguments);
|
|
8233
8363
|
};
|
|
8234
8364
|
|
|
8235
8365
|
var _attachProtoVectorListener = Module["_attachProtoVectorListener"] = function() {
|
|
8236
|
-
return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["
|
|
8366
|
+
return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["Rd"]).apply(null, arguments);
|
|
8367
|
+
};
|
|
8368
|
+
|
|
8369
|
+
var _getGraphConfig = Module["_getGraphConfig"] = function() {
|
|
8370
|
+
return (_getGraphConfig = Module["_getGraphConfig"] = Module["asm"]["Sd"]).apply(null, arguments);
|
|
8237
8371
|
};
|
|
8238
8372
|
|
|
8239
8373
|
var ___errno_location = Module["___errno_location"] = function() {
|
|
8240
|
-
return (___errno_location = Module["___errno_location"] = Module["asm"]["
|
|
8374
|
+
return (___errno_location = Module["___errno_location"] = Module["asm"]["Td"]).apply(null, arguments);
|
|
8241
8375
|
};
|
|
8242
8376
|
|
|
8243
8377
|
var _clearSubgraphs = Module["_clearSubgraphs"] = function() {
|
|
8244
|
-
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["
|
|
8378
|
+
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["Ud"]).apply(null, arguments);
|
|
8245
8379
|
};
|
|
8246
8380
|
|
|
8247
8381
|
var _pushBinarySubgraph = Module["_pushBinarySubgraph"] = function() {
|
|
8248
|
-
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["
|
|
8382
|
+
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["Vd"]).apply(null, arguments);
|
|
8249
8383
|
};
|
|
8250
8384
|
|
|
8251
8385
|
var _pushTextSubgraph = Module["_pushTextSubgraph"] = function() {
|
|
8252
|
-
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["
|
|
8386
|
+
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["Wd"]).apply(null, arguments);
|
|
8253
8387
|
};
|
|
8254
8388
|
|
|
8255
8389
|
var _changeBinaryGraph = Module["_changeBinaryGraph"] = function() {
|
|
8256
|
-
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["
|
|
8390
|
+
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["Xd"]).apply(null, arguments);
|
|
8257
8391
|
};
|
|
8258
8392
|
|
|
8259
8393
|
var _changeTextGraph = Module["_changeTextGraph"] = function() {
|
|
8260
|
-
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["
|
|
8394
|
+
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["Yd"]).apply(null, arguments);
|
|
8261
8395
|
};
|
|
8262
8396
|
|
|
8263
8397
|
var _processGl = Module["_processGl"] = function() {
|
|
8264
|
-
return (_processGl = Module["_processGl"] = Module["asm"]["
|
|
8398
|
+
return (_processGl = Module["_processGl"] = Module["asm"]["Zd"]).apply(null, arguments);
|
|
8265
8399
|
};
|
|
8266
8400
|
|
|
8267
8401
|
var _process = Module["_process"] = function() {
|
|
8268
|
-
return (_process = Module["_process"] = Module["asm"]["
|
|
8402
|
+
return (_process = Module["_process"] = Module["asm"]["_d"]).apply(null, arguments);
|
|
8269
8403
|
};
|
|
8270
8404
|
|
|
8271
8405
|
var _bindTextureToCanvas = Module["_bindTextureToCanvas"] = function() {
|
|
8272
|
-
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["
|
|
8406
|
+
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["$d"]).apply(null, arguments);
|
|
8273
8407
|
};
|
|
8274
8408
|
|
|
8275
8409
|
var _requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = function() {
|
|
8276
|
-
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["
|
|
8410
|
+
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["ae"]).apply(null, arguments);
|
|
8277
8411
|
};
|
|
8278
8412
|
|
|
8279
8413
|
var _waitUntilIdle = Module["_waitUntilIdle"] = function() {
|
|
8280
|
-
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["
|
|
8414
|
+
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["be"]).apply(null, arguments);
|
|
8281
8415
|
};
|
|
8282
8416
|
|
|
8283
8417
|
var _setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = function() {
|
|
8284
|
-
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["
|
|
8418
|
+
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["ce"]).apply(null, arguments);
|
|
8285
8419
|
};
|
|
8286
8420
|
|
|
8287
8421
|
var ___getTypeName = Module["___getTypeName"] = function() {
|
|
8288
|
-
return (___getTypeName = Module["___getTypeName"] = Module["asm"]["
|
|
8422
|
+
return (___getTypeName = Module["___getTypeName"] = Module["asm"]["de"]).apply(null, arguments);
|
|
8289
8423
|
};
|
|
8290
8424
|
|
|
8291
8425
|
var __embind_initialize_bindings = Module["__embind_initialize_bindings"] = function() {
|
|
8292
|
-
return (__embind_initialize_bindings = Module["__embind_initialize_bindings"] = Module["asm"]["
|
|
8426
|
+
return (__embind_initialize_bindings = Module["__embind_initialize_bindings"] = Module["asm"]["ee"]).apply(null, arguments);
|
|
8293
8427
|
};
|
|
8294
8428
|
|
|
8295
8429
|
var _emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = function() {
|
|
8296
|
-
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["
|
|
8430
|
+
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["fe"]).apply(null, arguments);
|
|
8297
8431
|
};
|
|
8298
8432
|
|
|
8299
8433
|
var stackSave = Module["stackSave"] = function() {
|
|
8300
|
-
return (stackSave = Module["stackSave"] = Module["asm"]["
|
|
8434
|
+
return (stackSave = Module["stackSave"] = Module["asm"]["ge"]).apply(null, arguments);
|
|
8301
8435
|
};
|
|
8302
8436
|
|
|
8303
8437
|
var stackRestore = Module["stackRestore"] = function() {
|
|
8304
|
-
return (stackRestore = Module["stackRestore"] = Module["asm"]["
|
|
8438
|
+
return (stackRestore = Module["stackRestore"] = Module["asm"]["he"]).apply(null, arguments);
|
|
8305
8439
|
};
|
|
8306
8440
|
|
|
8307
8441
|
var stackAlloc = Module["stackAlloc"] = function() {
|
|
8308
|
-
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["
|
|
8442
|
+
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["ie"]).apply(null, arguments);
|
|
8309
8443
|
};
|
|
8310
8444
|
|
|
8311
8445
|
var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = function() {
|
|
8312
|
-
return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["
|
|
8446
|
+
return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["je"]).apply(null, arguments);
|
|
8313
8447
|
};
|
|
8314
8448
|
|
|
8315
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
8449
|
+
var ___start_em_js = Module["___start_em_js"] = 1101996;
|
|
8316
8450
|
|
|
8317
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
8451
|
+
var ___stop_em_js = Module["___stop_em_js"] = 1108572;
|
|
8318
8452
|
|
|
8319
8453
|
Module["addRunDependency"] = addRunDependency;
|
|
8320
8454
|
|