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

Issue 1452943002: cc: Fix overlay damage tracking bug (Closed)

Created:
5 years, 1 month ago by ccameron
Modified:
5 years ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Fix overlay damage tracking bug Track the region that is covered by overlays and ensure that that is included in the damage rect of future frames. This fixes bugs where something that was previously an overlay becomes a non-overlay due to reasons that didn't involve doing damage to the frame in that quad's region (e.g, creating a slightly overlapping overlay quad). Move the removal of overlays from the damage rect to being done in the OverlayProcessor instead of being done in each individual strategy. BUG=551861 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/cb27ead70f32946c71ad1d6672437dbd914b5b6d Cr-Commit-Position: refs/heads/master@{#360513}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 1

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Add buffer queue update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -141 lines) Patch
M cc/output/direct_renderer.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M cc/output/direct_renderer.cc View 1 2 2 chunks +31 lines, -49 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 4 chunks +5 lines, -6 lines 0 comments Download
M cc/output/overlay_processor.h View 1 2 2 chunks +11 lines, -7 lines 0 comments Download
M cc/output/overlay_processor.cc View 1 2 2 chunks +36 lines, -4 lines 0 comments Download
M cc/output/overlay_strategy_sandwich.h View 1 chunk +1 line, -2 lines 0 comments Download
M cc/output/overlay_strategy_sandwich.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M cc/output/overlay_strategy_single_on_top.h View 1 chunk +2 lines, -4 lines 0 comments Download
M cc/output/overlay_strategy_single_on_top.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M cc/output/overlay_strategy_underlay.h View 1 chunk +1 line, -2 lines 0 comments Download
M cc/output/overlay_strategy_underlay.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 44 chunks +135 lines, -52 lines 0 comments Download
M content/browser/compositor/buffer_queue.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
ccameron
This fixes the overlapping video bug that we were looking at.
5 years, 1 month ago (2015-11-17 00:05:39 UTC) #2
ccameron
5 years, 1 month ago (2015-11-17 21:12:53 UTC) #4
watk
On 2015/11/17 21:12:53, ccameron wrote: lgtm
5 years, 1 month ago (2015-11-17 23:22:59 UTC) #5
kalyank
https://codereview.chromium.org/1452943002/diff/20001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/1452943002/diff/20001/cc/output/overlay_processor.cc#newcode84 cc/output/overlay_processor.cc:84: if (overlay.plane_z_order > 0) { We should also check ...
5 years, 1 month ago (2015-11-17 23:29:20 UTC) #7
ccameron
On 2015/11/17 23:29:20, kalyank wrote: > https://codereview.chromium.org/1452943002/diff/20001/cc/output/overlay_processor.cc > File cc/output/overlay_processor.cc (right): > > https://codereview.chromium.org/1452943002/diff/20001/cc/output/overlay_processor.cc#newcode84 > ...
5 years, 1 month ago (2015-11-18 20:16:30 UTC) #8
kalyank
On 2015/11/18 20:16:30, ccameron wrote: > On 2015/11/17 23:29:20, kalyank wrote: > > > https://codereview.chromium.org/1452943002/diff/20001/cc/output/overlay_processor.cc ...
5 years, 1 month ago (2015-11-18 21:03:29 UTC) #9
kalyank
https://codereview.chromium.org/1452943002/diff/40001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/1452943002/diff/40001/cc/output/overlay_processor.cc#newcode69 cc/output/overlay_processor.cc:69: if (ProcessForCALayers(resource_provider, render_passes, candidates, What happens on platforms which ...
5 years, 1 month ago (2015-11-18 21:18:33 UTC) #10
ccameron
https://codereview.chromium.org/1452943002/diff/40001/cc/output/overlay_processor.cc File cc/output/overlay_processor.cc (right): https://codereview.chromium.org/1452943002/diff/40001/cc/output/overlay_processor.cc#newcode69 cc/output/overlay_processor.cc:69: if (ProcessForCALayers(resource_provider, render_passes, candidates, On 2015/11/18 21:18:33, kalyank wrote: ...
5 years, 1 month ago (2015-11-18 21:22:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1452943002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1452943002/60001
5 years, 1 month ago (2015-11-19 02:40:11 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-19 03:35:00 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 03:36:01 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cb27ead70f32946c71ad1d6672437dbd914b5b6d
Cr-Commit-Position: refs/heads/master@{#360513}

Powered by Google App Engine
This is Rietveld 408576698