Fix bench compilation.

Also fix an bench id clash happening because the parameter
was set to 0 for each benchmark in the group.

Change-Id: Ic303aa2ed70de51dc7b83f33d25fb83053eae7a8
Reviewed-on: https://fuchsia-review.googlesource.com/c/forma/+/689482
Reviewed-by: DragoČ™ Tiselice <dtiselice@google.com>
2 files changed
tree: 5356bebb05a7233d695bdef653aaad63d79cdb4d
  1. .cargo/
  2. assets/
  3. benches/
  4. demo/
  5. gpu/
  6. pristine/
  7. web/
  8. .gitignore
  9. AUTHORS
  10. Cargo.toml
  11. clone.sh
  12. CONTRIBUTING.md
  13. LICENSE
  14. PATENTS
  15. presubmit.sh
  16. 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