[roll] Roll fuchsia [mold] Abstract buffers.

This patch updates the way buffers are used in mold. It aims to abstract over
the possible layouts that the Buffer type can have. For the moment, only
LinearLayout is implemented but it will allow us to implement other layout
types in the future.

Every layout type has a TileWriter associated with it that will be in
charge of writing in the buffer.

When rendering, we iterate over each tile and create an associated
TileWriter instance depending on the layout.

This patch introduces:
- a new type, SplitsCache, that encapsulates cached buffer pointer usage
  in a safe wrapper
- a Layout trait to create new layout types (e.g LinearLayout)
- a TileWriter trait used by the Layout to write to the buffer (e.g
LinearTileWriter)

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/613647
Original-Revision: 7edfc405dd0071b790d6f55727123b9b65cc0a67
GitOrigin-RevId: 3e78a15b8443dfca976aac67eef5fa291941a919
Change-Id: Iaf200c791f6e07fea848b939d87f1b86c4cd1554
1 file changed
tree: 0994a06cef4ff9adadf128a63de258a992c8d55a
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.