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

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

Issue 1864723003: Make lost context and error message callbacks on GpuControl go to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: errorcallback: blimp2 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 12ad377b5535cb0cb632e8f766e7900430b16b27..7baf62c2e2229a6023193dc251f3ef87b74fb347 100644
--- a/gpu/command_buffer/client/gpu_control.h
+++ b/gpu/command_buffer/client/gpu_control.h
@@ -29,6 +29,7 @@ class GpuMemoryBuffer;
}
namespace gpu {
+class GpuControlClient;
struct SyncToken;
// Common interface for GpuControl implementations.
@@ -37,6 +38,8 @@ class GPU_EXPORT GpuControl {
GpuControl() {}
virtual ~GpuControl() {}
+ virtual void SetGpuControlClient(GpuControlClient* gpu_control_client) = 0;
+
virtual Capabilities GetCapabilities() = 0;
// Create an image for a client buffer with the given dimensions and

Powered by Google App Engine
This is Rietveld 408576698