summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h')
-rw-r--r--content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index b56c4a4..ca88136 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -83,6 +83,10 @@ class WebGraphicsContext3DCommandBufferImpl
virtual ~WebGraphicsContext3DCommandBufferImpl();
+ // The following 3 IDs let one uniquely identify this context.
+ // Gets the GPU process ID for this context.
+ int GetGPUProcessID();
+
CommandBufferProxyImpl* GetCommandBufferProxy() {
return command_buffer_.get();
}