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

Unified Diff: gpu/command_buffer/service/error_state.h

Issue 689633003: Improve context loss error handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 2 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/service/error_state.h
diff --git a/gpu/command_buffer/service/error_state.h b/gpu/command_buffer/service/error_state.h
index 95f118c53c95d93e7952c893263a0a26ccdd9d4f..96815655c23500f53d614189ebf81653e378cf31 100644
--- a/gpu/command_buffer/service/error_state.h
+++ b/gpu/command_buffer/service/error_state.h
@@ -59,6 +59,7 @@ class Logger;
class GPU_EXPORT ErrorStateClient {
public:
+ virtual void OnContextLostError() = 0;
// GL_OUT_OF_MEMORY can cause side effects such as losing the context.
virtual void OnOutOfMemoryError() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698