Update #51 - Protocol and FPS improvements, better workspace

This commit is contained in:
lax1dude
2025-05-18 15:01:06 -07:00
parent 71c61e33fd
commit 325a6826bf
1191 changed files with 9266 additions and 187695 deletions

View File

@ -78,3 +78,11 @@ eagruntimeImpl.WASMGCBufferAllocator["getIntBufferView"] = function(addr, length
eagruntimeImpl.WASMGCBufferAllocator["getFloatBufferView"] = function(addr, length) {
return new Float32Array(heapArrayBuffer, addr, length);
}
/**
* @param {function(Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array)} cb
*/
eagruntimeImpl.WASMGCBufferAllocator["setHeapViewCallback"] = function(cb) {
heapResizeHandler = cb;
callHeapViewCallback();
}