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

Issue 374653003: Track occlusion per tree on Tile. (Closed)

Created:
6 years, 5 months ago by jbedley
Modified:
6 years, 5 months ago
Reviewers:
danakj, vmpstr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

Track occlusion per tree on Tile. Currently, the Tile class has one is_occluded bool. Give Tile two occluded bools, one for each tree, so that the same tile can have different occlusion on each tree. This patch is an alternative to https://codereview.chromium.org/343463004/ which also tracks occlusion per tree, but stores occlusion info on TilePriority rather than Tile. BUG=178971 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281788

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address feedback #

Total comments: 1

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -16 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 5 chunks +7 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 8 chunks +111 lines, -7 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/tile.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M cc/resources/tile.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
jbedley
PTAL
6 years, 5 months ago (2014-07-07 19:12:25 UTC) #1
danakj
Thanks! Couple things https://codereview.chromium.org/374653003/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/374653003/diff/1/cc/layers/picture_layer_impl.cc#newcode886 cc/layers/picture_layer_impl.cc:886: WhichTree tree = This method should ...
6 years, 5 months ago (2014-07-07 19:26:29 UTC) #2
enne (OOO)
https://codereview.chromium.org/374653003/diff/1/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/374653003/diff/1/cc/resources/tile.h#newcode148 cc/resources/tile.h:148: return is_occluded_on_active_tree_; Should is_occluded just go on TilePriority so ...
6 years, 5 months ago (2014-07-07 19:49:31 UTC) #3
danakj
https://codereview.chromium.org/374653003/diff/1/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/374653003/diff/1/cc/resources/tile.h#newcode148 cc/resources/tile.h:148: return is_occluded_on_active_tree_; On 2014/07/07 19:49:31, enne wrote: > Should ...
6 years, 5 months ago (2014-07-07 20:08:04 UTC) #4
jbedley
https://codereview.chromium.org/374653003/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/374653003/diff/1/cc/layers/picture_layer_impl.cc#newcode886 cc/layers/picture_layer_impl.cc:886: WhichTree tree = On 2014/07/07 19:26:28, danakj wrote: > ...
6 years, 5 months ago (2014-07-07 20:25:14 UTC) #5
danakj
LGTM if enne@ is okay with doing this as an incremental step https://codereview.chromium.org/374653003/diff/20001/cc/resources/tile.cc File cc/resources/tile.cc ...
6 years, 5 months ago (2014-07-07 20:26:56 UTC) #6
enne (OOO)
That's fine as an incremental step. I was just thinking about what the end state ...
6 years, 5 months ago (2014-07-07 20:29:47 UTC) #7
danakj
On 2014/07/07 20:29:47, enne wrote: > That's fine as an incremental step. I was just ...
6 years, 5 months ago (2014-07-07 20:30:41 UTC) #8
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 5 months ago (2014-07-07 20:39:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbedley@chromium.org/374653003/20001
6 years, 5 months ago (2014-07-07 20:40:09 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-08 02:06:28 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-08 02:30:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/90468)
6 years, 5 months ago (2014-07-08 02:30:54 UTC) #13
jbedley
The CQ bit was checked by jbedley@chromium.org
6 years, 5 months ago (2014-07-08 15:09:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbedley@chromium.org/374653003/40001
6 years, 5 months ago (2014-07-08 15:11:00 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 19:19:33 UTC) #16
Message was sent while issue was closed.
Change committed as 281788

Powered by Google App Engine
This is Rietveld 408576698