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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 10868048: Report texture upload time in renderingStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add surface_id to GpuChannelMsg_CollectRenderingStats and collect both global and surface specific … Created 8 years, 4 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: 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);
« no previous file with comments | « no previous file | content/common/gpu/client/gpu_channel_host.cc » ('j') | content/common/gpu/client/gpu_channel_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698