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

Issue 2937233002: Use HitTestAggregator in GpuRootCompositorFrameSink (Closed)

Created:
3 years, 6 months ago by gklassen
Modified:
3 years, 5 months ago
Reviewers:
rjkroege, Fady Samuel
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use HitTestAggregator in GpuRootCompositorFrameSink GpuRootCompositorFrameSink creates an instance of HitTestAggregator and provides the notifications required when surfaces are added to the next CompositorFrame, destroyed and when the next frame begins. BUG=732399 Review-Url: https://codereview.chromium.org/2937233002 Cr-Commit-Position: refs/heads/master@{#487495} Committed: https://chromium.googlesource.com/chromium/src/+/4a4a734896cc777dd9fb69675e21dbd7c2886f30

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase and move switches from base to common #

Total comments: 4

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : remove conditional use of HitTestAggregator #

Total comments: 4

Patch Set 6 : remove unnecessary define and bracing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.cc View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M components/viz/service/hit_test/hit_test_aggregator.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (9 generated)
gklassen
This is the third of three CLs from the original WIP CL. Should Fady and ...
3 years, 6 months ago (2017-06-15 14:05:41 UTC) #4
rjkroege
lgtm
3 years, 6 months ago (2017-06-15 14:26:18 UTC) #6
Fady Samuel
I think you'll need to rebase. https://codereview.chromium.org/2937233002/diff/1/components/viz/base/switches.h File components/viz/base/switches.h (right): https://codereview.chromium.org/2937233002/diff/1/components/viz/base/switches.h#newcode15 components/viz/base/switches.h:15: VIZ_BASE_EXPORT extern const ...
3 years, 6 months ago (2017-06-15 15:02:40 UTC) #7
gklassen
new patch uploaded with improvements based on reviewer comments. Can you send me a pointer ...
3 years, 6 months ago (2017-06-15 19:40:17 UTC) #8
Fady Samuel
https://codereview.chromium.org/2937233002/diff/20001/components/viz/frame_sinks/BUILD.gn File components/viz/frame_sinks/BUILD.gn (right): https://codereview.chromium.org/2937233002/diff/20001/components/viz/frame_sinks/BUILD.gn#newcode7 components/viz/frame_sinks/BUILD.gn:7: public_deps = [ This change is unnecessary? https://codereview.chromium.org/2937233002/diff/20001/components/viz/service/BUILD.gn File ...
3 years, 6 months ago (2017-06-20 17:18:40 UTC) #9
gklassen
The most recent patch includes rebase for recent changes. Can you please re-review? I haven't ...
3 years, 5 months ago (2017-07-17 16:55:08 UTC) #10
Fady Samuel
https://codereview.chromium.org/2937233002/diff/60001/components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.cc File components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.cc (right): https://codereview.chromium.org/2937233002/diff/60001/components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.cc#newcode56 components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.cc:56: hit_test_aggregator_ = base::MakeUnique<HitTestAggregator>(); Do we need a switch at ...
3 years, 5 months ago (2017-07-17 17:08:24 UTC) #11
gklassen
Ok. After discussion with Rob and Fady the switch has been removed. https://codereview.chromium.org/2937233002/diff/60001/components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.cc File components/viz/service/frame_sinks/gpu_root_compositor_frame_sink.cc ...
3 years, 5 months ago (2017-07-17 21:09:52 UTC) #12
Fady Samuel
https://codereview.chromium.org/2937233002/diff/80001/components/viz/common/BUILD.gn File components/viz/common/BUILD.gn (right): https://codereview.chromium.org/2937233002/diff/80001/components/viz/common/BUILD.gn#newcode9 components/viz/common/BUILD.gn:9: defines = [ "VIZ_COMMON_IMPLEMENTATION" ] Undo? https://codereview.chromium.org/2937233002/diff/80001/components/viz/service/hit_test/hit_test_aggregator.cc File components/viz/service/hit_test/hit_test_aggregator.cc ...
3 years, 5 months ago (2017-07-18 13:48:59 UTC) #13
gklassen
Thanks. Both comments should be fixed in the latest patch. https://codereview.chromium.org/2937233002/diff/80001/components/viz/common/BUILD.gn File components/viz/common/BUILD.gn (right): https://codereview.chromium.org/2937233002/diff/80001/components/viz/common/BUILD.gn#newcode9 ...
3 years, 5 months ago (2017-07-18 14:49:59 UTC) #14
Fady Samuel
lgtm + update the description. Thanks!
3 years, 5 months ago (2017-07-18 14:53:09 UTC) #15
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/2937233002/100001
3 years, 5 months ago (2017-07-18 15:07:21 UTC) #19
commit-bot: I haz the power
3 years, 5 months ago (2017-07-18 16:25:18 UTC) #22
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/4a4a734896cc777dd9fb69675e21...

Powered by Google App Engine
This is Rietveld 408576698