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

Issue 2067783002: cc: Calculate visible rect inside non root copy request (Closed)

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

Description

cc: Calculate visible rect inside non root copy request Modifies how visible rect calculation is done inside non root copy request. Before the layer with the copy request would be fully visible. Any other layers that is also inside the copy request would have some combination of clips applied depending on tree structure. This CL unifies how layers contributing to non root copy request has clips applied: clips up to the copy request are applied, clips between copy request and screen are ignored. R=ajuma BUG=594675 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/de7e0c3e9bf26b7c3bad40c6aa8883eb47159989 Cr-Commit-Position: refs/heads/master@{#399898}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 14

Patch Set 3 : address review comments #

Patch Set 4 : edit comment to be more explicit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -95 lines) Patch
M cc/trees/draw_property_utils.cc View 1 2 3 5 chunks +149 lines, -95 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M cc/trees/property_tree.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
weiliangc
Mostly: - add logic to calc non root copy request visible rect - accumulate clip ...
4 years, 6 months ago (2016-06-14 14:00:28 UTC) #2
ajuma
Looks good overall. https://codereview.chromium.org/2067783002/diff/20001/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/2067783002/diff/20001/cc/trees/draw_property_utils.cc#newcode107 cc/trees/draw_property_utils.cc:107: return ClipRect{false, gfx::RectF()}; To make the ...
4 years, 6 months ago (2016-06-14 15:09:54 UTC) #3
ajuma
One more thing: https://codereview.chromium.org/2067783002/diff/20001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/2067783002/diff/20001/cc/trees/layer_tree_host_common_unittest.cc#newcode5792 cc/trees/layer_tree_host_common_unittest.cc:5792: copy_layer->SetDrawsContent(true); It be worth including a ...
4 years, 6 months ago (2016-06-14 15:25:17 UTC) #4
Playfullbby91
lgtm
4 years, 6 months ago (2016-06-15 08:40:24 UTC) #6
weiliangc
On 2016/06/14 15:25:17, ajuma wrote: > One more thing: > > https://codereview.chromium.org/2067783002/diff/20001/cc/trees/layer_tree_host_common_unittest.cc > File cc/trees/layer_tree_host_common_unittest.cc ...
4 years, 6 months ago (2016-06-15 09:49:48 UTC) #10
ajuma
On 2016/06/15 09:49:48, weiliangc wrote: > On 2016/06/14 15:25:17, ajuma wrote: > > One more ...
4 years, 6 months ago (2016-06-15 10:49:46 UTC) #11
weiliangc
Err ignore my comments about viewport, I was being dumb and didn't force a property ...
4 years, 6 months ago (2016-06-15 12:27:57 UTC) #12
ajuma
Thanks, lgtm
4 years, 6 months ago (2016-06-15 12:41:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067783002/60001
4 years, 6 months ago (2016-06-15 12:55:41 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-15 15:02:59 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-15 15:03:00 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 15:04:18 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/de7e0c3e9bf26b7c3bad40c6aa8883eb47159989
Cr-Commit-Position: refs/heads/master@{#399898}

Powered by Google App Engine
This is Rietveld 408576698