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 0adf93a93f732d6e77a35590a6df9b2c09552968..2d8c036061fae9f57aff658658238ec682b97518 100644 |
--- a/gpu/command_buffer/client/gpu_control.h |
+++ b/gpu/command_buffer/client/gpu_control.h |
@@ -89,9 +89,13 @@ class GPU_EXPORT GpuControl { |
// 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. |
+ // (on server) in a single server process. The extra command buffer data can |
+ // be used for extra identification purposes. One usage is to store some |
+ // extra field to identify unverified sync tokens for the implementation of |
+ // the CanWaitUnverifiedSyncToken() function. |
virtual CommandBufferNamespace GetNamespaceID() const = 0; |
virtual uint64_t GetCommandBufferID() const = 0; |
+ virtual uint32_t GetExtraCommandBufferData() const = 0; |
// Fence Syncs use release counters at a context level, these fence syncs |
// need to be flushed before they can be shared with other contexts across |