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

Issue 366113002: cc: Do not cleanup tiles with raster tasks. (Closed)

Created:
6 years, 5 months ago by sohanjg
Modified:
5 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Do not cleanup tiles with raster tasks. During cleanup, this keeps the tiles around until the associated raster tasks completes running on the worker thread. We reset the priority of the tile on the tree it lies before dropping it. BUG=386039 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287304

Patch Set 1 #

Total comments: 15

Patch Set 2 : review comments addressed. #

Patch Set 3 : always free resources #

Patch Set 4 : avoid dcheck on tile size after cleanup as we dont delete tiles with raster task #

Patch Set 5 : cleanup after checkforcompletedtasks #

Total comments: 9

Patch Set 6 : updated review comments. #

Total comments: 6

Patch Set 7 : review comments addressed. #

Total comments: 18

Patch Set 8 : review comments addressed. #

Patch Set 9 : review comments addressed. #

Total comments: 4

Patch Set 10 : review comments addressed. #

Total comments: 4

Patch Set 11 : cleanup after tasks finishes. #

Total comments: 4

Patch Set 12 : review comments addressed. #

Total comments: 5

Patch Set 13 : review comments addressed. #

Total comments: 5

Patch Set 14 : avoid updating prioritized tile set after finishing tasks. #

Total comments: 4

Patch Set 15 : review comments addressed. #

Total comments: 1

Patch Set 16 : nit updated. #

Total comments: 17

Patch Set 17 : destroy completed raster tasks after scheduling. #

Total comments: 3

Patch Set 18 : avoid prioritzed tile set dcheck in cleanup as it causes test failures. #

Patch Set 19 : fix test failures in faketilemanager #

Total comments: 5

Patch Set 20 : updated review comments + reset tile priority from tiling. #

Total comments: 12

Patch Set 21 : reset priority on correct tree. #

Total comments: 11

Patch Set 22 : use scopedvector for released tiles. #

Total comments: 22

Patch Set 23 : review comments addressed. #

Total comments: 8

Patch Set 24 : review commets addressed. #

Total comments: 6

Patch Set 25 : Test Updated. #

Patch Set 26 : UnitTests updated. #

Total comments: 5

Patch Set 27 : Tests Updated - 2 #

Total comments: 4

Patch Set 28 : use std::vector for released tiles. #

Total comments: 5

Patch Set 29 : nits updated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -22 lines) Patch
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +1 line, -1 line 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +15 lines, -1 line 0 comments Download
M cc/resources/picture_layer_tiling_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +5 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +3 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 21 chunks +21 lines, -0 lines 0 comments Download
M cc/resources/prioritized_tile_set.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/prioritized_tile_set.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +8 lines, -0 lines 0 comments Download
M cc/resources/prioritized_tile_set_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 11 chunks +41 lines, -0 lines 0 comments Download
M cc/resources/tile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 22 23 24 25 26 27 28 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/tile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +6 lines, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 6 chunks +32 lines, -18 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 12 chunks +47 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +3 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +4 lines, -0 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 96 (1 generated)
sohanjg
Can you please take a look. Thanks.
6 years, 5 months ago (2014-07-03 12:16:15 UTC) #1
reveman
The description is a bit off. The important part is not to avoid releasing resources ...
6 years, 5 months ago (2014-07-03 18:12:47 UTC) #2
sohanjg
Can you please take a look. Thanks. https://codereview.chromium.org/366113002/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/1/cc/resources/tile_manager.cc#newcode392 cc/resources/tile_manager.cc:392: CleanUpReleasedTiles(); On ...
6 years, 5 months ago (2014-07-04 11:56:59 UTC) #3
vmpstr
https://codereview.chromium.org/366113002/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/1/cc/resources/tile_manager.cc#newcode429 cc/resources/tile_manager.cc:429: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); On 2014/07/04 11:56:58, sohanjg wrote: > On ...
6 years, 5 months ago (2014-07-05 17:42:19 UTC) #4
reveman
https://codereview.chromium.org/366113002/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/1/cc/resources/tile_manager.cc#newcode429 cc/resources/tile_manager.cc:429: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); On 2014/07/05 17:42:19, vmpstr wrote: > On ...
6 years, 5 months ago (2014-07-07 18:15:16 UTC) #5
sohanjg
Have freed up resources for all tiles, but avoided tile deletion if we have raster ...
6 years, 5 months ago (2014-07-08 06:21:15 UTC) #6
sohanjg
On 2014/07/08 06:21:15, sohanjg wrote: > Have freed up resources for all tiles, but avoided ...
6 years, 5 months ago (2014-07-08 13:12:46 UTC) #7
sohanjg
reveman@, vmpstr@, can you please have a look. Thanks.
6 years, 5 months ago (2014-07-09 13:48:09 UTC) #8
reveman
https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc#newcode427 cc/resources/tile_manager.cc:427: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); What's the difference between this and only ...
6 years, 5 months ago (2014-07-09 14:15:31 UTC) #9
sohanjg
https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc#newcode427 cc/resources/tile_manager.cc:427: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); On 2014/07/09 14:15:30, reveman wrote: > What's ...
6 years, 5 months ago (2014-07-09 14:32:11 UTC) #10
vmpstr
https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc#newcode427 cc/resources/tile_manager.cc:427: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); On 2014/07/09 14:32:11, sohanjg wrote: > On ...
6 years, 5 months ago (2014-07-09 18:41:21 UTC) #11
reveman
https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc#newcode427 cc/resources/tile_manager.cc:427: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); On 2014/07/09 18:41:21, vmpstr wrote: > On ...
6 years, 5 months ago (2014-07-09 20:09:43 UTC) #12
vmpstr
https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc#newcode427 cc/resources/tile_manager.cc:427: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); > Maybe we should make this a ...
6 years, 5 months ago (2014-07-09 23:15:15 UTC) #13
reveman
https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc#newcode437 cc/resources/tile_manager.cc:437: DCHECK(tiles_.find(tile->id()) != tiles_.end()); On 2014/07/09 23:15:14, vmpstr wrote: > ...
6 years, 5 months ago (2014-07-10 11:23:04 UTC) #14
sohanjg
Can you please take a look. Thanks. https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/100001/cc/resources/tile_manager.cc#newcode427 cc/resources/tile_manager.cc:427: FreeResourceForTile(tile, static_cast<RasterMode>(mode)); ...
6 years, 5 months ago (2014-07-10 13:29:45 UTC) #15
reveman
https://codereview.chromium.org/366113002/diff/120001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (left): https://codereview.chromium.org/366113002/diff/120001/cc/resources/tile_manager.cc#oldcode1081 cc/resources/tile_manager.cc:1081: DCHECK(tile_version.raster_task_); you can keep this DCHECK. https://codereview.chromium.org/366113002/diff/120001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc ...
6 years, 5 months ago (2014-07-10 16:21:56 UTC) #16
sohanjg
Can you please take a look. Thanks. https://codereview.chromium.org/366113002/diff/120001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (left): https://codereview.chromium.org/366113002/diff/120001/cc/resources/tile_manager.cc#oldcode1081 cc/resources/tile_manager.cc:1081: DCHECK(tile_version.raster_task_); On ...
6 years, 5 months ago (2014-07-11 15:14:12 UTC) #17
reveman
https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (left): https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.cc#oldcode393 cc/resources/tile_manager.cc:393: DCHECK_EQ(0u, tiles_.size()); why remove this DCHECK? this is very ...
6 years, 5 months ago (2014-07-11 17:06:37 UTC) #18
sohanjg
Can you please take a look. Thanks. https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (left): https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.cc#oldcode393 cc/resources/tile_manager.cc:393: DCHECK_EQ(0u, tiles_.size()); ...
6 years, 5 months ago (2014-07-12 11:41:59 UTC) #19
reveman
https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.h#newcode246 cc/resources/tile_manager.h:246: bool TileHasRasterTask(Tile* tile); On 2014/07/12 11:41:59, sohanjg wrote: > ...
6 years, 5 months ago (2014-07-14 21:55:00 UTC) #20
sohanjg
Can you please take a look. Thanks. https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/366113002/diff/140001/cc/resources/tile_manager.h#newcode246 cc/resources/tile_manager.h:246: bool TileHasRasterTask(Tile* ...
6 years, 5 months ago (2014-07-15 05:36:38 UTC) #21
reveman
https://codereview.chromium.org/366113002/diff/180001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/180001/cc/resources/tile_manager.cc#newcode1586 cc/resources/tile_manager.cc:1586: ManagedTileState& mts = tile->managed_state(); const ManagedTileState& mts = ...
6 years, 5 months ago (2014-07-15 05:46:47 UTC) #22
sohanjg
Can you please take a look, Thanks. https://codereview.chromium.org/366113002/diff/180001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/180001/cc/resources/tile_manager.cc#newcode1586 cc/resources/tile_manager.cc:1586: ManagedTileState& mts ...
6 years, 5 months ago (2014-07-15 06:20:06 UTC) #23
reveman
https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc#newcode463 cc/resources/tile_manager.cc:463: CleanUpReleasedTiles(); Is it enough to clean up released tiles ...
6 years, 5 months ago (2014-07-15 15:28:31 UTC) #24
sohanjg
https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc#newcode463 cc/resources/tile_manager.cc:463: CleanUpReleasedTiles(); On 2014/07/15 15:28:31, reveman wrote: > Is it ...
6 years, 5 months ago (2014-07-16 13:01:34 UTC) #25
reveman
https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc#newcode463 cc/resources/tile_manager.cc:463: CleanUpReleasedTiles(); On 2014/07/16 13:01:34, sohanjg wrote: > On 2014/07/15 ...
6 years, 5 months ago (2014-07-16 16:49:02 UTC) #26
sohanjg
https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc#newcode463 cc/resources/tile_manager.cc:463: CleanUpReleasedTiles(); On 2014/07/16 16:49:02, reveman wrote: > On 2014/07/16 ...
6 years, 5 months ago (2014-07-16 17:47:59 UTC) #27
reveman
On 2014/07/16 17:47:59, sohanjg wrote: > https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc > File cc/resources/tile_manager.cc (right): > > https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc#newcode463 > ...
6 years, 5 months ago (2014-07-16 21:46:16 UTC) #28
sohanjg
On 2014/07/16 21:46:16, reveman wrote: > On 2014/07/16 17:47:59, sohanjg wrote: > > > https://codereview.chromium.org/366113002/diff/200001/cc/resources/tile_manager.cc ...
6 years, 5 months ago (2014-07-17 07:51:17 UTC) #29
reveman
https://codereview.chromium.org/366113002/diff/220001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/220001/cc/resources/tile_manager.cc#newcode431 cc/resources/tile_manager.cc:431: void TileManager::CleanUpReleasedTiles() { How about adding a DCHECK(prioritized_tiles_dirty_) here ...
6 years, 5 months ago (2014-07-17 15:10:50 UTC) #30
sohanjg
Please take a look, Thanks. https://codereview.chromium.org/366113002/diff/220001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/220001/cc/resources/tile_manager.cc#newcode431 cc/resources/tile_manager.cc:431: void TileManager::CleanUpReleasedTiles() { On ...
6 years, 5 months ago (2014-07-17 15:58:33 UTC) #31
reveman
lgtm
6 years, 5 months ago (2014-07-17 16:03:38 UTC) #32
sohanjg
On 2014/07/17 16:03:38, reveman wrote: > lgtm Vlad,do u have any inputs before we commit ...
6 years, 5 months ago (2014-07-18 00:41:37 UTC) #33
vmpstr
You need to clear the TilePriority for both the active and the pending trees so ...
6 years, 5 months ago (2014-07-18 18:03:53 UTC) #34
reveman
https://codereview.chromium.org/366113002/diff/240001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/240001/cc/resources/tile_manager.cc#newcode1589 cc/resources/tile_manager.cc:1589: bool TileManager::TileHasRasterTask(const Tile* tile) { On 2014/07/18 18:03:53, vmpstr ...
6 years, 5 months ago (2014-07-18 19:18:14 UTC) #35
sohanjg
Looks like its better to do UpdatePrioritizedTileSetIfNeeded, in DidFinishRunningTasks once we do CheckForCompletedTasks, this will ...
6 years, 5 months ago (2014-07-21 10:09:07 UTC) #36
reveman
not lgtm https://codereview.chromium.org/366113002/diff/260001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/260001/cc/resources/tile.h#newcode177 cc/resources/tile.h:177: bool HasRasterTask(); bool HasRasterTask() const; https://codereview.chromium.org/366113002/diff/260001/cc/resources/tile_manager.cc File ...
6 years, 5 months ago (2014-07-21 12:27:50 UTC) #37
sohanjg
Sorry for the confusion. Please take a look, thanks, https://codereview.chromium.org/366113002/diff/260001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/260001/cc/resources/tile_manager.cc#newcode485 cc/resources/tile_manager.cc:485: ...
6 years, 5 months ago (2014-07-21 12:39:14 UTC) #38
reveman
https://codereview.chromium.org/366113002/diff/280001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/280001/cc/resources/tile.h#newcode177 cc/resources/tile.h:177: bool HasRasterTask(); I still like this 'const' https://codereview.chromium.org/366113002/diff/280001/cc/resources/tile_manager.cc File ...
6 years, 5 months ago (2014-07-21 12:54:26 UTC) #39
sohanjg
Please take a look, thanks. https://codereview.chromium.org/366113002/diff/280001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/280001/cc/resources/tile.h#newcode177 cc/resources/tile.h:177: bool HasRasterTask(); On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 14:43:13 UTC) #40
reveman
lgtm with nit https://codereview.chromium.org/366113002/diff/300001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/300001/cc/resources/tile_manager.cc#newcode1084 cc/resources/tile_manager.cc:1084: Tile* tile = it->second; nit: you ...
6 years, 5 months ago (2014-07-21 14:57:02 UTC) #41
vmpstr
Overall, LG, just some questions about dchecks. https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc#newcode409 cc/resources/tile_manager.cc:409: DCHECK(TilePriority() == ...
6 years, 5 months ago (2014-07-21 15:24:15 UTC) #42
sohanjg
With latest rebase there is this always crash on android N5, at :: CheckForCompletedRasterizerTasks , ...
6 years, 5 months ago (2014-07-22 14:17:47 UTC) #43
vmpstr
https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc#newcode409 cc/resources/tile_manager.cc:409: DCHECK(TilePriority() == tile->combined_priority()); On 2014/07/22 14:17:46, sohanjg wrote: > ...
6 years, 5 months ago (2014-07-22 15:17:30 UTC) #44
reveman
https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc#newcode409 cc/resources/tile_manager.cc:409: DCHECK(TilePriority() == tile->combined_priority()); On 2014/07/22 15:17:29, vmpstr wrote: > ...
6 years, 5 months ago (2014-07-22 16:21:21 UTC) #45
vmpstr
https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc#newcode409 cc/resources/tile_manager.cc:409: DCHECK(TilePriority() == tile->combined_priority()); On 2014/07/22 16:21:21, reveman wrote: > ...
6 years, 5 months ago (2014-07-22 16:31:02 UTC) #46
reveman
https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc#newcode409 cc/resources/tile_manager.cc:409: DCHECK(TilePriority() == tile->combined_priority()); On 2014/07/22 16:31:02, vmpstr wrote: > ...
6 years, 5 months ago (2014-07-22 16:51:08 UTC) #47
vmpstr
https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc#newcode409 cc/resources/tile_manager.cc:409: DCHECK(TilePriority() == tile->combined_priority()); On 2014/07/22 16:51:08, reveman wrote: > ...
6 years, 5 months ago (2014-07-22 17:23:34 UTC) #48
reveman
https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/320001/cc/resources/tile_manager.cc#newcode409 cc/resources/tile_manager.cc:409: DCHECK(TilePriority() == tile->combined_priority()); On 2014/07/22 17:23:34, vmpstr wrote: > ...
6 years, 5 months ago (2014-07-22 18:02:47 UTC) #49
sohanjg
Looks like we need to destroy the completed raster tasks after scheduling, i have re-used ...
6 years, 5 months ago (2014-07-23 13:05:41 UTC) #50
sohanjg
Had to avoid the dcheck on prioritized tile set for build issue, please take a ...
6 years, 5 months ago (2014-07-23 14:16:32 UTC) #51
vmpstr
Aside from the comment below, this lgtm. Please wait for reveman to do another review ...
6 years, 5 months ago (2014-07-23 16:10:37 UTC) #52
reveman
https://codereview.chromium.org/366113002/diff/380001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/380001/cc/resources/tile_manager.cc#newcode439 cc/resources/tile_manager.cc:439: DCHECK(prioritized_tiles_dirty_); Why did you remove this DCHECK? What was ...
6 years, 5 months ago (2014-07-23 16:26:54 UTC) #53
sohanjg
https://codereview.chromium.org/366113002/diff/380001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/380001/cc/resources/tile_manager.cc#newcode439 cc/resources/tile_manager.cc:439: DCHECK(prioritized_tiles_dirty_); On 2014/07/23 16:26:54, reveman wrote: > Why did ...
6 years, 5 months ago (2014-07-23 16:59:51 UTC) #54
reveman
https://codereview.chromium.org/366113002/diff/380001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/380001/cc/resources/tile_manager.cc#newcode439 cc/resources/tile_manager.cc:439: DCHECK(prioritized_tiles_dirty_); On 2014/07/23 16:59:51, sohanjg wrote: > On 2014/07/23 ...
6 years, 5 months ago (2014-07-23 17:08:49 UTC) #55
sohanjg
Moved resetting the priority to picture layer tiling set, while releasing tiles, in SetLiveTilesRect, DoInvalidate, ...
6 years, 5 months ago (2014-07-24 11:08:41 UTC) #56
reveman
https://codereview.chromium.org/366113002/diff/440001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/366113002/diff/440001/cc/resources/picture_layer_tiling.cc#newcode100 cc/resources/picture_layer_tiling.cc:100: tile->SetPriority(PENDING_TREE, TilePriority()); I don't think you can reset both ...
6 years, 5 months ago (2014-07-24 13:36:24 UTC) #57
sohanjg
https://codereview.chromium.org/366113002/diff/440001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/366113002/diff/440001/cc/resources/picture_layer_tiling.cc#newcode100 cc/resources/picture_layer_tiling.cc:100: tile->SetPriority(PENDING_TREE, TilePriority()); On 2014/07/24 13:36:24, reveman wrote: > I ...
6 years, 5 months ago (2014-07-24 15:01:55 UTC) #58
vmpstr
https://codereview.chromium.org/366113002/diff/440001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/366113002/diff/440001/cc/resources/picture_layer_tiling.cc#newcode100 cc/resources/picture_layer_tiling.cc:100: tile->SetPriority(PENDING_TREE, TilePriority()); On 2014/07/24 15:01:55, sohanjg wrote: > On ...
6 years, 5 months ago (2014-07-24 16:19:22 UTC) #59
sohanjg
Can you please take a look, hopefully the last iteration :) Thanks. https://codereview.chromium.org/366113002/diff/440001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc ...
6 years, 5 months ago (2014-07-25 09:38:26 UTC) #60
vmpstr
https://codereview.chromium.org/366113002/diff/460001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/460001/cc/resources/tile_manager.cc#newcode402 cc/resources/tile_manager.cc:402: released_tiles_.clear(); You should call CleanUp... here instead and dcheck ...
6 years, 5 months ago (2014-07-25 16:29:25 UTC) #61
vmpstr
https://codereview.chromium.org/366113002/diff/460001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/366113002/diff/460001/cc/resources/tile_manager.h#newcode331 cc/resources/tile_manager.h:331: // TODO(sohanjg): Use ScopedVector. On 2014/07/25 16:29:25, vmpstr wrote: ...
6 years, 5 months ago (2014-07-25 16:43:43 UTC) #62
reveman
https://codereview.chromium.org/366113002/diff/460001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/366113002/diff/460001/cc/resources/picture_layer_tiling.cc#newcode222 cc/resources/picture_layer_tiling.cc:222: find->second.get()->SetPriority(client_->GetTree(), TilePriority()); This comment is relevant not just here ...
6 years, 5 months ago (2014-07-25 17:00:55 UTC) #63
sohanjg
Please take a look, thanks. https://codereview.chromium.org/366113002/diff/460001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/366113002/diff/460001/cc/resources/picture_layer_tiling.cc#newcode222 cc/resources/picture_layer_tiling.cc:222: find->second.get()->SetPriority(client_->GetTree(), TilePriority()); On 2014/07/25 ...
6 years, 5 months ago (2014-07-26 09:36:01 UTC) #64
reveman
https://codereview.chromium.org/366113002/diff/460001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/366113002/diff/460001/cc/resources/picture_layer_tiling.cc#newcode222 cc/resources/picture_layer_tiling.cc:222: find->second.get()->SetPriority(client_->GetTree(), TilePriority()); On 2014/07/26 09:36:01, sohanjg wrote: > On ...
6 years, 4 months ago (2014-07-28 02:24:36 UTC) #65
sohanjg
Please have a look, and let me know your opinion. And thank you for your ...
6 years, 4 months ago (2014-07-28 10:10:19 UTC) #66
danakj
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); On 2014/07/28 10:10:19, sohanjg wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 10:20:03 UTC) #67
sohanjg
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); On 2014/07/28 10:20:03, danakj_OOO_until_Aug_3 wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 11:34:50 UTC) #68
danakj
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); On 2014/07/28 11:34:50, sohanjg wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 12:29:28 UTC) #69
vmpstr
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); On 2014/07/28 12:29:28, danakj_OOO_until_Aug_3 wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 15:23:14 UTC) #70
danakj
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); On 2014/07/28 15:23:14, vmpstr wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 15:27:13 UTC) #71
reveman
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); On 2014/07/28 15:27:13, danakj_OOO_until_Aug_3 wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 15:33:07 UTC) #72
vmpstr
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); On 2014/07/28 15:27:13, danakj_OOO_until_Aug_3 wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 15:33:57 UTC) #73
reveman
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile_manager.cc#newcode433 cc/resources/tile_manager.cc:433: DCHECK(prioritized_tiles_dirty_); On 2014/07/28 10:10:19, sohanjg wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 15:50:53 UTC) #74
sohanjg
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile_manager.cc#newcode433 cc/resources/tile_manager.cc:433: DCHECK(prioritized_tiles_dirty_); On 2014/07/28 15:50:53, reveman wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 17:36:02 UTC) #75
jamesr
On 2014/07/28 15:23:14, vmpstr wrote: > https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h > File cc/resources/tile.h (right): > > https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h#newcode24 > ...
6 years, 4 months ago (2014-07-28 17:46:47 UTC) #76
reveman
On 2014/07/28 17:46:47, jamesr wrote: > On 2014/07/28 15:23:14, vmpstr wrote: > > https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h > ...
6 years, 4 months ago (2014-07-28 18:25:34 UTC) #77
reveman
https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile_manager.cc#newcode433 cc/resources/tile_manager.cc:433: DCHECK(prioritized_tiles_dirty_); On 2014/07/28 17:36:02, sohanjg wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 18:27:51 UTC) #78
sohanjg
Please take a look, thanks a lot for bearing through this :) https://codereview.chromium.org/366113002/diff/470001/cc/resources/tile.h File cc/resources/tile.h ...
6 years, 4 months ago (2014-07-30 11:12:57 UTC) #79
reveman
https://codereview.chromium.org/366113002/diff/510001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/510001/cc/resources/tile.h#newcode24 cc/resources/tile.h:24: ~Tile(); This is really inappropriate for a ref counted ...
6 years, 4 months ago (2014-07-30 14:24:01 UTC) #80
sohanjg
Update the unit tests, please take a look, if they are okay? Thanks. https://codereview.chromium.org/366113002/diff/510001/cc/resources/tile.h File ...
6 years, 4 months ago (2014-07-30 17:27:04 UTC) #81
reveman
https://codereview.chromium.org/366113002/diff/550001/cc/resources/prioritized_tile_set_unittest.cc File cc/resources/prioritized_tile_set_unittest.cc (right): https://codereview.chromium.org/366113002/diff/550001/cc/resources/prioritized_tile_set_unittest.cc#newcode80 cc/resources/prioritized_tile_set_unittest.cc:80: void ReleaseTileOnBothTree(std::vector<scoped_refptr<Tile> > tiles) { nit: don't pass the ...
6 years, 4 months ago (2014-07-30 18:41:39 UTC) #82
sohanjg
https://codereview.chromium.org/366113002/diff/550001/cc/resources/prioritized_tile_set_unittest.cc File cc/resources/prioritized_tile_set_unittest.cc (right): https://codereview.chromium.org/366113002/diff/550001/cc/resources/prioritized_tile_set_unittest.cc#newcode80 cc/resources/prioritized_tile_set_unittest.cc:80: void ReleaseTileOnBothTree(std::vector<scoped_refptr<Tile> > tiles) { On 2014/07/30 18:41:39, reveman ...
6 years, 4 months ago (2014-07-31 13:42:56 UTC) #83
reveman
https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc#newcode401 cc/resources/tile_manager.cc:401: FreeResourcesForReleasedTiles(); I tried to refactor RefCountedManaged but I haven't ...
6 years, 4 months ago (2014-07-31 17:00:33 UTC) #84
sohanjg
https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc#newcode401 cc/resources/tile_manager.cc:401: FreeResourcesForReleasedTiles(); On 2014/07/31 17:00:33, reveman wrote: > I tried ...
6 years, 4 months ago (2014-08-01 07:34:18 UTC) #85
reveman
https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc#newcode401 cc/resources/tile_manager.cc:401: FreeResourcesForReleasedTiles(); On 2014/08/01 07:34:17, sohanjg wrote: > On 2014/07/31 ...
6 years, 4 months ago (2014-08-01 11:47:12 UTC) #86
sohanjg
https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/366113002/diff/570001/cc/resources/tile_manager.cc#newcode401 cc/resources/tile_manager.cc:401: FreeResourcesForReleasedTiles(); On 2014/08/01 11:47:12, reveman wrote: > On 2014/08/01 ...
6 years, 4 months ago (2014-08-01 12:18:37 UTC) #87
reveman
Lgtm with nit https://codereview.chromium.org/366113002/diff/590001/cc/resources/tile.h File cc/resources/tile.h (right): https://codereview.chromium.org/366113002/diff/590001/cc/resources/tile.h#newcode171 cc/resources/tile.h:171: Nit: no need to add this ...
6 years, 4 months ago (2014-08-01 14:13:14 UTC) #88
vmpstr
lgtm2 https://codereview.chromium.org/366113002/diff/590001/cc/resources/prioritized_tile_set.cc File cc/resources/prioritized_tile_set.cc (right): https://codereview.chromium.org/366113002/diff/590001/cc/resources/prioritized_tile_set.cc#newcode84 cc/resources/prioritized_tile_set.cc:84: bool PrioritizedTileSet::Empty() { nit: I think the convention ...
6 years, 4 months ago (2014-08-01 16:03:16 UTC) #89
sohanjg
Thanks! :) https://codereview.chromium.org/366113002/diff/590001/cc/resources/prioritized_tile_set.cc File cc/resources/prioritized_tile_set.cc (right): https://codereview.chromium.org/366113002/diff/590001/cc/resources/prioritized_tile_set.cc#newcode84 cc/resources/prioritized_tile_set.cc:84: bool PrioritizedTileSet::Empty() { On 2014/08/01 16:03:16, vmpstr ...
6 years, 4 months ago (2014-08-04 06:25:04 UTC) #90
sohanjg
The CQ bit was checked by sohan.jyoti@samsung.com
6 years, 4 months ago (2014-08-04 06:25:21 UTC) #91
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sohan.jyoti@samsung.com/366113002/610001
6 years, 4 months ago (2014-08-04 06:26:05 UTC) #92
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-04 08:21:45 UTC) #93
commit-bot: I haz the power
Change committed as 287304
6 years, 4 months ago (2014-08-04 08:43:53 UTC) #94
vmpstr
6 years, 4 months ago (2014-08-04 16:04:41 UTC) #95
Message was sent while issue was closed.
https://codereview.chromium.org/366113002/diff/590001/cc/resources/prioritize...
File cc/resources/prioritized_tile_set.cc (right):

https://codereview.chromium.org/366113002/diff/590001/cc/resources/prioritize...
cc/resources/prioritized_tile_set.cc:84: bool PrioritizedTileSet::Empty() {
On 2014/08/04 06:25:03, sohanjg wrote:
> On 2014/08/01 16:03:16, vmpstr wrote:
> > nit: I think the convention is to name this "IsEmpty"
> 
> Done.
> Renamed, std::vector seems to be using ::Empty, is it convention for
containers
> you mean here ?

Yeah cc containers or any thing that has a concept of being empty is more often
IsEmpty, stl is still ::empty :)

Powered by Google App Engine
This is Rietveld 408576698