[goldfish] Support R8 and R8G8 color buffers. (2/3)

This adds support to color buffers of R8 and R8G8 formats.
These formats are currently used in Chromium to store
YUV formats.

TEST=Added test suite ColorBufferTests/GoldfishCreateColorBufferTest
     which tests creating color buffers using each
     ColorBufferFormatType.

Bug: 62493
Change-Id: Ib659cc50732b3852f3fb2307df3170288c3dcd23
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/443176
Reviewed-by: Dale Sather <dalesat@google.com>
Reviewed-by: David Reveman <reveman@google.com>
Commit-Queue: Yilong Li <liyl@google.com>
Testability-Review: David Reveman <reveman@google.com>
API-Review: Dale Sather <dalesat@google.com>
3 files changed
tree: 1100e749dede9ea537eb08178af24d04dc8ab856
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .gitattributes
  17. .gitignore
  18. .gn
  19. .style.yapf
  20. AUTHORS
  21. BUILD.gn
  22. CODE_OF_CONDUCT.md
  23. CONTRIBUTING.md
  24. LICENSE
  25. OWNERS
  26. PATENTS
  27. README.md
  28. 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.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.