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

Issue 1132443003: cc: Move raster_source from Tile to PrioritizedTile (Closed)

Created:
5 years, 7 months ago by hendrikw
Modified:
5 years, 7 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Move raster_source from Tile to PrioritizedTile This moves more of the transitive state of the tile to PrioritizedTile which has a shorter lifetime, avoiding us to update properties on the tile. BUG= Committed: https://crrev.com/c5e91585651efbbaed34f4b90e4fcbfea75db7e1 Cr-Commit-Position: refs/heads/master@{#329556}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments #

Total comments: 1

Patch Set 3 : separate the AsValueInto #

Patch Set 4 : more newlines #

Total comments: 1

Patch Set 5 : rename var #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -112 lines) Patch
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 9 chunks +21 lines, -7 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 4 chunks +3 lines, -6 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 6 chunks +11 lines, -27 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 4 chunks +3 lines, -6 lines 0 comments Download
M cc/resources/prioritized_tile.h View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M cc/resources/prioritized_tile.cc View 1 2 3 4 1 chunk +19 lines, -2 lines 0 comments Download
M cc/resources/tile.h View 1 2 3 4 5 chunks +2 lines, -15 lines 0 comments Download
M cc/resources/tile.cc View 1 2 3 4 2 chunks +13 lines, -21 lines 0 comments Download
M cc/resources/tile_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +5 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
hendrikw
Hi, PTAL, thanks!
5 years, 7 months ago (2015-05-12 17:48:17 UTC) #2
vmpstr
Is there any perf impact from this patch? https://codereview.chromium.org/1132443003/diff/1/cc/debug/rasterize_and_record_benchmark_impl.cc File cc/debug/rasterize_and_record_benchmark_impl.cc (right): https://codereview.chromium.org/1132443003/diff/1/cc/debug/rasterize_and_record_benchmark_impl.cc#newcode186 cc/debug/rasterize_and_record_benchmark_impl.cc:186: RasterSource* ...
5 years, 7 months ago (2015-05-12 20:18:52 UTC) #3
hendrikw
No change with performance. https://codereview.chromium.org/1132443003/diff/1/cc/debug/rasterize_and_record_benchmark_impl.cc File cc/debug/rasterize_and_record_benchmark_impl.cc (right): https://codereview.chromium.org/1132443003/diff/1/cc/debug/rasterize_and_record_benchmark_impl.cc#newcode186 cc/debug/rasterize_and_record_benchmark_impl.cc:186: RasterSource* raster_source = tiling->raster_source(); On ...
5 years, 7 months ago (2015-05-12 21:40:18 UTC) #4
vmpstr
https://codereview.chromium.org/1132443003/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1132443003/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode3188 cc/trees/layer_tree_host_impl.cc:3188: prioritized_tile.tile()->AsValueWithPriorityInto(prioritized_tile, state); I know you added todo in tile, ...
5 years, 7 months ago (2015-05-12 21:47:50 UTC) #5
hendrikw
Ok, I went ahead and split the priority and tile related AsValueInto functions.
5 years, 7 months ago (2015-05-12 22:13:42 UTC) #6
vmpstr
Can you make sure that traceviewer is happy with these changes (eg, you can still ...
5 years, 7 months ago (2015-05-12 23:52:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132443003/80001
5 years, 7 months ago (2015-05-13 00:23:34 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-13 01:29:13 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 01:29:54 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c5e91585651efbbaed34f4b90e4fcbfea75db7e1
Cr-Commit-Position: refs/heads/master@{#329556}

Powered by Google App Engine
This is Rietveld 408576698