diff options
author | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-16 18:25:44 +0000 |
---|---|---|
committer | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-16 18:25:44 +0000 |
commit | 030d4c5068925f73b85a29c29875dcbbfcdb6f9d (patch) | |
tree | 78f21b44f51907e0dd8b98e498828ae33c83fa62 /content/common/gpu/gpu_command_buffer_stub.h | |
parent | 326b71ab656d94ffa8517de3c525dcc79404a920 (diff) | |
download | chromium_src-030d4c5068925f73b85a29c29875dcbbfcdb6f9d.zip chromium_src-030d4c5068925f73b85a29c29875dcbbfcdb6f9d.tar.gz chromium_src-030d4c5068925f73b85a29c29875dcbbfcdb6f9d.tar.bz2 |
Remove gpu side LatencyInfo merging
This CL removes the LatecyInfo merging from the following path:
Compsitor to GPU:
CommandBufferProxyImpl::SetLatencyInfo()
-> (GpuCommandBufferMsg_SetLatencyInfo)
-> GpuCommandBufferStub::OnSetLatencyInfo()
-> ImageTransportHelper::SetLatencyInfo()
-> XXXImageTransportSurface:SetLatencyInfo()
After swap buffers:
XXXImageTransportSurface::SwapBuffers()
-> (GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params/
GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params/
GpuHostMsg_FrameDrawn)
-> RenderWidgetHostView
BUG=246034
TEST=unittests pass.
Tested on Pixel. chrome://tracing shows correct InputLatency tracking for
various inputs.
Review URL: https://codereview.chromium.org/123563002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245260 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/gpu_command_buffer_stub.h')
-rw-r--r-- | content/common/gpu/gpu_command_buffer_stub.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h index 247329e..4539f6a 100644 --- a/content/common/gpu/gpu_command_buffer_stub.h +++ b/content/common/gpu/gpu_command_buffer_stub.h @@ -61,7 +61,7 @@ class GpuCommandBufferStub virtual ~DestructionObserver() {} }; - typedef base::Callback<void(const ui::LatencyInfo&)> + typedef base::Callback<void(const std::vector<ui::LatencyInfo>&)> LatencyInfoCallback; GpuCommandBufferStub( @@ -196,7 +196,7 @@ class GpuCommandBufferStub void OnCommandProcessed(); void OnParseError(); - void OnSetLatencyInfo(const ui::LatencyInfo& latency_info); + void OnSetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); void ReportState(); |