Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: gpu/command_buffer/client/gpu_control.h

Issue 1919203003: Revert of Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 813d5630960734f3f1c3661bed5048cc9ab70f01..7baf62c2e2229a6023193dc251f3ef87b74fb347 100644
--- a/gpu/command_buffer/client/gpu_control.h
+++ b/gpu/command_buffer/client/gpu_control.h
@@ -69,6 +69,10 @@
// 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;
+
// When this function returns it ensures all previously flushed work is
// visible by the service. This command does this by sending a synchronous
// IPC. Note just because the work is visible to the server does not mean
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_unittest.cc ('k') | gpu/command_buffer/client/query_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698