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

Issue 2423483003: cc: Make visible rect computation aware of pixel-moving filters (Closed)

Created:
4 years, 2 months ago by ajuma
Modified:
3 years, 11 months ago
Reviewers:
jaydasika, weiliangc
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make visible rect computation aware of pixel-moving filters This adds a new ClipNode type (EXPANDS_CLIP) and uses such nodes to account for the fact that certain kinds of effects have output that depends on pixels that later get clipped out. BUG=653631 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/5e48a2e0284b930c68e73f44ea15807a9ffab541 Cr-Original-Commit-Position: refs/heads/master@{#429050} Review-Url: https://codereview.chromium.org/2423483003 Cr-Commit-Position: refs/heads/master@{#442652} Committed: https://chromium.googlesource.com/chromium/src/+/e947a35bcd6dce91dc4651680c48f8b996f7ea5e

Patch Set 1 #

Patch Set 2 : Layer visible rects implemented now #

Patch Set 3 : Handle expansion when computing surface content_rect #

Patch Set 4 : Fix build errors #

Patch Set 5 : Add ClipExpander class to represent expansion more generically #

Patch Set 6 : Add tests #

Patch Set 7 : Rebase #

Patch Set 8 : Rebaseline #

Total comments: 9

Patch Set 9 : Rebase #

Patch Set 10 : Address review comments #

Patch Set 11 : Rebase #

Total comments: 2

Patch Set 12 : Remove type from ClipExpander #

Patch Set 13 : Rebase #

Patch Set 14 : Rebase #

Patch Set 15 : It's 2017 -- update copyright for new files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+505 lines, -44 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/render_surface_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/render_surface_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +18 lines, -1 line 0 comments Download
A cc/trees/clip_expander.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +43 lines, -0 lines 0 comments Download
A cc/trees/clip_expander.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +43 lines, -0 lines 0 comments Download
M cc/trees/clip_node.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +19 lines, -1 line 0 comments Download
M cc/trees/clip_node.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +60 lines, -1 line 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +126 lines, -31 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +176 lines, -0 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +16 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/filters/blur-filter-page-scroll-expected.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/android/css3/filters/blur-filter-page-scroll-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/css3/filters/blur-filter-page-scroll-expected.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/css3/filters/blur-filter-page-scroll-expected.png View 1 2 3 4 5 6 7 Binary file 0 comments Download

Messages

Total messages: 63 (48 generated)
ajuma
4 years, 1 month ago (2016-10-26 12:47:49 UTC) #26
weiliangc
https://codereview.chromium.org/2423483003/diff/140001/cc/trees/clip_node.h File cc/trees/clip_node.h (right): https://codereview.chromium.org/2423483003/diff/140001/cc/trees/clip_node.h#newcode56 cc/trees/clip_node.h:56: ClipExpander clip_expander; Why not a nullable unique_ptr? We could ...
4 years, 1 month ago (2016-10-26 16:57:04 UTC) #27
ajuma
https://codereview.chromium.org/2423483003/diff/140001/cc/trees/clip_node.h File cc/trees/clip_node.h (right): https://codereview.chromium.org/2423483003/diff/140001/cc/trees/clip_node.h#newcode56 cc/trees/clip_node.h:56: ClipExpander clip_expander; On 2016/10/26 16:57:03, weiliangc wrote: > Why ...
4 years, 1 month ago (2016-10-31 17:43:07 UTC) #30
weiliangc
https://codereview.chromium.org/2423483003/diff/200001/cc/trees/clip_expander.h File cc/trees/clip_expander.h (right): https://codereview.chromium.org/2423483003/diff/200001/cc/trees/clip_expander.h#newcode23 cc/trees/clip_expander.h:23: ClipExpander(ExpanderType type, int filter_effect_id); Is there an expander type ...
4 years, 1 month ago (2016-10-31 18:20:25 UTC) #33
ajuma
https://codereview.chromium.org/2423483003/diff/200001/cc/trees/clip_expander.h File cc/trees/clip_expander.h (right): https://codereview.chromium.org/2423483003/diff/200001/cc/trees/clip_expander.h#newcode23 cc/trees/clip_expander.h:23: ClipExpander(ExpanderType type, int filter_effect_id); On 2016/10/31 18:20:25, weiliangc wrote: ...
4 years, 1 month ago (2016-10-31 18:28:05 UTC) #34
weiliangc
On 2016/10/31 18:28:05, ajuma wrote: > https://codereview.chromium.org/2423483003/diff/200001/cc/trees/clip_expander.h > File cc/trees/clip_expander.h (right): > > https://codereview.chromium.org/2423483003/diff/200001/cc/trees/clip_expander.h#newcode23 > ...
4 years, 1 month ago (2016-10-31 18:41:56 UTC) #35
ajuma
On 2016/10/31 18:41:56, weiliangc wrote: > On 2016/10/31 18:28:05, ajuma wrote: > > > https://codereview.chromium.org/2423483003/diff/200001/cc/trees/clip_expander.h ...
4 years, 1 month ago (2016-10-31 18:56:07 UTC) #38
weiliangc
LGTM
4 years, 1 month ago (2016-11-01 17:46:24 UTC) #41
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/2423483003/220001
4 years, 1 month ago (2016-11-01 17:47:21 UTC) #43
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 1 month ago (2016-11-01 18:06:20 UTC) #45
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/5e48a2e0284b930c68e73f44ea15807a9ffab541 Cr-Commit-Position: refs/heads/master@{#429050}
4 years, 1 month ago (2016-11-01 18:24:55 UTC) #47
kjellander_chromium
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/2468113004/ by kjellander@chromium.org. ...
4 years, 1 month ago (2016-11-02 07:17:53 UTC) #48
ajuma
Going to re-land this now. The crashes that caused it to get reverted were fixed ...
3 years, 11 months ago (2017-01-10 17:16:02 UTC) #57
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/2423483003/280001
3 years, 11 months ago (2017-01-10 17:16:28 UTC) #60
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 19:18:24 UTC) #63
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/e947a35bcd6dce91dc4651680c48...

Powered by Google App Engine
This is Rietveld 408576698