@mediapipe/tasks-vision 0.1.0-alpha-3 → 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 +73 -23
- package/package.json +1 -1
- package/vision.d.ts +468 -1
- package/vision_bundle.js +1 -1
- package/wasm/vision_wasm_internal.js +479 -298
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_nosimd_internal.js +468 -297
- 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,76 +603,130 @@ 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
|
-
function
|
|
612
|
-
if (!Module.
|
|
613
|
-
Module.
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
}
|
|
611
|
+
function JsWrapImageConverter() {
|
|
612
|
+
if (!Module._imageConverter) {
|
|
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
|
+
return {
|
|
616
|
+
data: imageData,
|
|
617
|
+
width: width,
|
|
618
|
+
height: height
|
|
619
|
+
};
|
|
620
620
|
};
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
|
|
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
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms);
|
|
627
|
+
}
|
|
628
|
+
|
|
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
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms);
|
|
632
|
+
}
|
|
633
|
+
|
|
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);
|
|
640
|
+
}
|
|
641
|
+
|
|
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);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
function JsOnEmptyPacketListener(output_stream_name, timestamp) {
|
|
661
|
+
Module._wrapEmptyPacketListenerOutput(output_stream_name, timestamp);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
function JsOnVectorFinishedListener(output_stream_name, timestamp) {
|
|
665
|
+
Module._wrapSimpleListenerOutput(output_stream_name, undefined, true, timestamp);
|
|
666
|
+
}
|
|
667
|
+
|
|
624
668
|
function JsOnSimpleListenerBool(output_stream_name, out_data, timestamp) {
|
|
625
669
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
626
670
|
}
|
|
627
671
|
|
|
628
|
-
function JsOnVectorListenerBool(output_stream_name, out_data,
|
|
629
|
-
Module.
|
|
672
|
+
function JsOnVectorListenerBool(output_stream_name, out_data, timestamp) {
|
|
673
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
630
674
|
}
|
|
631
675
|
|
|
632
676
|
function JsOnSimpleListenerInt(output_stream_name, out_data, timestamp) {
|
|
633
677
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
634
678
|
}
|
|
635
679
|
|
|
636
|
-
function JsOnVectorListenerInt(output_stream_name, out_data,
|
|
637
|
-
Module.
|
|
680
|
+
function JsOnVectorListenerInt(output_stream_name, out_data, timestamp) {
|
|
681
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
638
682
|
}
|
|
639
683
|
|
|
640
684
|
function JsOnSimpleListenerDouble(output_stream_name, out_data, timestamp) {
|
|
641
685
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
642
686
|
}
|
|
643
687
|
|
|
644
|
-
function JsOnVectorListenerDouble(output_stream_name, out_data,
|
|
645
|
-
Module.
|
|
688
|
+
function JsOnVectorListenerDouble(output_stream_name, out_data, timestamp) {
|
|
689
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
646
690
|
}
|
|
647
691
|
|
|
648
692
|
function JsOnSimpleListenerFloat(output_stream_name, out_data, timestamp) {
|
|
649
693
|
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
650
694
|
}
|
|
651
695
|
|
|
652
|
-
function JsOnVectorListenerFloat(output_stream_name, out_data,
|
|
653
|
-
Module.
|
|
696
|
+
function JsOnVectorListenerFloat(output_stream_name, out_data, timestamp) {
|
|
697
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, false, timestamp);
|
|
654
698
|
}
|
|
655
699
|
|
|
656
700
|
function JsOnSimpleListenerString(output_stream_name, out_data, timestamp) {
|
|
657
701
|
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), timestamp);
|
|
658
702
|
}
|
|
659
703
|
|
|
660
|
-
function JsOnVectorListenerString(output_stream_name, out_data,
|
|
661
|
-
Module.
|
|
704
|
+
function JsOnVectorListenerString(output_stream_name, out_data, timestamp) {
|
|
705
|
+
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), false, timestamp);
|
|
662
706
|
}
|
|
663
707
|
|
|
664
|
-
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) {
|
|
665
709
|
const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(proto_ptr, proto_ptr + proto_size) : new Uint8Array(Module.HEAPU8.buffer, proto_ptr, proto_size);
|
|
666
|
-
Module.
|
|
710
|
+
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, false, timestamp);
|
|
667
711
|
}
|
|
668
712
|
|
|
669
713
|
function JsWrapSimpleListeners() {
|
|
670
714
|
if (!Module._wrapSimpleListenerOutput) {
|
|
671
|
-
Module._wrapSimpleListenerOutput = (outputStreamName,
|
|
715
|
+
Module._wrapSimpleListenerOutput = (outputStreamName, ...args) => {
|
|
672
716
|
if (Module.simpleListeners) {
|
|
673
717
|
const streamName = UTF8ToString(outputStreamName);
|
|
674
718
|
if (Module.simpleListeners[streamName]) {
|
|
675
|
-
Module.simpleListeners[streamName](
|
|
719
|
+
Module.simpleListeners[streamName](...args);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
if (!Module._wrapEmptyPacketListenerOutput) {
|
|
725
|
+
Module._wrapEmptyPacketListenerOutput = (outputStreamName, timestamp) => {
|
|
726
|
+
if (Module.emptyPacketListeners) {
|
|
727
|
+
const streamName = UTF8ToString(outputStreamName);
|
|
728
|
+
if (Module.emptyPacketListeners[streamName]) {
|
|
729
|
+
Module.emptyPacketListeners[streamName](timestamp);
|
|
676
730
|
}
|
|
677
731
|
}
|
|
678
732
|
};
|
|
@@ -694,10 +748,15 @@ function mediapipe_import_external_texture(device_handle, source_handle) {
|
|
|
694
748
|
}
|
|
695
749
|
|
|
696
750
|
function mediapipe_create_utility_canvas2d() {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
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
|
+
}
|
|
701
760
|
return Emval.toHandle(canvas);
|
|
702
761
|
}
|
|
703
762
|
|
|
@@ -5616,6 +5675,10 @@ var WebGPU = {
|
|
|
5616
5675
|
}
|
|
5617
5676
|
return constants;
|
|
5618
5677
|
},
|
|
5678
|
+
makePipelineLayout: function(layoutPtr) {
|
|
5679
|
+
if (!layoutPtr) return "auto";
|
|
5680
|
+
return WebGPU.mgrPipelineLayout.get(layoutPtr);
|
|
5681
|
+
},
|
|
5619
5682
|
makeProgrammableStageDescriptor: function(ptr) {
|
|
5620
5683
|
if (!ptr) return undefined;
|
|
5621
5684
|
return {
|
|
@@ -5943,6 +6006,10 @@ function _glBufferData(target, size, data, usage) {
|
|
|
5943
6006
|
}
|
|
5944
6007
|
}
|
|
5945
6008
|
|
|
6009
|
+
function _glClear(x0) {
|
|
6010
|
+
GLctx["clear"](x0);
|
|
6011
|
+
}
|
|
6012
|
+
|
|
5946
6013
|
function convertI32PairToI53(lo, hi) {
|
|
5947
6014
|
return (lo >>> 0) + hi * 4294967296;
|
|
5948
6015
|
}
|
|
@@ -6098,6 +6165,10 @@ function _glFinish() {
|
|
|
6098
6165
|
GLctx["finish"]();
|
|
6099
6166
|
}
|
|
6100
6167
|
|
|
6168
|
+
function _glFlush() {
|
|
6169
|
+
GLctx["flush"]();
|
|
6170
|
+
}
|
|
6171
|
+
|
|
6101
6172
|
function _glFramebufferTexture2D(target, attachment, textarget, texture, level) {
|
|
6102
6173
|
GLctx.framebufferTexture2D(target, attachment, textarget, GL.textures[texture], level);
|
|
6103
6174
|
}
|
|
@@ -6301,6 +6372,72 @@ function _glGetIntegerv(name_, p) {
|
|
|
6301
6372
|
emscriptenWebGLGet(name_, p, 0);
|
|
6302
6373
|
}
|
|
6303
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
|
+
|
|
6304
6441
|
function stringToNewUTF8(jsString) {
|
|
6305
6442
|
var length = lengthBytesUTF8(jsString) + 1;
|
|
6306
6443
|
var cString = _malloc(length);
|
|
@@ -6517,6 +6654,10 @@ function _glTexImage2D(target, level, internalFormat, width, height, border, for
|
|
|
6517
6654
|
GLctx.texImage2D(target, level, internalFormat, width, height, border, format, type, pixels ? emscriptenWebGLGetTexPixelData(type, format, width, height, pixels, internalFormat) : null);
|
|
6518
6655
|
}
|
|
6519
6656
|
|
|
6657
|
+
function _glTexParameterf(x0, x1, x2) {
|
|
6658
|
+
GLctx["texParameterf"](x0, x1, x2);
|
|
6659
|
+
}
|
|
6660
|
+
|
|
6520
6661
|
function _glTexParameterfv(target, pname, params) {
|
|
6521
6662
|
var param = HEAPF32[params >> 2];
|
|
6522
6663
|
GLctx.texParameterf(target, pname, param);
|
|
@@ -6583,6 +6724,10 @@ function _glUniform1i(location, v0) {
|
|
|
6583
6724
|
GLctx.uniform1i(webglGetUniformLocation(location), v0);
|
|
6584
6725
|
}
|
|
6585
6726
|
|
|
6727
|
+
function _glUniform2f(location, v0, v1) {
|
|
6728
|
+
GLctx.uniform2f(webglGetUniformLocation(location), v0, v1);
|
|
6729
|
+
}
|
|
6730
|
+
|
|
6586
6731
|
var miniTempWebGLFloatBuffers = [];
|
|
6587
6732
|
|
|
6588
6733
|
function _glUniform2fv(location, count, value) {
|
|
@@ -6602,6 +6747,10 @@ function _glUniform2fv(location, count, value) {
|
|
|
6602
6747
|
GLctx.uniform2fv(webglGetUniformLocation(location), view);
|
|
6603
6748
|
}
|
|
6604
6749
|
|
|
6750
|
+
function _glUniform3f(location, v0, v1, v2) {
|
|
6751
|
+
GLctx.uniform3f(webglGetUniformLocation(location), v0, v1, v2);
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6605
6754
|
function _glUniform4fv(location, count, value) {
|
|
6606
6755
|
if (GL.currentContext.version >= 2) {
|
|
6607
6756
|
count && GLctx.uniform4fv(webglGetUniformLocation(location), HEAPF32, value >> 2, count * 4);
|
|
@@ -7316,7 +7465,7 @@ function _wgpuDeviceCreateCommandEncoder(deviceId, descriptor) {
|
|
|
7316
7465
|
function _wgpuDeviceCreateComputePipeline(deviceId, descriptor) {
|
|
7317
7466
|
var desc = {
|
|
7318
7467
|
"label": undefined,
|
|
7319
|
-
"layout": WebGPU.
|
|
7468
|
+
"layout": WebGPU.makePipelineLayout(HEAPU32[descriptor + 8 >> 2]),
|
|
7320
7469
|
"compute": WebGPU.makeProgrammableStageDescriptor(descriptor + 12)
|
|
7321
7470
|
};
|
|
7322
7471
|
var labelPtr = HEAPU32[descriptor + 4 >> 2];
|
|
@@ -7447,7 +7596,7 @@ function _wgpuDeviceCreateRenderPipeline(deviceId, descriptor) {
|
|
|
7447
7596
|
}
|
|
7448
7597
|
var desc = {
|
|
7449
7598
|
"label": undefined,
|
|
7450
|
-
"layout": WebGPU.
|
|
7599
|
+
"layout": WebGPU.makePipelineLayout(HEAPU32[descriptor + 8 >> 2]),
|
|
7451
7600
|
"vertex": makeVertexState(descriptor + 12),
|
|
7452
7601
|
"primitive": makePrimitiveState(descriptor + 40),
|
|
7453
7602
|
"depthStencil": makeDepthStencilState(HEAPU32[descriptor + 60 >> 2]),
|
|
@@ -7850,424 +7999,456 @@ for (var i = 0; i < 288; ++i) {
|
|
|
7850
7999
|
}
|
|
7851
8000
|
|
|
7852
8001
|
var asmLibraryArg = {
|
|
7853
|
-
"
|
|
7854
|
-
"
|
|
7855
|
-
"
|
|
7856
|
-
"
|
|
7857
|
-
"
|
|
7858
|
-
"
|
|
7859
|
-
"
|
|
7860
|
-
"
|
|
7861
|
-
"
|
|
7862
|
-
"
|
|
7863
|
-
"
|
|
7864
|
-
"
|
|
7865
|
-
"
|
|
7866
|
-
"
|
|
7867
|
-
"
|
|
7868
|
-
"
|
|
7869
|
-
"
|
|
7870
|
-
"
|
|
7871
|
-
"
|
|
7872
|
-
"
|
|
7873
|
-
"
|
|
7874
|
-
"
|
|
7875
|
-
"
|
|
7876
|
-
"
|
|
7877
|
-
"
|
|
7878
|
-
"
|
|
7879
|
-
"
|
|
7880
|
-
"
|
|
7881
|
-
"
|
|
7882
|
-
"
|
|
7883
|
-
"
|
|
7884
|
-
"
|
|
7885
|
-
"
|
|
7886
|
-
"
|
|
7887
|
-
"
|
|
7888
|
-
"
|
|
7889
|
-
"
|
|
7890
|
-
"
|
|
7891
|
-
"
|
|
7892
|
-
"
|
|
7893
|
-
"
|
|
7894
|
-
"
|
|
7895
|
-
"
|
|
7896
|
-
"
|
|
7897
|
-
"
|
|
7898
|
-
"
|
|
7899
|
-
"
|
|
7900
|
-
"
|
|
7901
|
-
"
|
|
7902
|
-
"
|
|
7903
|
-
"
|
|
7904
|
-
"
|
|
7905
|
-
"
|
|
7906
|
-
"
|
|
7907
|
-
"
|
|
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,
|
|
7908
8065
|
"a": _abort,
|
|
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
|
-
"
|
|
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,
|
|
7946
8103
|
"b": _glBindTexture,
|
|
7947
|
-
"
|
|
7948
|
-
"
|
|
7949
|
-
"
|
|
7950
|
-
"
|
|
7951
|
-
"
|
|
7952
|
-
"
|
|
7953
|
-
"
|
|
7954
|
-
"
|
|
7955
|
-
"
|
|
7956
|
-
"
|
|
7957
|
-
"
|
|
7958
|
-
"
|
|
7959
|
-
"
|
|
7960
|
-
"
|
|
7961
|
-
"
|
|
7962
|
-
"
|
|
7963
|
-
"
|
|
7964
|
-
"
|
|
7965
|
-
"
|
|
7966
|
-
"
|
|
7967
|
-
"
|
|
7968
|
-
"
|
|
7969
|
-
"
|
|
7970
|
-
"
|
|
7971
|
-
"w":
|
|
7972
|
-
"
|
|
7973
|
-
"
|
|
7974
|
-
"L":
|
|
7975
|
-
"
|
|
7976
|
-
"
|
|
7977
|
-
"
|
|
7978
|
-
"
|
|
7979
|
-
"
|
|
7980
|
-
"
|
|
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,
|
|
7981
8143
|
"da": _glReadPixels,
|
|
7982
|
-
"
|
|
7983
|
-
"
|
|
7984
|
-
"
|
|
8144
|
+
"pa": _glShaderSource,
|
|
8145
|
+
"y": _glTexImage2D,
|
|
8146
|
+
"X": _glTexParameterf,
|
|
8147
|
+
"oa": _glTexParameterfv,
|
|
7985
8148
|
"c": _glTexParameteri,
|
|
7986
|
-
"
|
|
7987
|
-
"
|
|
7988
|
-
"
|
|
7989
|
-
"
|
|
7990
|
-
"
|
|
7991
|
-
"
|
|
7992
|
-
"
|
|
7993
|
-
"
|
|
7994
|
-
"
|
|
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
|
-
"
|
|
8024
|
-
"
|
|
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
|
-
"
|
|
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
|
|
8060
8225
|
};
|
|
8061
8226
|
|
|
8062
8227
|
var asm = createWasm();
|
|
8063
8228
|
|
|
8064
8229
|
var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
|
|
8065
|
-
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);
|
|
8066
8231
|
};
|
|
8067
8232
|
|
|
8068
8233
|
var _free = Module["_free"] = function() {
|
|
8069
|
-
return (_free = Module["_free"] = Module["asm"]["
|
|
8234
|
+
return (_free = Module["_free"] = Module["asm"]["kd"]).apply(null, arguments);
|
|
8070
8235
|
};
|
|
8071
8236
|
|
|
8072
8237
|
var _malloc = Module["_malloc"] = function() {
|
|
8073
|
-
return (_malloc = Module["_malloc"] = Module["asm"]["
|
|
8238
|
+
return (_malloc = Module["_malloc"] = Module["asm"]["ld"]).apply(null, arguments);
|
|
8074
8239
|
};
|
|
8075
8240
|
|
|
8076
8241
|
var _addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = function() {
|
|
8077
|
-
return (_addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = Module["asm"]["
|
|
8242
|
+
return (_addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = Module["asm"]["md"]).apply(null, arguments);
|
|
8243
|
+
};
|
|
8244
|
+
|
|
8245
|
+
var _attachImageListener = Module["_attachImageListener"] = function() {
|
|
8246
|
+
return (_attachImageListener = Module["_attachImageListener"] = Module["asm"]["nd"]).apply(null, arguments);
|
|
8247
|
+
};
|
|
8248
|
+
|
|
8249
|
+
var _attachImageVectorListener = Module["_attachImageVectorListener"] = function() {
|
|
8250
|
+
return (_attachImageVectorListener = Module["_attachImageVectorListener"] = Module["asm"]["od"]).apply(null, arguments);
|
|
8078
8251
|
};
|
|
8079
8252
|
|
|
8080
8253
|
var _registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = function() {
|
|
8081
|
-
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["
|
|
8254
|
+
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["pd"]).apply(null, arguments);
|
|
8082
8255
|
};
|
|
8083
8256
|
|
|
8084
8257
|
var _bindTextureToStream = Module["_bindTextureToStream"] = function() {
|
|
8085
|
-
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["
|
|
8258
|
+
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["qd"]).apply(null, arguments);
|
|
8086
8259
|
};
|
|
8087
8260
|
|
|
8088
8261
|
var _addBoundTextureToStream = Module["_addBoundTextureToStream"] = function() {
|
|
8089
|
-
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["
|
|
8262
|
+
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["rd"]).apply(null, arguments);
|
|
8090
8263
|
};
|
|
8091
8264
|
|
|
8092
8265
|
var _addDoubleToInputStream = Module["_addDoubleToInputStream"] = function() {
|
|
8093
|
-
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["
|
|
8266
|
+
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["sd"]).apply(null, arguments);
|
|
8094
8267
|
};
|
|
8095
8268
|
|
|
8096
8269
|
var _addFloatToInputStream = Module["_addFloatToInputStream"] = function() {
|
|
8097
|
-
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["
|
|
8270
|
+
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["td"]).apply(null, arguments);
|
|
8098
8271
|
};
|
|
8099
8272
|
|
|
8100
8273
|
var _addBoolToInputStream = Module["_addBoolToInputStream"] = function() {
|
|
8101
|
-
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["
|
|
8274
|
+
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["ud"]).apply(null, arguments);
|
|
8102
8275
|
};
|
|
8103
8276
|
|
|
8104
8277
|
var _addIntToInputStream = Module["_addIntToInputStream"] = function() {
|
|
8105
|
-
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["
|
|
8278
|
+
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["vd"]).apply(null, arguments);
|
|
8106
8279
|
};
|
|
8107
8280
|
|
|
8108
8281
|
var _addStringToInputStream = Module["_addStringToInputStream"] = function() {
|
|
8109
|
-
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["
|
|
8282
|
+
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["wd"]).apply(null, arguments);
|
|
8110
8283
|
};
|
|
8111
8284
|
|
|
8112
8285
|
var _addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = function() {
|
|
8113
|
-
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["
|
|
8286
|
+
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["xd"]).apply(null, arguments);
|
|
8114
8287
|
};
|
|
8115
8288
|
|
|
8116
8289
|
var _addProtoToInputStream = Module["_addProtoToInputStream"] = function() {
|
|
8117
|
-
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);
|
|
8118
8295
|
};
|
|
8119
8296
|
|
|
8120
8297
|
var _addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = function() {
|
|
8121
|
-
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["
|
|
8298
|
+
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["Ad"]).apply(null, arguments);
|
|
8122
8299
|
};
|
|
8123
8300
|
|
|
8124
8301
|
var _addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = function() {
|
|
8125
|
-
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["
|
|
8302
|
+
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["Bd"]).apply(null, arguments);
|
|
8126
8303
|
};
|
|
8127
8304
|
|
|
8128
8305
|
var _addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = function() {
|
|
8129
|
-
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["
|
|
8306
|
+
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["Cd"]).apply(null, arguments);
|
|
8130
8307
|
};
|
|
8131
8308
|
|
|
8132
8309
|
var _addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = function() {
|
|
8133
|
-
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["
|
|
8310
|
+
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["Dd"]).apply(null, arguments);
|
|
8134
8311
|
};
|
|
8135
8312
|
|
|
8136
8313
|
var _addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = function() {
|
|
8137
|
-
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["
|
|
8314
|
+
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["Ed"]).apply(null, arguments);
|
|
8138
8315
|
};
|
|
8139
8316
|
|
|
8140
8317
|
var _addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = function() {
|
|
8141
|
-
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["
|
|
8318
|
+
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["Fd"]).apply(null, arguments);
|
|
8142
8319
|
};
|
|
8143
8320
|
|
|
8144
8321
|
var _attachBoolListener = Module["_attachBoolListener"] = function() {
|
|
8145
|
-
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["
|
|
8322
|
+
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["Gd"]).apply(null, arguments);
|
|
8146
8323
|
};
|
|
8147
8324
|
|
|
8148
8325
|
var _attachBoolVectorListener = Module["_attachBoolVectorListener"] = function() {
|
|
8149
|
-
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["
|
|
8326
|
+
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["Hd"]).apply(null, arguments);
|
|
8150
8327
|
};
|
|
8151
8328
|
|
|
8152
8329
|
var _attachDoubleListener = Module["_attachDoubleListener"] = function() {
|
|
8153
|
-
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["
|
|
8330
|
+
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["Id"]).apply(null, arguments);
|
|
8154
8331
|
};
|
|
8155
8332
|
|
|
8156
8333
|
var _attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = function() {
|
|
8157
|
-
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["
|
|
8334
|
+
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["Jd"]).apply(null, arguments);
|
|
8158
8335
|
};
|
|
8159
8336
|
|
|
8160
8337
|
var _attachFloatListener = Module["_attachFloatListener"] = function() {
|
|
8161
|
-
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["
|
|
8338
|
+
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["Kd"]).apply(null, arguments);
|
|
8162
8339
|
};
|
|
8163
8340
|
|
|
8164
8341
|
var _attachFloatVectorListener = Module["_attachFloatVectorListener"] = function() {
|
|
8165
|
-
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["
|
|
8342
|
+
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["Ld"]).apply(null, arguments);
|
|
8166
8343
|
};
|
|
8167
8344
|
|
|
8168
8345
|
var _attachIntListener = Module["_attachIntListener"] = function() {
|
|
8169
|
-
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["
|
|
8346
|
+
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["Md"]).apply(null, arguments);
|
|
8170
8347
|
};
|
|
8171
8348
|
|
|
8172
8349
|
var _attachIntVectorListener = Module["_attachIntVectorListener"] = function() {
|
|
8173
|
-
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["
|
|
8350
|
+
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["Nd"]).apply(null, arguments);
|
|
8174
8351
|
};
|
|
8175
8352
|
|
|
8176
8353
|
var _attachStringListener = Module["_attachStringListener"] = function() {
|
|
8177
|
-
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["
|
|
8354
|
+
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["Od"]).apply(null, arguments);
|
|
8178
8355
|
};
|
|
8179
8356
|
|
|
8180
8357
|
var _attachStringVectorListener = Module["_attachStringVectorListener"] = function() {
|
|
8181
|
-
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["
|
|
8358
|
+
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["Pd"]).apply(null, arguments);
|
|
8182
8359
|
};
|
|
8183
8360
|
|
|
8184
8361
|
var _attachProtoListener = Module["_attachProtoListener"] = function() {
|
|
8185
|
-
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["
|
|
8362
|
+
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["Qd"]).apply(null, arguments);
|
|
8186
8363
|
};
|
|
8187
8364
|
|
|
8188
8365
|
var _attachProtoVectorListener = Module["_attachProtoVectorListener"] = function() {
|
|
8189
|
-
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);
|
|
8190
8371
|
};
|
|
8191
8372
|
|
|
8192
8373
|
var ___errno_location = Module["___errno_location"] = function() {
|
|
8193
|
-
return (___errno_location = Module["___errno_location"] = Module["asm"]["
|
|
8374
|
+
return (___errno_location = Module["___errno_location"] = Module["asm"]["Td"]).apply(null, arguments);
|
|
8194
8375
|
};
|
|
8195
8376
|
|
|
8196
8377
|
var _clearSubgraphs = Module["_clearSubgraphs"] = function() {
|
|
8197
|
-
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["
|
|
8378
|
+
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["Ud"]).apply(null, arguments);
|
|
8198
8379
|
};
|
|
8199
8380
|
|
|
8200
8381
|
var _pushBinarySubgraph = Module["_pushBinarySubgraph"] = function() {
|
|
8201
|
-
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["
|
|
8382
|
+
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["Vd"]).apply(null, arguments);
|
|
8202
8383
|
};
|
|
8203
8384
|
|
|
8204
8385
|
var _pushTextSubgraph = Module["_pushTextSubgraph"] = function() {
|
|
8205
|
-
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["
|
|
8386
|
+
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["Wd"]).apply(null, arguments);
|
|
8206
8387
|
};
|
|
8207
8388
|
|
|
8208
8389
|
var _changeBinaryGraph = Module["_changeBinaryGraph"] = function() {
|
|
8209
|
-
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["
|
|
8390
|
+
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["Xd"]).apply(null, arguments);
|
|
8210
8391
|
};
|
|
8211
8392
|
|
|
8212
8393
|
var _changeTextGraph = Module["_changeTextGraph"] = function() {
|
|
8213
|
-
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["
|
|
8394
|
+
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["Yd"]).apply(null, arguments);
|
|
8214
8395
|
};
|
|
8215
8396
|
|
|
8216
8397
|
var _processGl = Module["_processGl"] = function() {
|
|
8217
|
-
return (_processGl = Module["_processGl"] = Module["asm"]["
|
|
8398
|
+
return (_processGl = Module["_processGl"] = Module["asm"]["Zd"]).apply(null, arguments);
|
|
8218
8399
|
};
|
|
8219
8400
|
|
|
8220
8401
|
var _process = Module["_process"] = function() {
|
|
8221
|
-
return (_process = Module["_process"] = Module["asm"]["
|
|
8402
|
+
return (_process = Module["_process"] = Module["asm"]["_d"]).apply(null, arguments);
|
|
8222
8403
|
};
|
|
8223
8404
|
|
|
8224
8405
|
var _bindTextureToCanvas = Module["_bindTextureToCanvas"] = function() {
|
|
8225
|
-
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["
|
|
8406
|
+
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["$d"]).apply(null, arguments);
|
|
8226
8407
|
};
|
|
8227
8408
|
|
|
8228
8409
|
var _requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = function() {
|
|
8229
|
-
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["
|
|
8410
|
+
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["ae"]).apply(null, arguments);
|
|
8230
8411
|
};
|
|
8231
8412
|
|
|
8232
8413
|
var _waitUntilIdle = Module["_waitUntilIdle"] = function() {
|
|
8233
|
-
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["
|
|
8414
|
+
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["be"]).apply(null, arguments);
|
|
8234
8415
|
};
|
|
8235
8416
|
|
|
8236
8417
|
var _setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = function() {
|
|
8237
|
-
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["
|
|
8418
|
+
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["ce"]).apply(null, arguments);
|
|
8238
8419
|
};
|
|
8239
8420
|
|
|
8240
8421
|
var ___getTypeName = Module["___getTypeName"] = function() {
|
|
8241
|
-
return (___getTypeName = Module["___getTypeName"] = Module["asm"]["
|
|
8422
|
+
return (___getTypeName = Module["___getTypeName"] = Module["asm"]["de"]).apply(null, arguments);
|
|
8242
8423
|
};
|
|
8243
8424
|
|
|
8244
8425
|
var __embind_initialize_bindings = Module["__embind_initialize_bindings"] = function() {
|
|
8245
|
-
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);
|
|
8246
8427
|
};
|
|
8247
8428
|
|
|
8248
8429
|
var _emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = function() {
|
|
8249
|
-
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);
|
|
8250
8431
|
};
|
|
8251
8432
|
|
|
8252
8433
|
var stackSave = Module["stackSave"] = function() {
|
|
8253
|
-
return (stackSave = Module["stackSave"] = Module["asm"]["
|
|
8434
|
+
return (stackSave = Module["stackSave"] = Module["asm"]["ge"]).apply(null, arguments);
|
|
8254
8435
|
};
|
|
8255
8436
|
|
|
8256
8437
|
var stackRestore = Module["stackRestore"] = function() {
|
|
8257
|
-
return (stackRestore = Module["stackRestore"] = Module["asm"]["
|
|
8438
|
+
return (stackRestore = Module["stackRestore"] = Module["asm"]["he"]).apply(null, arguments);
|
|
8258
8439
|
};
|
|
8259
8440
|
|
|
8260
8441
|
var stackAlloc = Module["stackAlloc"] = function() {
|
|
8261
|
-
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["
|
|
8442
|
+
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["ie"]).apply(null, arguments);
|
|
8262
8443
|
};
|
|
8263
8444
|
|
|
8264
8445
|
var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = function() {
|
|
8265
|
-
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);
|
|
8266
8447
|
};
|
|
8267
8448
|
|
|
8268
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
8449
|
+
var ___start_em_js = Module["___start_em_js"] = 1101996;
|
|
8269
8450
|
|
|
8270
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
8451
|
+
var ___stop_em_js = Module["___stop_em_js"] = 1108572;
|
|
8271
8452
|
|
|
8272
8453
|
Module["addRunDependency"] = addRunDependency;
|
|
8273
8454
|
|