commit | e0edc3af8c35b616e21ada6989a1ccbcda1a1571 | [log] [tgz] |
---|---|---|
author | Jiang Tian <[email protected]> | Tue Jan 09 11:52:05 2024 +0800 |
committer | John Reck <[email protected]> | Wed Jan 17 16:10:37 2024 -0500 |
tree | 05dca3909d930f0f9905b3b5367447d620c09dd8 | |
parent | a35c8f8305980ae5a89b09e81c0013e7c4350f6f [diff] |
Fix crash from asynchronous GPU metrics Making the scope more accurate that only acquire the lock when trying to access frame info in FrameInfoVisualizer, then make it irrelevant to the real draw operation. Bug: 317995179 Test: 1.going to developer options 2. swapping the "profile hwui" option from "none" to "bars" and back a couple times, no crash Change-Id: I069a28a7e847c0c3fca94fd9c43e95382f501b80