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
Loading
Please register or sign in to comment