Index: gpu/command_buffer/client/gpu_control.h |
diff --git a/gpu/command_buffer/client/gpu_control.h b/gpu/command_buffer/client/gpu_control.h |
index 2b303b3b4d58ced50269d00d2598e29c248dcf4d..75bd082a34da478b9247d294c050e2cb8c864fcb 100644 |
--- a/gpu/command_buffer/client/gpu_control.h |
+++ b/gpu/command_buffer/client/gpu_control.h |
@@ -85,6 +85,10 @@ class GPU_EXPORT GpuControl { |
// may not be supported with all implementations. |
virtual void SetLock(base::Lock*) = 0; |
+ // Returns true if the channel to the Gpu is lost. When true, all contexts |
+ // should be considered as lost. |
+ virtual bool IsGpuChannelLost() = 0; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(GpuControl); |
}; |