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

Issue 2334003003: cc : Compute visible rects dynamically (1) (Closed)

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

Description

cc : Compute visible rects dynamically (1) This CL computes visible rects dynamically for all cases we don't early out in draw_property_utils::CalculateVisibleRects (we early out for copy requests, singular transforms etc) and compares it with the current computation. This dynamic computation is behind the 'verify_visible_rectcalculations' flag. This CL also skips verify_visible_rect_calculations for some test where we expect the visible rects computed by the two methods to be different BUG=642054 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/5237db09cd8a30328742e4f6b1ee2edb692e936b Cr-Commit-Position: refs/heads/master@{#419628}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : Rebase #

Patch Set 5 : comment #

Total comments: 1

Patch Set 6 : Don't DCHECK(true) #

Patch Set 7 : rebase #

Patch Set 8 : fix compile error #

Total comments: 2

Patch Set 9 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -27 lines) Patch
M cc/output/bsp_tree_perftest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.h View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.cc View 1 2 3 4 1 chunk +8 lines, -4 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 2 3 4 5 chunks +15 lines, -2 lines 0 comments Download
M cc/trees/draw_property_utils.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 3 4 5 6 9 chunks +65 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 5 chunks +7 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +25 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 2 3 4 4 chunks +12 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 49 (37 generated)
jaydasika
PTAL
4 years, 3 months ago (2016-09-14 18:15:07 UTC) #7
weiliangc
Hmm, I'm not too happy about how many function now has the skip_verify bool. I ...
4 years, 3 months ago (2016-09-14 21:12:26 UTC) #12
weiliangc
The calculations looks good. For testing, I am thinking maybe add a bool to CalcDrawPropsImplInputs ...
4 years, 3 months ago (2016-09-15 21:47:31 UTC) #13
jaydasika
On 2016/09/15 21:47:31, weiliangc wrote: > The calculations looks good. For testing, I am thinking ...
4 years, 3 months ago (2016-09-15 21:56:49 UTC) #14
weiliangc
The aim is to still compare clip rect calculation when visible rect calculation do not ...
4 years, 3 months ago (2016-09-15 22:21:30 UTC) #15
jaydasika
Added a new flag for verifying visible rect calculations https://codereview.chromium.org/2334003003/diff/80001/cc/trees/layer_tree_impl_unittest.cc File cc/trees/layer_tree_impl_unittest.cc (right): https://codereview.chromium.org/2334003003/diff/80001/cc/trees/layer_tree_impl_unittest.cc#newcode675 cc/trees/layer_tree_impl_unittest.cc:675: ...
4 years, 3 months ago (2016-09-16 22:20:15 UTC) #16
jaydasika
Rebase + make cc_perftests compile.
4 years, 3 months ago (2016-09-19 20:14:48 UTC) #34
weiliangc
LGTM w/ a possible suggestion. https://codereview.chromium.org/2334003003/diff/140001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/2334003003/diff/140001/cc/trees/layer_tree_host_common.cc#newcode605 cc/trees/layer_tree_host_common.cc:605: inputs->verify_visible_rect_calculations, &visible_layer_list); I think ...
4 years, 3 months ago (2016-09-19 21:16:45 UTC) #37
jaydasika
https://codereview.chromium.org/2334003003/diff/140001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/2334003003/diff/140001/cc/trees/layer_tree_host_common.cc#newcode605 cc/trees/layer_tree_host_common.cc:605: inputs->verify_visible_rect_calculations, &visible_layer_list); On 2016/09/19 21:16:44, weiliangc wrote: > I ...
4 years, 3 months ago (2016-09-19 21:55:01 UTC) #40
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/2334003003/160001
4 years, 3 months ago (2016-09-20 00:06:43 UTC) #45
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-20 01:34:52 UTC) #47
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 01:38:11 UTC) #49
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/5237db09cd8a30328742e4f6b1ee2edb692e936b
Cr-Commit-Position: refs/heads/master@{#419628}

Powered by Google App Engine
This is Rietveld 408576698