commit | 6fdf114e80c74eef33597f13322a9136f2ff96e1 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Wed Oct 07 12:09:09 2020 -0700 |
committer | Dominik Laskowski <domlaskowski@google.com> | Sun Oct 25 23:35:03 2020 -0700 |
tree | 955fdfd2244bb672f0b7040beefca73536202864 | |
parent | d0aa7ce6716002aab586461f7accf83051d387f9 [diff] |
FTL: Add StaticVector<T, N> FTL is a template library shared by SurfaceFlinger and InputFlinger. StaticVector is a hybrid of std::array and std::vector, a statically allocated container with fixed capacity. It will serve as a base for SmallVector and SmallMap. Bug: 160012986 Test: ftl_test Test: Apply ag/12919186 and compare assembly Change-Id: I821c736f3411e970402faf19d9238b68c056ca93