Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
| =================================================================== |
| --- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 190356) |
| +++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy) |
| @@ -2853,6 +2853,15 @@ |
| if (WasContextLost()) { |
| LOG(ERROR) << " GLES2DecoderImpl: Context lost during MakeCurrent."; |
| + |
| + // Some D3D drivers cannot recover from device lost in the GPU process |
| + // sandbox. Allow a new GPU process to launch. |
| + if (workarounds().exit_on_context_lost) { |
| + LOG(ERROR) << "Exiting GPU process because some drivers cannot reset" |
| + << " a D3D device in the Chrome GPU process sandbox."; |
|
Ken Russell (switch to Gerrit)
2013/03/27 02:04:11
Consider changing this message to be either more g
|
| + exit(1); |
| + } |
| + |
| return false; |
| } |