commit | 5268f9d56204a623d606eb65096295057d52cd4f | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Thu Feb 03 10:39:05 2022 -0500 |
committer | Kevin Lubick <kjlubick@google.com> | Thu Feb 03 15:40:56 2022 +0000 |
tree | 3644a18d4fffa29b4e5fdc0c470d899cc19e93b2 | |
parent | b27d2a6c2ed6d0dc7ca800774a5f57b9093ea31e [diff] |
[pathkit] Increase default memory size and allow growth Change-Id: Ib403708a8cbdcb85512c341c093d1c1fe342d2b3 Bug: skia:8216 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502778 Reviewed-by: Nathaniel Nifong <nifong@google.com>
diff --git a/modules/pathkit/CHANGELOG.md b/modules/pathkit/CHANGELOG.md index 44b84a8..4b5ed53 100644 --- a/modules/pathkit/CHANGELOG.md +++ b/modules/pathkit/CHANGELOG.md
@@ -9,6 +9,7 @@ ### Changed - Now compile with emsdk 3.1.3 - Internal calls no longer use dynamic dispatch (skbug.com/12795) + - WASM Memory can grow beyond initial 32MB ## [0.7.0] 2019-07-20
diff --git a/modules/pathkit/compile.sh b/modules/pathkit/compile.sh index 0e97a81..9f6234a 100755 --- a/modules/pathkit/compile.sh +++ b/modules/pathkit/compile.sh
@@ -121,6 +121,8 @@ -sNO_EXIT_RUNTIME=1 \ -sNO_FILESYSTEM=1 \ -sDYNAMIC_EXECUTION=0 \ +-sINITIAL_MEMORY=32MB \ +-sALLOW_MEMORY_GROWTH=1 \ -sSTRICT=1 \ $OUTPUT \ $BASE_DIR/pathkit_wasm_bindings.cpp \