• kylechar's avatar
    Ensure contexts are lost before exiting GPU process. · fa018c93
    kylechar authored
    This CL switches the order notifying all contexts about context loss and
    restarting the GPU process for the exit_on_context_lost GPU driver bug
    workaround. This will ensure the contexts are lost before the process
    exists.
    
    Also add an early out so no new GPU channels are created while the GPU
    process is exiting. There is no point in creating new GPU channels at
    this point as it can only cause problems.
    
    Bug: 1011420
    Change-Id: I10294074cc9f2f087124f1cb68fedf22ed364a3e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866408
    Commit-Queue: kylechar <kylechar@chromium.org>
    Reviewed-by: default avatarJonathan Backer <backer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#707390}
    fa018c93
in_process_command_buffer.cc 66.8 KB