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

Issue 17625002: cc: Eliminate tile.h's dependency on tile_manager.h (Closed)

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

Description

cc: Eliminate tile.h's dependency on tile_manager.h Tile needs the raster mode and tile priority, which are currently included via raster_worker_pool, which is included by the tile manager. Since tile at the layer's level, it really shouldn't include raster worker pool at any point. This patch moves raster mode and tile priority to a separate tile data file. This would also be a good spot for combining content_rect and contents_scale into TileRect (which is something I'd like to do) BUG=253972 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210098

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : spacing update #

Total comments: 14

Patch Set 4 : rebased #

Patch Set 5 : reveman's review #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -96 lines) Patch
M cc/cc.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A cc/resources/raster_mode.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A cc/resources/raster_mode.cc View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 3 4 4 chunks +8 lines, -27 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 2 3 4 5 8 chunks +51 lines, -48 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M cc/resources/tile.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 2 chunks +5 lines, -15 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
vmpstr
Please take a look.
7 years, 6 months ago (2013-06-24 18:45:45 UTC) #1
reveman
Can we just remove RasterTaskMetadata instead? See my comments for some ideas of how we ...
7 years, 5 months ago (2013-06-30 05:47:50 UTC) #2
vmpstr
I've address some of the comments. With regards to rendering stats, I'd like to push ...
7 years, 5 months ago (2013-07-01 18:41:37 UTC) #3
vmpstr
I rebased this. PTAL.
7 years, 5 months ago (2013-07-02 20:34:26 UTC) #4
reveman
I don't like the idea of a file named tile_data.h. I think the use of ...
7 years, 5 months ago (2013-07-02 21:46:17 UTC) #5
vmpstr
PTAL. I've also removed some unnecessary includes in the headers
7 years, 5 months ago (2013-07-03 16:31:56 UTC) #6
reveman
https://codereview.chromium.org/17625002/diff/13001/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (right): https://codereview.chromium.org/17625002/diff/13001/cc/resources/raster_worker_pool.cc#newcode41 cc/resources/raster_worker_pool.cc:41: int source_frame_number_) { no "_" suffixes please. however, I ...
7 years, 5 months ago (2013-07-03 16:56:12 UTC) #7
vmpstr
PTAL. https://codereview.chromium.org/17625002/diff/13001/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (right): https://codereview.chromium.org/17625002/diff/13001/cc/resources/raster_worker_pool.cc#newcode41 cc/resources/raster_worker_pool.cc:41: int source_frame_number_) { On 2013/07/03 16:56:12, David Reveman ...
7 years, 5 months ago (2013-07-03 17:33:33 UTC) #8
reveman
lgtm
7 years, 5 months ago (2013-07-03 18:06:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/17625002/19001
7 years, 5 months ago (2013-07-03 19:08:56 UTC) #10
commit-bot: I haz the power
7 years, 5 months ago (2013-07-04 01:44:18 UTC) #11
Message was sent while issue was closed.
Change committed as 210098

Powered by Google App Engine
This is Rietveld 408576698