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

Issue 2842383003: cc: Don't subtract transparent overlay from damage. (Closed)

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

Description

cc: Don't subtract transparent overlay from damage. After processing overlay candidates we used to remove the overlay rects from the damage rect. The assumption was that all the overlays would be opaque. Since we started allowing alpha blended overaly, we should avoid subtracting from the damage when blending might be allowed. Otherwise any element animating below a transparent overlay might not be updated. We haven't noticed any problem so far since partial update was disabled on Mali. crrev.com/2829543003 enables empty swap, surfacing the problem when the damage region is a subset of a transparent overlay. BUG=705290 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2842383003 Cr-Commit-Position: refs/heads/master@{#467727} Committed: https://chromium.googlesource.com/chromium/src/+/5f26315f43d9d4214df8af3deb263a02fc47db5d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M cc/output/overlay_candidate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/overlay_candidate.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/output/overlay_processor.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/overlay_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (9 generated)
Daniele Castagna
3 years, 8 months ago (2017-04-27 00:45:49 UTC) #5
reveman
lgtm
3 years, 8 months ago (2017-04-27 00:48:10 UTC) #6
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/2842383003/1
3 years, 7 months ago (2017-04-27 17:13:16 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 17:50:24 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5f26315f43d9d4214df8af3deb26...

Powered by Google App Engine
This is Rietveld 408576698