Compare commits

..
8 Commits
Author SHA1 Message Date
qiuguohuaandGitHub 24253d9b2e SDL use static libraries (#409) 2023-08-25 15:18:31 +08:00
CanvasandGitHub 795d74c84b fix douyin asm load error. (#407) 2023-08-23 21:08:28 +08:00
CanvasandGitHub 9a6edd73fc update spine wasm & asm. (#405)
* update spine wasm & asm.

* update spine wasm & asm.
2023-08-23 10:01:10 +08:00
YiwenandGitHub ca73bccb77 Fix/meshopt wechat (#406)
* fix wechat wasm.validation problem

* fix wechat problems
2023-08-23 09:47:40 +08:00
YiwenandGitHub a3a002239a fix wechat wasm.validation problem (#404) 2023-08-22 14:29:19 +08:00
CanvasandGitHub 2649e4f849 update spine wasm & asm. (#401)
* update spine wasm & asm.

* update spine wasm & asm.
2023-08-21 11:33:44 +08:00
江战andGitHub 029d4f867f Merge pull request #403 from qiuguohua/v3.8.1_sdl_1
Added fa packs for arm64 and x86_64 architectures
2023-08-21 11:33:26 +08:00
qiuguohua ed78949165 Added fa packs for arm64 and x86_64 architectures 2023-08-21 10:01:15 +08:00
10 changed files with 52 additions and 57 deletions
+28 -14
View File
@@ -1,21 +1,35 @@
declare module 'external:emscripten/meshopt/meshopt_decoder.asm.js' {
namespace MeshoptDecoder {
const supported: boolean;
const ready: Promise<void>;
function decodeVertexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string): void;
function decodeIndexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
function decodeIndexSequence (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
function decodeGltfBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string): void;
function useWorkers (count: number): void;
function decodeGltfBufferAsync (count: number, size: number, source: Uint8Array, mode: string, filter?: string): Promise<Uint8Array>;
}
export default MeshoptDecoder;
}
declare module 'external:emscripten/meshopt/meshopt_decoder.wasm.js' {
namespace MeshoptDecoder {
const supported: boolean;
const ready: (instantiateWasm: any) => Promise<void>;
function decodeVertexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string): void;
function decodeIndexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
function decodeIndexSequence (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
function decodeGltfBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string): void;
function useWorkers (count: number): void;
function decodeGltfBufferAsync (count: number, size: number, source: Uint8Array, mode: string, filter?: string): Promise<Uint8Array>;
}
export default MeshoptDecoder;
}
declare namespace MeshoptDecoder {
const supported: boolean;
const ready: Promise<void>;
function decodeVertexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string): void;
function decodeIndexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
function decodeIndexSequence (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
function decodeGltfBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string): void;
function useWorkers (count: number): void;
function decodeGltfBufferAsync (count: number, size: number, source: Uint8Array, mode: string, filter?: string): Promise<Uint8Array>;
}
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -83,7 +83,7 @@ set_target_properties(GLESv2 PROPERTIES
add_library(SDL2 SHARED IMPORTED GLOBAL)
set_target_properties(SDL2 PROPERTIES
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libSDL2-2.0.0.dylib
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libSDL2.a
)
set(se_libs_name)
@@ -211,6 +211,9 @@ list(APPEND CC_EXTERNAL_LIBS
webp
curl
SDL2
# sdl2 depends on the following two libraries.
"-framework IOKit"
"-framework Carbon"
${glslang_libs_name}
${spirv-cross_libs_name}
${tbb_libs_name}
Binary file not shown.
Binary file not shown.