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

Issue 1372103005: Refactor OverlayStrategySandwich and OverlayStrategyCommon (Closed)

Created:
5 years, 2 months ago by Andre
Modified:
5 years, 2 months ago
Reviewers:
ccameron
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org, alexst (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@SolidColor
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor OverlayStrategySandwich and OverlayStrategyCommon. Separate OverlayStrategySandwich from OverlayStrategyCommon to make it simpler. Delete OverlayStrategyCommon since all that remains is a loop. Also remove no longer used device_scale_factor parameter. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel CQ_EXCLUDE_TRYBOTS=tryserver.chromium.linux:linux_android_rel_ng Committed: https://crrev.com/8b978787993d1dfceea7e8f841428cb6db7bb3e2 Cr-Commit-Position: refs/heads/master@{#352473}

Patch Set 1 : #

Patch Set 2 : Delete OverlayStrategyCommon #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -292 lines) Patch
M cc/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M cc/cc.gyp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 6 chunks +11 lines, -13 lines 0 comments Download
M cc/output/overlay_candidate.h View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/output/overlay_candidate.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M cc/output/overlay_processor.h View 1 2 chunks +5 lines, -6 lines 0 comments Download
M cc/output/overlay_processor.cc View 1 1 chunk +4 lines, -8 lines 0 comments Download
M cc/output/overlay_strategy_all_or_nothing.h View 1 1 chunk +1 line, -2 lines 1 comment Download
M cc/output/overlay_strategy_all_or_nothing.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M cc/output/overlay_strategy_common.h View 1 1 chunk +0 lines, -64 lines 0 comments Download
D cc/output/overlay_strategy_common.cc View 1 1 chunk +0 lines, -68 lines 0 comments Download
M cc/output/overlay_strategy_sandwich.h View 1 1 chunk +15 lines, -9 lines 0 comments Download
M cc/output/overlay_strategy_sandwich.cc View 1 6 chunks +40 lines, -23 lines 0 comments Download
M cc/output/overlay_strategy_single_on_top.h View 1 1 chunk +14 lines, -17 lines 0 comments Download
M cc/output/overlay_strategy_single_on_top.cc View 1 2 chunks +30 lines, -16 lines 2 comments Download
M cc/output/overlay_strategy_underlay.h View 1 1 chunk +10 lines, -11 lines 0 comments Download
M cc/output/overlay_strategy_underlay.cc View 1 1 chunk +35 lines, -32 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 chunks +7 lines, -10 lines 0 comments Download
M content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 19 (7 generated)
Andre
PTAL. Once your CL moves the primary plane out from OverlayStrategyCommon, I think we don't ...
5 years, 2 months ago (2015-10-01 18:27:23 UTC) #4
ccameron
Good point -- we should probably go even further, and just remove OverlayStrategyCommon entirely.
5 years, 2 months ago (2015-10-01 19:05:54 UTC) #5
Andre
On 2015/10/01 19:05:54, ccameron wrote: > Good point -- we should probably go even further, ...
5 years, 2 months ago (2015-10-01 22:58:21 UTC) #7
Andre
ccameron, alexst, ping?
5 years, 2 months ago (2015-10-05 17:55:15 UTC) #8
ccameron
On 2015/10/05 17:55:15, Andre wrote: > ccameron, alexst, ping? (taking a look)
5 years, 2 months ago (2015-10-05 19:16:50 UTC) #9
ccameron
lgtm, very happy with this reorganization. https://codereview.chromium.org/1372103005/diff/70001/cc/output/overlay_strategy_all_or_nothing.h File cc/output/overlay_strategy_all_or_nothing.h (left): https://codereview.chromium.org/1372103005/diff/70001/cc/output/overlay_strategy_all_or_nothing.h#oldcode25 cc/output/overlay_strategy_all_or_nothing.h:25: float device_scale_factor) override; ...
5 years, 2 months ago (2015-10-05 19:28:29 UTC) #10
Andre
https://codereview.chromium.org/1372103005/diff/70001/cc/output/overlay_strategy_single_on_top.cc File cc/output/overlay_strategy_single_on_top.cc (right): https://codereview.chromium.org/1372103005/diff/70001/cc/output/overlay_strategy_single_on_top.cc#newcode23 cc/output/overlay_strategy_single_on_top.cc:23: QuadList& quad_list = render_passes->back()->quad_list; On 2015/10/05 19:28:29, ccameron wrote: ...
5 years, 2 months ago (2015-10-05 20:24:20 UTC) #11
Andre
On 2015/10/05 20:24:20, Andre wrote: > https://codereview.chromium.org/1372103005/diff/70001/cc/output/overlay_strategy_single_on_top.cc > File cc/output/overlay_strategy_single_on_top.cc (right): > > https://codereview.chromium.org/1372103005/diff/70001/cc/output/overlay_strategy_single_on_top.cc#newcode23 > ...
5 years, 2 months ago (2015-10-05 20:25:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372103005/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372103005/70001
5 years, 2 months ago (2015-10-05 20:26:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372103005/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372103005/70001
5 years, 2 months ago (2015-10-05 23:01:34 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:70001)
5 years, 2 months ago (2015-10-06 00:14:32 UTC) #18
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 00:15:51 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8b978787993d1dfceea7e8f841428cb6db7bb3e2
Cr-Commit-Position: refs/heads/master@{#352473}

Powered by Google App Engine
This is Rietveld 408576698