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