Trigger !synthetic_loss if driver is in a bad state
This is mostly based on the OOM detection added to SharedContextState, but may apply to Skia detected errors as well. If we detect |driver_needs_reset_|, we should have |GpuChannelManager::OnContextLost(false)| called to LoseAllContexts when context virtualization is enabled. Change-Id: Ife7e6c4db744b24ab2ed55476bed90b05eb1aebf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363071Reviewed-by:kylechar <kylechar@chromium.org> Commit-Queue: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#799160}
Showing
Please register or sign in to comment