commit | 45cfd23cbd42aa6f110be7b45ed85fdc7e8d3bed | [log] [tgz] |
---|---|---|
author | danakj <danakj@chromium.org> | Wed Oct 18 19:31:31 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 18 19:31:31 2017 |
tree | 184652827da902f5404874dc5b03a0a46b26f660 | |
parent | 44aafc12e1fea083501b69c9340a91410dbb11cd [diff] |
Report fatal vs transient errors when initializing contexts Currently context creation and initialization reports back just true/false for if the process succeeded. This expands that information to a tri-state of success, fatal error, transient error. In the latter case, the client should retry making the context as it may succeed next time. This happens when, for instance, another client crashes the gpu process at the same time the context is being constructed. In the case of a fatal error, the context can not be made given the current inputs so either the gpu is not usable, or the client has a bug and is requesting an invalid context of some sort, but it will not make progress by retrying. So in this case the client should not retry and just fail back to a non-gpu mode. This information will allow us to remove the retry count when making the compositor context for the display compositor, removing the state machine in that code (as retry becomes a local decision from the result). TBR=raymes Bug: 772574 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Ic3574de9fccae42ac34ff8a5755d4cfa5f0dd2b0 Reviewed-on: https://chromium-review.googlesource.com/717548 Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#509836}
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 .