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

Issue 2281033003: cc: Fullscreen overlay removes all the other quads/planes. (Closed)

Created:
4 years, 3 months ago by Daniele Castagna
Modified:
4 years, 3 months ago
Reviewers:
reveman
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Fullscreen overlay removes all the other quads/planes. OverlayStrategyFullscreen used to promote a quad to an overlay finding a suitable quad, removing it from the quad_list and pushing the overlay candidate to the list of overlay candidates. This behavior was relying on ozone optimization that would replace the primary plane if there were a fullscreen overlay on top of it. This CLs changes OverlayStrategyFullscreen behavior making it more aggressive. Once a quad that can be promoted is found, quad_list is erased since all the quads are either not visible, or covered by the fullscreen overlay, or the fullscreen overlay itself. It also clear the overlay_list, that contains the primary buffer, since the promoted overlay will be replacing it, in this way we stop relying on the ozone optimization. BUG=b/29430506 TEST=cc_unittests --gtest_filter="*FullscreenOverlayTest*", also tried it on minnie. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/4ed711acedc260e97ae3345cae1078df52c65f14 Cr-Commit-Position: refs/heads/master@{#414830}

Patch Set 1 #

Patch Set 2 : Rebase on master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M cc/output/overlay_strategy_fullscreen.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (13 generated)
Daniele Castagna
4 years, 3 months ago (2016-08-26 20:53:38 UTC) #5
reveman
lgtm
4 years, 3 months ago (2016-08-26 21:11:24 UTC) #11
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/2281033003/20001
4 years, 3 months ago (2016-08-26 22:16:41 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-26 22:21:37 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 22:23:14 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4ed711acedc260e97ae3345cae1078df52c65f14
Cr-Commit-Position: refs/heads/master@{#414830}

Powered by Google App Engine
This is Rietveld 408576698