commit | 124d0c675a3c0d4fcd48e5af8463b8b938b09080 | [log] [tgz] |
---|---|---|
author | Matt Buckley <mattbuckley@google.com> | Thu Jan 19 03:04:19 2023 +0000 |
committer | Matt Buckley <mattbuckley@google.com> | Sat Jan 21 02:41:29 2023 +0000 |
tree | fc4ee00fbd4658786176d3f87b1130fa2cf3c43f | |
parent | 0f5c1d95934a717e1ae00af5a419c60804db09ab [diff] |
Move hint session initialization to setSurface Hint session initialization was previously during draw() which can be problematic as it's not guaranteed to have unblocked choreographer yet. This moves it somewhere less problematic, and reports actual work durations in a separate renderthread callback to ensure these binders don't block the critical path more than necessary. Bug: 263755904 Test: manual Change-Id: Icd7e1fcd84cd3f493bea34d1b48d14444d2f5b68