summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_process_host.cc
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 02:54:52 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 02:54:52 +0000
commit9cc888e1f320445f3a7bd2bc0e4d7ec11eaa6e3f (patch)
tree358f48a2a88be45a80f237357490508f0f068fbd /content/browser/gpu/gpu_process_host.cc
parent32c0a769e38711f707ca760652f44b14dea36620 (diff)
downloadchromium_src-9cc888e1f320445f3a7bd2bc0e4d7ec11eaa6e3f.zip
chromium_src-9cc888e1f320445f3a7bd2bc0e4d7ec11eaa6e3f.tar.gz
chromium_src-9cc888e1f320445f3a7bd2bc0e4d7ec11eaa6e3f.tar.bz2
Add LatencyInfo support for Mac OS
This allows us to track the latency of drawing end-to-end on Macs. BUG=155367 R=kbr@chromium.org Review URL: https://codereview.chromium.org/16001008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204398 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.cc')
-rw-r--r--content/browser/gpu/gpu_process_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index fb9c479..6bf1c4a 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -940,6 +940,7 @@ void GpuProcessHost::OnAcceleratedSurfaceBuffersSwapped(
view_params.size = params.size;
view_params.scale_factor = params.scale_factor;
view_params.gpu_process_host_id = host_id_;
+ view_params.latency_info = params.latency_info;
helper->DidReceiveBackingStoreMsg(ViewHostMsg_CompositorSurfaceBuffersSwapped(
render_widget_id,
view_params));