diff options
| author | 2023-06-14 15:25:12 -0700 | |
|---|---|---|
| committer | 2023-06-14 20:28:39 -0700 | |
| commit | 52c4f25d6e584e5a61e887cd652d1d9c460310d3 (patch) | |
| tree | 4be6f162cbd264d87038d7415b72a52fe972fbc0 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 580fb3af1743d2a6e12bd8c3f933641644e5eb4a (diff) | |
[sf] fix overflow in snapshot generator
Fixes a couple of issues that caused the snapshot
builder to crash from a stack overflow:
- mirror layers were temporarily rooted to the display
with the default layer stack
- there was no check to prevent a layer from mirroring
itself (causing a cycle in the hierarchy)
Also modifies the layer trace generator to easily generate
test data for the transaction trace test suite.
Test: atest transactiontrace_testsuite
Fixes: 282110579
Change-Id: I2954f838e333b857b4b755e11666c2580d97c2b6
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions