commit | fc4165121b6343e674f3899784eeef367f3801fa | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Thu Apr 02 12:32:44 2020 -0700 |
committer | Robert Carr <racarr@google.com> | Thu Apr 02 12:35:00 2020 -0700 |
tree | b2b1dcd294e402b1be249d98d41b450911e735d9 | |
parent | 4fda61f5e6da553886ff8e84016db12d7c67a9ab [diff] |
BLASTBufferQueue: Avoid duplicate calls to setDefaultBufferSize Calling in to the consumer may acquire the BufferQueueCore mutex. We call BLASTBufferQueue::update from the UI thread. And so we can accidentally end up blocking the UI thread on allocateBuffers() during app start-up. Bug: 152501005 Test: Flip BLAST. Play. Change-Id: I89034211ed5725b5be6391cc2bac748c0acf1eb3