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

Issue 2119043002: cc: Correct inverted directions in occlusion tracker background filter logic. (Closed)

Created:
4 years, 5 months ago by jbroman
Modified:
4 years, 5 months ago
Reviewers:
danakj, enne (OOO)
CC:
enne (OOO), cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Correct inverted directions in occlusion tracker background filter logic. While this logic is correct for symmetric filters, such as blur, it is not correct for asymmetric ones, such as drop-shadow. In these cases, the affected area should be expanded, but since the pixel-moving is not due to pixels in the occlusion, but rather due to pixels outside the occlusion moving into it, the left edge of the affected area should be expanded with the right outset (and so on). A followup CL will update this logic again (to generalize it and remove the use of FilterOperations::GetOutsets, but correcting it (with a unit test) allows the behaviour change to be separated from the refactor. BUG=600821 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/19a18b17a0596d17fb7e4d6242c375518ba9a0db Cr-Commit-Position: refs/heads/master@{#404034}

Patch Set 1 #

Total comments: 8

Patch Set 2 : rebase #

Patch Set 3 : comment changes #

Patch Set 4 : comment to point out the scale matrix both enne and I missed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -6 lines) Patch
M cc/trees/occlusion_tracker.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 2 3 3 chunks +126 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
jbroman
I'm fairly sure I've got this right, but please take a close look just in ...
4 years, 5 months ago (2016-07-02 02:02:31 UTC) #3
enne (OOO)
https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc File cc/trees/occlusion_tracker_unittest.cc (right): https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc#newcode1584 cc/trees/occlusion_tracker_unittest.cc:1584: occlusion_rect = gfx::Rect(100, 0, 50, 200); Shouldn't an adjacent ...
4 years, 5 months ago (2016-07-06 18:20:31 UTC) #5
jbroman
https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc File cc/trees/occlusion_tracker_unittest.cc (right): https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc#newcode1584 cc/trees/occlusion_tracker_unittest.cc:1584: occlusion_rect = gfx::Rect(100, 0, 50, 200); On 2016/07/06 at ...
4 years, 5 months ago (2016-07-06 18:42:48 UTC) #6
enne (OOO)
https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc File cc/trees/occlusion_tracker_unittest.cc (right): https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc#newcode1584 cc/trees/occlusion_tracker_unittest.cc:1584: occlusion_rect = gfx::Rect(100, 0, 50, 200); On 2016/07/06 at ...
4 years, 5 months ago (2016-07-06 19:50:00 UTC) #7
jbroman
PTAL https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc File cc/trees/occlusion_tracker_unittest.cc (right): https://codereview.chromium.org/2119043002/diff/1/cc/trees/occlusion_tracker_unittest.cc#newcode1584 cc/trees/occlusion_tracker_unittest.cc:1584: occlusion_rect = gfx::Rect(100, 0, 50, 200); On 2016/07/06 ...
4 years, 5 months ago (2016-07-06 20:26:06 UTC) #8
enne (OOO)
lgtm
4 years, 5 months ago (2016-07-06 21:28:48 UTC) #9
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/2119043002/60001
4 years, 5 months ago (2016-07-07 00:20:18 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-07 02:38:04 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 02:39:36 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/19a18b17a0596d17fb7e4d6242c375518ba9a0db
Cr-Commit-Position: refs/heads/master@{#404034}

Powered by Google App Engine
This is Rietveld 408576698