Removed sorter size limitation.

This patch removes the limitation of the coveyor sort library that
required buffers to be block-length multiples.

This introduces a small 2-3% loss in sorting performance.

Change-Id: I2c5f7b4ca8f12ac75fdda6e8e8de79933b921665
Reviewed-on: https://fuchsia-review.googlesource.com/c/forma/+/713003
Reviewed-by: Randall Bosetti <rlb@google.com>
3 files changed
tree: 2c7566bd2407d5ba1ab51e7b7795a05a4b345a2f
  1. .cargo/
  2. assets/
  3. benches/
  4. demo/
  5. e2e_tests/
  6. gpu/
  7. pristine/
  8. web/
  9. .gitignore
  10. AUTHORS
  11. Cargo.toml
  12. clone.sh
  13. CONTRIBUTING.md
  14. LICENSE
  15. PATENTS
  16. presubmit.sh
  17. README.md
README.md

forma. The parallel CPU vector renderer

forma is a highly efficient vector content renderer that makes use of all processor cores and vector units.

Getting started

Requirements:

Clone the forma repositories from Fuchsia by running:

./clone.sh

Build the demo:

RUSFTLAGS="-C target-cpu=native" cargo build --release

Then run:

./target/release/demo rive assets/rive/juice.riv