Commit Graph

15945 Commits

Author SHA1 Message Date
Behdad Esfahbod 7b1c5e86ae [wasm-shape] Minor conditionalize allocation 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 196c6b6c1f [wasm-buffer] Fix buffer_contents_realloc 2023-03-31 17:33:45 -06:00
Behdad Esfahbod b9d4758bf9 [wasm/graphite] Add commented out allocator export 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 3c59943433 [wasm/graphite] Remove stale comment 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 6311b72fcc [wasm-shape] Shuffle code around 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 9b66e45481 [wasm/graphite] Remove unused variable
Wasm cannot export those?
2023-03-31 17:33:45 -06:00
Behdad Esfahbod c5a88a068b [wasm-api] Minor cleanup 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 8215e70632 [wasm-graphite] Memory hygiene 2023-03-31 17:33:45 -06:00
Behdad Esfahbod faaae04359 [wasm-shape] Minor 2023-03-31 17:33:45 -06:00
Behdad Esfahbod d5d8fc046f [wasm/graphite] Include standard headers
Since we use emcc here.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod 1f86890b75 [wasm/graphite] Typo 2023-03-31 17:33:45 -06:00
Behdad Esfahbod f95c2cc6d5 [wasm] Infra for iwasm llvm build 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 65f7bac73c Revert "[wasm-shape] No need to set default runnint mode"
This reverts commit fa484fac08a868e885b3252522668824f0f0fe71.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod d894a10699 [wasm-shape] Debug message 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 91eb2f49db [wasm-api-buffer] Minor variable 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 4260de12c1 [wasm] Add HB_ARRAY_APP2NATIVE 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 1537e252ba [wasm] Minor blob validation 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 918df8ccaf [wasm-api] Add glyph_outline_free 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 7fff4a19ad [wasm-api] Reuse allocation in font_copy_glyph_outline 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 41362cc339 [wasm] Simplify memory cleaning 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 6746ca4ae2 [wasm] Minor remove undefine function 2023-03-31 17:33:45 -06:00
Behdad Esfahbod b08026187a [wasm-api] Memory house-keeping 2023-03-31 17:33:45 -06:00
Behdad Esfahbod f2d227ad9f [wasm-api] Respect existing blob allocation in face_copy_blob 2023-03-31 17:33:45 -06:00
Behdad Esfahbod e7540043de [wasm-api] Make buffer_copy_contents reuse contents 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 65966e0c3d [wasm-api] Add font_copy_glyph_outline 2023-03-31 17:33:45 -06:00
Simon Cozens 92a57b4b4a [wasm-rust] update font_copy_table API 2023-03-31 17:33:45 -06:00
Simon Cozens db789eacb4 [wasm-rust] Docs and API update 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 0d237d062e [wasm-shape] No need to set default runnint mode
It's detected automatically apparently.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod 2004528cf8 [wasm-api] Change face_copy_table to return success 2023-03-31 17:33:45 -06:00
Simon Cozens 83b9c34f0b [wasm] Add rust example 2023-03-31 17:33:45 -06:00
Simon Cozens 840b5dff73 [wasm] Improve Rust docs, refer to new crate 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 28a7c1f932 [wasm-api] Rename face_reference_table to face_copy_table 2023-03-31 17:33:45 -06:00
Behdad Esfahbod b5b577f29f [wasm-api] Make buffer_copy_contents return success 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 1023a80d39 [wasm] Fix up samples 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 4ad659a608 [wasm] Move wasm-graphite 2023-03-31 17:33:45 -06:00
Simon Cozens 514a8d58d8 [wasm-api] Add ergonomic Rust interface 2023-03-31 17:33:45 -06:00
Simon Cozens 74deaa9e78 [wasm-api] Restructure samples/libraries 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 4bdfaeecef [wasm-shape] Set glyph flags 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 77f0f3c11a [wasm-api] Make buffer_copy_contents return zero length on mem fail 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 16ecb96922 [wasm-api] Return success from buffer_contents_realloc 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 2568890d15 [wasm-shape] Retry shaping if out-of-memory 2023-03-31 17:33:45 -06:00
Behdad Esfahbod cb382e489d [wasm-shape] Cache wasm-shape-plan 2023-03-31 17:33:44 -06:00
Behdad Esfahbod 73de7d4d05 [wasm-api] Add shape_plan 2023-03-31 17:33:44 -06:00
Behdad Esfahbod a267249930 [wasm] Typo 2023-03-31 17:33:44 -06:00
Behdad Esfahbod 99d2dab30f [wasm] Try at autotools build 2023-03-31 17:33:44 -06:00
Behdad Esfahbod ed39e07661 [wasm] Fix docs 2023-03-31 17:33:44 -06:00
Behdad Esfahbod c5af08c0dc [wasm] Add to harfbuzz.cc and hb-features 2023-03-31 17:33:44 -06:00
Behdad Esfahbod aa8f9eed63 [wasm-shape] Use JIT running-modes if available
Build wasm-micro-runtime with:

$ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_FAST_JIT=1

or:

$ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_JIT=1

The latter needs llvm and is harder to get working. Still trying.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod 8d960dfe68 [wasm-sample] Remove Wasm table from test.ttf again
Was added by mistake.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod 1c6d640e1f [wasm-shaper] Whitespace 2023-03-31 17:33:44 -06:00