[forma] Fix filling and add more e2e tests.

CPU Fill x coordinate was off by 1.
GPU texture bounds were larger than the actual image.
Also added texture and pixel cover tests.

Change-Id: Ib6597882cef53a5dda6095ab0b0c0b057fae92d2
Reviewed-on: https://fuchsia-review.googlesource.com/c/forma/+/693706
Reviewed-by: DragoČ™ Tiselice <dtiselice@google.com>
41 files changed
tree: 9e8a42214ff9739e71b9d6ccab75fcedaf05e3fd
  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