commit | c747ad017f88e29b3b54c75dab9015fd1ed003f4 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Fri Jun 11 14:01:24 2021 -0700 |
committer | Robert Carr <racarr@google.com> | Tue Jun 15 11:45:17 2021 -0700 |
tree | 4782941f8bca74be1d15c9b85f0b3d6ecd4a6ff4 | |
parent | 13a864c4702e4303b6ccb26ae0cbe573bf62e2da [diff] |
onPostComposition doesnt need to run on layers without queued frames If we didn't latch a buffer with this frame, we will just return early from onPostComposition and so we can safe traversal overhead by just iterating mLayersWithQueuedFrames directly. Test: Existing tests pass. simpleperf Bug: 186200583 Change-Id: I8f72100f15d2b381e2480ee4c40f6ba79030e092