commit | 1d9de71ed9b346e2f7ca1817a116b9111788081b | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Fri May 14 09:28:34 2021 -0400 |
committer | Greg Daniel <egdaniel@google.com> | Fri May 14 10:42:34 2021 -0400 |
tree | 691d6d82dafe9528d2c590f6bdc245e8e99e323b | |
parent | f477c8fb75b5d6a57229403fb3a2be9c5e4b93cf [diff] |
Add a mutex to VulkanManager::initialize. The initialize call can be made from both an GrallocUploadThread and the RenderThread. So we need a mutex to make sure both threads don't try to initialize in parallel. Bug: 187218890 Test: manual running of device, guessing this could fix bug. Change-Id: I203afd91fad5eacc131c839dff1a1065864b76f8