Index: content/common/gpu/client/gpu_channel_host.h |
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h |
index 7b78c2f3a6ab3dcde222c7e7a0864a57fb79539e..b27b0d3d06cc075ba672c656807f379da5c56357 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -38,6 +38,10 @@ namespace base { |
class MessageLoopProxy; |
} |
+namespace content { |
+struct GpuRenderingStats; |
+} |
+ |
namespace IPC { |
class SyncMessageFilter; |
} |
@@ -131,6 +135,10 @@ class GpuChannelHost : public IPC::Sender, |
// Destroy a command buffer created by this channel. |
void DestroyCommandBuffer(CommandBufferProxy* command_buffer); |
+ // Collect rendering stats from GPU process. |
+ bool CollectRenderingStats( |
+ int surface_id, content::GpuRenderingStats& stats); |
apatrick_chromium
2012/08/28 20:07:06
content::GpuRenderingStats* so it's clear this is
|
+ |
// Add a route for the current message loop. |
void AddRoute(int route_id, base::WeakPtr<IPC::Listener> listener); |
void RemoveRoute(int route_id); |