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

Issue 2814483002: Splitting up RenderWidgetHostLatencyTracker and some renames. (Closed)

Created:
3 years, 8 months ago by mfomitchev
Modified:
3 years, 8 months ago
Reviewers:
tdresser, piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, abarth-chromium, jbauman+watch_chromium.org, Aaron Boodman, darin-cc_chromium.org, yzshen+watch_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Splitting up RenderWidgetHostLatencyTracker and some renames. This is in preparation for latency reporting in Mus - see CL https://codereview.chromium.org/2806163004. - Splits out RWHLatencyTracker::OnGpuSwapBuffersCompleted(), moving it into a separate LatencyTracker class, which RWHLatencyTracker extends - Renames INPUT_EVENT_BROWSER_RECEIVED_RENDERER_SWAP_COMPONENT to DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT - Renames SetLatencyInfo in PassThroughImageTransportSurface and CommandBufferProxyImpl to AddLatencyInfo. TBR=tsepez@chromium.org BUG=686865 CQ_INCLUDE_TRYBOTS=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/2814483002 Cr-Commit-Position: refs/heads/master@{#463464} Committed: https://chromium.googlesource.com/chromium/src/+/598a769a9e1dc76058c61ccd0c9e2eb60ca776e5

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 8

Patch Set 3 : Addressing feedback #

Total comments: 2

Patch Set 4 : Addressing nit #

Patch Set 5 : [Moving OnGpuSwapBuffersCompleted() back up. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -751 lines) Patch
M content/browser/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/render_widget_host_latency_tracker.h View 4 chunks +9 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/render_widget_host_latency_tracker.cc View 1 5 chunks +23 lines, -263 lines 0 comments Download
M content/browser/renderer_host/input/render_widget_host_latency_tracker_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M gpu/ipc/client/command_buffer_proxy_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/ipc/client/command_buffer_proxy_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/ipc/service/pass_through_image_transport_surface.h View 1 chunk +3 lines, -1 line 0 comments Download
M gpu/ipc/service/pass_through_image_transport_surface.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/latency/BUILD.gn View 2 chunks +4 lines, -1 line 0 comments Download
M ui/latency/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
A ui/latency/latency_histogram_macros.h View 1 chunk +45 lines, -0 lines 0 comments Download
M ui/latency/latency_info.h View 2 chunks +10 lines, -3 lines 0 comments Download
M ui/latency/latency_info.cc View 1 2 3 2 chunks +15 lines, -1 line 0 comments Download
A ui/latency/latency_tracker.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A + ui/latency/latency_tracker.cc View 1 2 3 4 10 chunks +73 lines, -460 lines 0 comments Download
M ui/latency/mojo/latency_info.mojom View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/latency/mojo/latency_info_struct_traits.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (18 generated)
mfomitchev
3 years, 8 months ago (2017-04-10 16:00:01 UTC) #10
tdresser
Thanks for splitting this up. Looks pretty good, just a couple high level questions. https://codereview.chromium.org/2814483002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc ...
3 years, 8 months ago (2017-04-10 16:15:54 UTC) #11
mfomitchev
https://codereview.chromium.org/2814483002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc File content/browser/renderer_host/input/render_widget_host_latency_tracker.cc (right): https://codereview.chromium.org/2814483002/diff/20001/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc#newcode147 content/browser/renderer_host/input/render_widget_host_latency_tracker.cc:147: void RenderWidgetHostLatencyTracker::ComputeInputLatencyHistograms( On 2017/04/10 16:15:54, tdresser wrote: > How ...
3 years, 8 months ago (2017-04-10 19:00:07 UTC) #14
tdresser
LGTM! https://codereview.chromium.org/2814483002/diff/40001/ui/latency/latency_info.cc File ui/latency/latency_info.cc (right): https://codereview.chromium.org/2814483002/diff/40001/ui/latency/latency_info.cc#newcode367 ui/latency/latency_info.cc:367: it++; ++it
3 years, 8 months ago (2017-04-10 20:26:56 UTC) #16
mfomitchev
https://codereview.chromium.org/2814483002/diff/40001/ui/latency/latency_info.cc File ui/latency/latency_info.cc (right): https://codereview.chromium.org/2814483002/diff/40001/ui/latency/latency_info.cc#newcode367 ui/latency/latency_info.cc:367: it++; On 2017/04/10 20:26:56, tdresser wrote: > ++it Done.
3 years, 8 months ago (2017-04-10 21:18:07 UTC) #17
mfomitchev
piman@chromium.org: Please review changes in gpu/ and content/browser/
3 years, 8 months ago (2017-04-10 21:20:56 UTC) #19
mfomitchev
TBR tsepez@chromium.org for mechanical rename in ui/latency/mojo
3 years, 8 months ago (2017-04-10 21:24:31 UTC) #21
piman
lgtm
3 years, 8 months ago (2017-04-10 22:29:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2814483002/80001
3 years, 8 months ago (2017-04-10 22:32:52 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 00:31:58 UTC) #28
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/598a769a9e1dc76058c61ccd0c9e...

Powered by Google App Engine
This is Rietveld 408576698