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 75bd082a34da478b9247d294c050e2cb8c864fcb..7065d1edb44c27e6904166091e2a4ab299d01819 100644 |
--- a/gpu/command_buffer/client/gpu_control.h |
+++ b/gpu/command_buffer/client/gpu_control.h |
@@ -12,6 +12,7 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "gpu/command_buffer/common/capabilities.h" |
+#include "gpu/command_buffer/common/constants.h" |
#include "gpu/command_buffer/common/mailbox.h" |
#include "gpu/gpu_export.h" |
@@ -89,6 +90,12 @@ class GPU_EXPORT GpuControl { |
// should be considered as lost. |
virtual bool IsGpuChannelLost() = 0; |
+ // The namespace and command buffer ID forms a unique pair for all existing |
+ // GpuControl (on client) and matches for the corresponding command buffer |
+ // (on server) in a single server process. |
+ virtual CommandBufferNamespace GetNamespaceID() const = 0; |
+ virtual uint64_t GetCommandBufferID() const = 0; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(GpuControl); |
}; |