DCHECK if shader compilation fails that it's due to context loss.
Add GetGraphicsResetStatusKHR() to GLES2Interface so GLHelper
code can verify this.
Adds IsGpuChannelLost() to GpuControl to tell if the
GpuChannelHost has lost its connection to the GPU process,
which is implemented in CommandBufferProxyImpl.
Uses this along with the GetLastState() on the CommandBuffer
(via CommandBufferHelper::IsContextLost()) to tell if the
context is lost from GLES2Implementation.
R=piman@chromium.org
TBR=sky
BUG=492447
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1160863007
Cr-Commit-Position: refs/heads/master@{#333404}
CrOS-Libchrome-Original-Commit: b7c7364c8783728bf33dc3edbef59cdce4aefb40
4 files changed