commit | aa43e385a9d01176f00c92daf952dfa971d416b5 | [log] [tgz] |
---|---|---|
author | kylechar <kylechar@chromium.org> | Fri Jun 08 20:59:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 08 20:59:40 2018 |
tree | 921a19f512cd00da33a2a82ea2d84362188fc4c4 | |
parent | 1eb9ae81e31e95eec7e66f62b851b1f7a97e0b97 [diff] |
Improve GPU mode fallback on GPU crash. Use base::TimeTicks instead of base::Time for calculating the time difference between crashes. base::Time can produce a negative delta, which could make the crash count bigger instead of smaller. Forgive crashes quicker for when the GPU process running only the display compositor. The consequences of hitting kGpuMaxCrashCount is more severe for this case since it crashes the browser process. I think users would rather occasional flicker from GPU crashes to browser crashes. Try forgiving one GPU process crash every 10 minutes in this case. For hardware accelerated or SwiftShader GPU process crashes leave the forgiveness time unchanged at 60 minutes. Bug: 849639 Change-Id: Idc2f4d7c7b0c31d4090a36d3bd11a8f005baa5d1 Reviewed-on: https://chromium-review.googlesource.com/1093013 Reviewed-by: Zhenyao Mo <zmo@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#565739}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .