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

Issue 541033003: Added coordinates information to InputLatency (Closed)

Created:
6 years, 3 months ago by cvicentiu
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Added coordinates information to InputLatency The coordinates information will be used in trace-viewer to display input coordinates within the chrome compositor view. BUG=

Patch Set 1 #

Total comments: 25

Patch Set 2 : Addressed Comments #

Patch Set 3 : Fixed a few remaining coding style issues #

Total comments: 2

Patch Set 4 : Addresses code style comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -8 lines) Patch
M cc/trees/layer_tree_impl.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 8 chunks +49 lines, -7 lines 0 comments Download
M ui/events/ipc/latency_info_param_traits.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M ui/events/latency_info.h View 1 3 chunks +7 lines, -0 lines 2 comments Download
M ui/events/latency_info.cc View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (3 generated)
Sami
https://codereview.chromium.org/541033003/diff/1/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/541033003/diff/1/cc/trees/layer_tree_impl.cc#newcode853 cc/trees/layer_tree_impl.cc:853: state->BeginArray("traced_input_latency_ids"); swap_promise_trace_ids https://codereview.chromium.org/541033003/diff/1/cc/trees/layer_tree_impl.cc#newcode855 cc/trees/layer_tree_impl.cc:855: state->AppendDouble(swap_promise_list_[i]->TraceId()); indent++ https://codereview.chromium.org/541033003/diff/1/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc ...
6 years, 3 months ago (2014-09-04 19:10:44 UTC) #2
cvicentiu
https://codereview.chromium.org/541033003/diff/1/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/541033003/diff/1/cc/trees/layer_tree_impl.cc#newcode853 cc/trees/layer_tree_impl.cc:853: state->BeginArray("traced_input_latency_ids"); On 2014/09/04 19:10:43, Sami wrote: > swap_promise_trace_ids Done. ...
6 years, 3 months ago (2014-09-05 17:19:57 UTC) #3
Sami
https://codereview.chromium.org/541033003/diff/40001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/541033003/diff/40001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1140 content/browser/renderer_host/render_widget_host_impl.cc:1140: info.coordinates = physical_coordinates; Clear & append this directly. https://codereview.chromium.org/541033003/diff/40001/ui/events/latency_info.cc ...
6 years, 3 months ago (2014-09-05 17:26:02 UTC) #4
cvicentiu
miletus@chromium.org: Is this a good way to do this?
6 years, 3 months ago (2014-09-05 18:09:06 UTC) #6
Yufeng Shen (Slow to review)
On 2014/09/05 18:09:06, cvicentiu wrote: > mailto:miletus@chromium.org: Is this a good way to do this? ...
6 years, 3 months ago (2014-09-05 18:32:59 UTC) #7
Sami
On 2014/09/05 18:32:59, Yufeng Shen wrote: > On 2014/09/05 18:09:06, cvicentiu wrote: > > mailto:miletus@chromium.org: ...
6 years, 3 months ago (2014-09-05 18:59:29 UTC) #8
Yufeng Shen (Slow to review)
On 2014/09/05 18:59:29, Sami wrote: > On 2014/09/05 18:32:59, Yufeng Shen wrote: > > On ...
6 years, 3 months ago (2014-09-08 18:28:52 UTC) #9
Yufeng Shen (Slow to review)
https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h File ui/events/latency_info.h (right): https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h#newcode99 ui/events/latency_info.h:99: typedef std::vector<gfx::PointF> InputCoordinates; I know Jared has concern about ...
6 years, 3 months ago (2014-09-08 18:29:01 UTC) #10
Sami
On 2014/09/08 18:28:52, Yufeng Shen wrote: > OK. One think to keep in mind is ...
6 years, 3 months ago (2014-09-08 18:32:09 UTC) #11
Yufeng Shen (Slow to review)
On 2014/09/08 18:32:09, Sami wrote: > On 2014/09/08 18:28:52, Yufeng Shen wrote: > > OK. ...
6 years, 3 months ago (2014-09-08 18:41:33 UTC) #12
Yufeng Shen (Slow to review)
+ Jared and Sadrul.
6 years, 3 months ago (2014-09-08 18:44:16 UTC) #14
jdduke (slow)
On 2014/09/08 18:44:16, Yufeng Shen wrote: > + Jared and Sadrul. Can this not be ...
6 years, 3 months ago (2014-09-08 20:10:53 UTC) #15
jdduke (slow)
https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h File ui/events/latency_info.h (right): https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h#newcode99 ui/events/latency_info.h:99: typedef std::vector<gfx::PointF> InputCoordinates; On 2014/09/08 18:29:01, Yufeng Shen wrote: ...
6 years, 3 months ago (2014-09-08 20:12:19 UTC) #16
jdduke (slow)
https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h File ui/events/latency_info.h (right): https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h#newcode99 ui/events/latency_info.h:99: typedef std::vector<gfx::PointF> InputCoordinates; On 2014/09/08 18:29:01, Yufeng Shen wrote: ...
6 years, 3 months ago (2014-09-08 20:12:20 UTC) #17
Sami
On 2014/09/08 20:12:20, jdduke wrote: > https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h > File ui/events/latency_info.h (right): > > https://codereview.chromium.org/541033003/diff/60001/ui/events/latency_info.h#newcode99 > ...
6 years, 3 months ago (2014-09-09 11:09:09 UTC) #18
chromium-reviews
On Tue, Sep 9, 2014 at 7:09 AM, <skyostil@chromium.org> wrote: > On 2014/09/08 20:12:20, jdduke ...
6 years, 3 months ago (2014-09-09 14:09:07 UTC) #19
jdduke (slow)
On 2014/09/09 11:09:09, Sami wrote: > The immediate motivation is improving trace viewer's input visualization ...
6 years, 3 months ago (2014-09-09 15:03:50 UTC) #20
Sami
I took another look at this and ran into a NaCl linking issue because we're ...
6 years, 3 months ago (2014-09-12 16:14:40 UTC) #21
Yufeng Shen (Slow to review)
6 years, 3 months ago (2014-09-12 18:23:09 UTC) #22
On 2014/09/12 16:14:40, Sami wrote:
> I took another look at this and ran into a NaCl linking issue because we're
not
> building the IPC marshaling code for NaCl:
> 
>
../../out_linux/Debug/gen/tc_irt/lib64/liblatency_info_nacl.a(latency_info_param_traits_31340469.o):
> error: undefined reference to
> 'IPC::ParamTraits<gfx::PointF>::Write(IPC::Message*, gfx::PointF const&)'
> 
> Yufeng, since you added liblatency_info_nacl.a, do you have a feeling if it
> would be better to bring the necessary gfx types to NaCl or just use an array
of
> floats to side-step the issue? I don't know much about working with NaCl.

Just using floats is easier.

Powered by Google App Engine
This is Rietveld 408576698