Simplified Composition/Layer API.

This patch updates forma to work with the new Composition API.

It also refactors linear color and removes an unused config.

Change-Id: I80cc922fca3a2df9359218eee401bab13add432e
9 files changed
tree: 9bd1d254ad0c71397763795b173ce3a331b3dedd
  1. .cargo/
  2. assets/
  3. benches/
  4. demo/
  5. pristine/
  6. web/
  7. .gitignore
  8. AUTHORS
  9. Cargo.toml
  10. clone.sh
  11. CONTRIBUTING.md
  12. LICENSE
  13. PATENTS
  14. presubmit.sh
  15. 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