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

Issue 900073003: cc: Rework how picture layer tiling set gets into raster queues. (Closed)

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

Description

cc: Rework how picture layer tiling set gets into raster queues. This patch changes several things to make caching tiles slightly more contained: 1. Register picture layer tiling sets with tile manager directly. 2. Maintained paired layer tiling sets in tile manager instead of pairing things every time we need to build a queue 3. Change the iterators to work with paired tiling sets. R=danakj, enne, reveman@chromium.org

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : removed unrelated changes #

Total comments: 8

Patch Set 4 : rebase #

Patch Set 5 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -342 lines) Patch
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 3 chunks +1 line, -11 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 3 chunks +24 lines, -13 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M cc/resources/eviction_tile_priority_queue.h View 3 chunks +16 lines, -5 lines 0 comments Download
M cc/resources/eviction_tile_priority_queue.cc View 4 chunks +31 lines, -15 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/raster_tile_priority_queue.h View 2 chunks +4 lines, -2 lines 0 comments Download
M cc/resources/raster_tile_priority_queue.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M cc/resources/raster_tile_priority_queue_all.h View 1 2 3 4 chunks +7 lines, -3 lines 0 comments Download
M cc/resources/raster_tile_priority_queue_all.cc View 1 2 3 5 chunks +27 lines, -16 lines 0 comments Download
M cc/resources/raster_tile_priority_queue_required.h View 2 chunks +4 lines, -1 line 0 comments Download
M cc/resources/raster_tile_priority_queue_required.cc View 2 chunks +23 lines, -7 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 chunks +15 lines, -13 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 10 chunks +58 lines, -22 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 4 chunks +16 lines, -6 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 26 chunks +57 lines, -46 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/test/fake_tile_manager_client.h View 1 chunk +1 line, -5 lines 0 comments Download
M cc/test/fake_tile_manager_client.cc View 1 chunk +2 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 3 chunks +1 line, -9 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 1 chunk +2 lines, -48 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 1 chunk +0 lines, -72 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 6 chunks +43 lines, -34 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
vmpstr
PTAL. Sorry about a big patch. I haven't really reviewed this myself, so feel free ...
5 years, 10 months ago (2015-02-05 00:52:31 UTC) #1
vmpstr
PTAL, I've rebased this. Let me know if you think any part of it should ...
5 years, 10 months ago (2015-02-07 00:54:59 UTC) #2
enne (OOO)
https://codereview.chromium.org/900073003/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/900073003/diff/40001/cc/layers/picture_layer_impl.cc#newcode605 cc/layers/picture_layer_impl.cc:605: if (layer_tree_impl()->tile_manager()) { When can you not have a ...
5 years, 10 months ago (2015-02-10 21:28:31 UTC) #3
vmpstr
PTAL. https://codereview.chromium.org/900073003/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/900073003/diff/40001/cc/layers/picture_layer_impl.cc#newcode605 cc/layers/picture_layer_impl.cc:605: if (layer_tree_impl()->tile_manager()) { On 2015/02/10 21:28:31, enne wrote: ...
5 years, 10 months ago (2015-02-11 21:37:16 UTC) #4
enne (OOO)
https://codereview.chromium.org/900073003/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/900073003/diff/40001/cc/layers/picture_layer_impl.cc#newcode605 cc/layers/picture_layer_impl.cc:605: if (layer_tree_impl()->tile_manager()) { On 2015/02/11 21:37:16, vmpstr wrote: > ...
5 years, 10 months ago (2015-02-11 21:46:16 UTC) #5
enne (OOO)
5 years, 10 months ago (2015-02-11 23:05:44 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698