[scenic] Add FenceQueue class

Adds a FenceQueue helper class that implements the behavior currently
in scenic::Session when handling Present calls. It takes a closure and a
number of fences. The closure does not fire until all the fences for
that closure have been signaled, nor before all previous closures have
completed.

Fixed: 54879
Test: fx test escher_unittests -- --gtest_filter=*FenceQueue*
Change-Id: Iea7b36e6ff91aec27c256d37eeafdde6283f2746
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/401310
Commit-Queue: Mikael Pessa <mikaelpessa@google.com>
Reviewed-by: Evan Birenbaum <birenbaum@google.com>
Testability-Review: Evan Birenbaum <birenbaum@google.com>
5 files changed
tree: 1805d6a43907fe0c956f89cbea8b477c74d4365d
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.