commit | a19f4b6238368bd56739513b4e2de50091274b20 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Tue Apr 21 00:27:31 2020 -0700 |
committer | Dominik Laskowski <domlaskowski@google.com> | Fri May 15 20:42:49 2020 +0000 |
tree | 2e16b7eff961e9a41f86d47fc69dba2c991f4e0c | |
parent | 17884fa8eae1453467ea1d18cefc870cadae20ec [diff] |
SF: Enforce thread safety for SurfaceFlinger class Add thread annotations to display state and accessors. Add macros and RAII helpers as escape hatches that are stricter and more meaningful than NO_THREAD_SAFETY_ANALYSIS, and emit error on use of the latter. Bug: 123715322 Test: Build Change-Id: Ibada81998d70c940c7406ef292b2d487fb02189d Merged-In: Ibada81998d70c940c7406ef292b2d487fb02189d