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

Issue 547723002: Reland of: cc: Add occlusion checker as a fixed view of occlusion tracker. (Closed)

Created:
6 years, 3 months ago by vmpstr
Modified:
6 years, 3 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reland of: cc: Add occlusion checker as a fixed view of occlusion tracker. This patch adds an occlusion checker to get the state of occlusion tracker for permanent checks. That is, occlusion checker does not have to be queried during a layer walk. BUG=410932 R=danakj Committed: https://crrev.com/1af780529157c94a9e0f05bcf478543b85714f6b Cr-Commit-Position: refs/heads/master@{#294205} Committed: https://crrev.com/cdcb5f741f8163b771d66f6017a67cff06193b50 Cr-Commit-Position: refs/heads/master@{#294280}

Patch Set 1 #

Total comments: 4

Patch Set 2 : no tests #

Patch Set 3 : #

Patch Set 4 : with test? #

Total comments: 18

Patch Set 5 : update #

Total comments: 8

Patch Set 6 : update #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -296 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -13 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 10 chunks +10 lines, -10 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 3 chunks +6 lines, -10 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 3 chunks +5 lines, -14 lines 0 comments Download
M cc/resources/picture_layer_tiling_perftest.cc View 1 2 3 4 6 chunks +8 lines, -18 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 5 6 29 chunks +54 lines, -133 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 4 3 chunks +12 lines, -84 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 2 chunks +8 lines, -3 lines 0 comments Download
A cc/trees/occlusion.h View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A cc/trees/occlusion.cc View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
M cc/trees/occlusion_tracker.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M cc/trees/occlusion_tracker.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (4 generated)
vmpstr
Hi, could you give this a very early review to just see if we're on ...
6 years, 3 months ago (2014-09-05 19:24:59 UTC) #1
danakj
On 2014/09/05 19:24:59, vmpstr wrote: > Hi, could you give this a very early review ...
6 years, 3 months ago (2014-09-05 19:28:17 UTC) #2
danakj
Ya, seems like the right track https://codereview.chromium.org/547723002/diff/1/cc/trees/occlusion_checker.h File cc/trees/occlusion_checker.h (right): https://codereview.chromium.org/547723002/diff/1/cc/trees/occlusion_checker.h#newcode29 cc/trees/occlusion_checker.h:29: gfx::Transform draw_transform_; This ...
6 years, 3 months ago (2014-09-05 19:31:29 UTC) #3
vmpstr
PTAL. I will work on adding some tests now.
6 years, 3 months ago (2014-09-05 20:58:57 UTC) #4
vmpstr
https://codereview.chromium.org/547723002/diff/1/cc/trees/occlusion_checker.h File cc/trees/occlusion_checker.h (right): https://codereview.chromium.org/547723002/diff/1/cc/trees/occlusion_checker.h#newcode29 cc/trees/occlusion_checker.h:29: gfx::Transform draw_transform_; On 2014/09/05 19:31:29, danakj wrote: > This ...
6 years, 3 months ago (2014-09-05 21:00:06 UTC) #5
vmpstr
ping
6 years, 3 months ago (2014-09-09 00:17:30 UTC) #6
danakj
LG overall, some naming nits/suggestions that you can disagree with. And The template seems out ...
6 years, 3 months ago (2014-09-09 15:14:39 UTC) #7
vmpstr
PTAL. https://codereview.chromium.org/547723002/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/547723002/diff/60001/cc/layers/picture_layer_impl.cc#newcode481 cc/layers/picture_layer_impl.cc:481: const OcclusionTracker<LayerImpl>* occlusion_tracker) { On 2014/09/09 15:14:39, danakj ...
6 years, 3 months ago (2014-09-09 21:56:57 UTC) #8
danakj
LGTM w/ 2 things https://codereview.chromium.org/547723002/diff/80001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/547723002/diff/80001/cc/layers/picture_layer_impl_unittest.cc#newcode3156 cc/layers/picture_layer_impl_unittest.cc:3156: active_layer_->UpdateTiles(Occlusion()); I <3 this so ...
6 years, 3 months ago (2014-09-09 22:11:59 UTC) #9
vmpstr
https://codereview.chromium.org/547723002/diff/80001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/547723002/diff/80001/cc/layers/picture_layer_impl_unittest.cc#newcode3156 cc/layers/picture_layer_impl_unittest.cc:3156: active_layer_->UpdateTiles(Occlusion()); On 2014/09/09 22:11:59, danakj wrote: > I <3 ...
6 years, 3 months ago (2014-09-10 00:32:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/547723002/100001
6 years, 3 months ago (2014-09-10 16:05:57 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/65060) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/54078) android_arm64_dbg_recipe ...
6 years, 3 months ago (2014-09-10 16:09:28 UTC) #14
danakj
LGTM
6 years, 3 months ago (2014-09-10 16:49:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/547723002/120001
6 years, 3 months ago (2014-09-10 17:54:47 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:120001) as d05d868f476ca46bd59cb3e98d517a1d4deccde0
6 years, 3 months ago (2014-09-10 19:08:41 UTC) #18
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/1af780529157c94a9e0f05bcf478543b85714f6b Cr-Commit-Position: refs/heads/master@{#294205}
6 years, 3 months ago (2014-09-10 19:19:40 UTC) #19
Michael Courage
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/551463005/ by courage@chromium.org. ...
6 years, 3 months ago (2014-09-10 19:31:08 UTC) #20
vmpstr
PTAL for reland
6 years, 3 months ago (2014-09-10 22:54:37 UTC) #21
danakj
lgtm
6 years, 3 months ago (2014-09-10 23:14:17 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/547723002/140001
6 years, 3 months ago (2014-09-10 23:18:08 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 02dab4320d1797869ad18d8c2c2b56686b750f5d
6 years, 3 months ago (2014-09-11 00:59:24 UTC) #25
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 01:02:40 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cdcb5f741f8163b771d66f6017a67cff06193b50
Cr-Commit-Position: refs/heads/master@{#294280}

Powered by Google App Engine
This is Rietveld 408576698