commit | 2ce1a784e947e1e799bc249da2a8debea34b0ed4 | [log] [tgz] |
---|---|---|
author | RĂ©mi Doreau <doreau@fuchsia.infra.roller.google.com> | Wed Feb 02 18:05:59 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 02 10:07:23 2022 -0800 |
tree | 0994a06cef4ff9adadf128a63de258a992c8d55a | |
parent | 744428a1e0503b4160896738ad0902904821e308 [diff] |
[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
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.