[sf] Switch layer trace generator to use the new sf front end
Previously we used a mocked up flinger to playback the transactions and then generate the layers trace. This was prone to data races since layers were added on binder thread and transactions were committed on the main thread. This would lead to invalid data being generated or crashes. This cl modifies the transaction traces to capture state changes in the main thread and uses the new front end logic to generate the layer snapshots. New front end has no dependencies to the rest of surfaceflinger and will be more robust in recreating layer snapshots . Test: presubmit Test: capture layers and transaction traces Fixes: 255901752 Change-Id: I416bff27c90eae1ab8383cbfff4403b0e93c1006
Loading
Please register or sign in to comment