|
Plumbing input event latency reporting through Mus GPU.
Adds support for input event latency reporting for Mus.
There's two subtle differences between the Mus flow and the non-Mus flow:
- DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT is logged if there are ANY latency
components present.
- OnGpuSwapBuffersCompleted() is called if there are ANY latency components
present.
In non-Mus flow these are done only when there are browser-specific latency
components present. In practice this shouldn't have any effect on UMA latency
reporting, because currently OnGpuSwapBuffersCompleted() exits early if it doesn't
see RWH-specific latency components. However it should prove useful for getting
latency data for non-blink use cases in the future.
Other changes:
- Adds logging of DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT in
SurfaceFactory::SubmitCompositorFrame().
- Plumbs through LatencyInfo propagation for the in-process GPU
command buffer case (i.e. for Mus GPU).
- Adds LatencyTracker to DisplayOutputSurface, and calls
LatencyTracker::OnGpuSwapBuffersCompleted from
DisplayOutputSurface::OnGpuSwapBuffersCompleted, which ensures UMA latency
data is reported in Mus.
TBR=bbudge@chromium.org,danakj@chromium.org
BUG= 686865
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2806163004
Cr-Commit-Position: refs/heads/master@{#464664}
Committed: https://chromium.googlesource.com/chromium/src/+/426ea5dd2cf7061a7860a34d502f2c191a343a8e
Total comments: 2
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+184 lines, -17 lines) |
Patch |
|
M |
cc/surfaces/compositor_frame_sink_support_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+27 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/surfaces/surface_factory.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/test/test_context_support.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/test/test_context_support.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
gpu/command_buffer/client/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/client_test_helper.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/context_support.h
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/gles2_implementation.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/gpu_control.h
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/tests/gl_manager.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/tests/gl_manager.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/gles2_conform_support/egl/context.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/gles2_conform_support/egl/context.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
gpu/ipc/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/client/command_buffer_proxy_impl.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/ipc/client/command_buffer_proxy_impl.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
gpu/ipc/in_process_command_buffer.h
|
View
|
1
2
|
4 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/ipc/in_process_command_buffer.cc
|
View
|
1
2
3
|
6 chunks |
+29 lines, -3 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppapi_command_buffer_proxy.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppapi_command_buffer_proxy.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
services/ui/surfaces/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
services/ui/surfaces/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
services/ui/surfaces/display_output_surface.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
services/ui/surfaces/display_output_surface.cc
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/latency/BUILD.gn
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/latency/latency_info.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/latency/latency_info_test_support.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 36 (21 generated)
|