[roll] Roll fuchsia [flatland] Modify how `root_transforms` are computed for hit testing.

The original motivation was noticing that the `root_transforms` in
GlobalTopologyData are only used in view tree computation, not
rendering.  So we can improve RenderCPU metrics (and overall CPU use,
since most frames don't modify the view tree) by deferring this
computation until needed.

An additional improvement is to use a vector instead of a map.  The
`root_transforms` are only used during hit testing, which is already
based on indices into the global topology vector.  Since these indices
are already available, it's faster to index into a flat vector.

Original-Original-Bug: 518215045
Test: flatland_unittests
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1632214
Original-Original-Revision: 36e4d539e407f71ea9a0f07c2207d0d2acfc3cdd
GitOrigin-RevId: b47688d3d0e36feca253636c6495e8058baf55f8
Change-Id: I9ed0dd0b895c0ff6ae36d28edcce8ad5992da940
1 file changed
tree: 098a6c013310b8d48961188746946c7a41a3af51
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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 in one of the communication channels documented at get involved.

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.