ViewRootImpl/SurfaceView: Listen for queue stalls
Native machinery now reports queue stalls from native layer up to java layer, which can more appropriately handle errors. The first case we handle is the case of "stuck fences", generally indicating GPU hangs. In this case we trigger a bespoke ANR rather than waiting for an ANR in dequeueBuffers later. dequeueBuffers ANR could have any number of causes, and this large cluster is difficult to debug. Bug: 216160569 Test: Existing tests pass Change-Id: I7b4429ce96d0bbfa1b74534ddf2b447facb22d10
Loading
Please register or sign in to comment