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

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

Created:
3 years, 7 months ago by reveman
Modified:
3 years, 4 months ago
Reviewers:
Daniele Castagna
CC:
chromium-reviews
Target Ref:
refs/branch-heads/3071
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} (cherry picked from commit 5f26315f43d9d4214df8af3deb263a02fc47db5d) R=dcastagna@chromium.org Review-Url: https://codereview.chromium.org/2845193003 . Cr-Commit-Position: refs/branch-heads/3071@{#273} Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641} Committed: https://chromium.googlesource.com/chromium/src/+/db31db28a02894025e1939362d75aff4665d0b8a

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: 8 (2 generated)
reveman
3 years, 7 months ago (2017-04-27 21:53:59 UTC) #2
Daniele Castagna
lgtm
3 years, 7 months ago (2017-04-27 21:54:57 UTC) #3
reveman
Committed patchset #1 (id:1) manually as db31db28a02894025e1939362d75aff4665d0b8a.
3 years, 7 months ago (2017-04-27 21:55:28 UTC) #5
Xiaosong
On 2017/04/27 21:55:28, reveman wrote: > Committed patchset #1 (id:1) manually as > db31db28a02894025e1939362d75aff4665d0b8a. The ...
3 years, 4 months ago (2017-07-26 08:54:47 UTC) #6
Xiaosong
On 2017/07/26 08:54:47, Xiaosong wrote: > On 2017/04/27 21:55:28, reveman wrote: > > Committed patchset ...
3 years, 4 months ago (2017-07-26 08:57:24 UTC) #7
reveman
3 years, 4 months ago (2017-07-26 13:43:51 UTC) #8
Message was sent while issue was closed.
That's the expected behavior for non-opaque overlays today. Could be improved in
the future but requires more advanced tracking of damage.

Powered by Google App Engine
This is Rietveld 408576698