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

Issue 228173002: cc: Separate RasterWorkerPool interface from implementation details. (Closed)

Created:
6 years, 8 months ago by reveman
Modified:
6 years, 8 months ago
Reviewers:
vmpstr, alokp
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam
Visibility:
Public.

Description

cc: Separate RasterWorkerPool interface from implementation details. RasterWorkerPool class has a lot of implementation specific details that the tile manager and the delegate should not be affected by. Moving implementation specific parts into a separate class and file makes it clear what is part of the interface used by the tile manager and what are details of the implementation. ie. changes to implementation specific files alone should not affect or require changes to the tile manager. BUG=269841 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263120

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase #

Patch Set 4 : Name interface Rasterizer instead and keep RasterWorkerPool name for the implementation #

Total comments: 7

Patch Set 5 : address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+880 lines, -858 lines) Patch
M cc/cc.gyp View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
D cc/resources/direct_raster_worker_pool.h View 1 2 3 2 chunks +17 lines, -15 lines 0 comments Download
D cc/resources/direct_raster_worker_pool.cc View 1 2 3 9 chunks +18 lines, -18 lines 0 comments Download
D cc/resources/image_raster_worker_pool.h View 1 2 3 3 chunks +15 lines, -11 lines 0 comments Download
D cc/resources/image_raster_worker_pool.cc View 1 2 3 7 chunks +16 lines, -16 lines 0 comments Download
M cc/resources/managed_tile_state.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
D cc/resources/pixel_buffer_raster_worker_pool.h View 1 2 3 4 chunks +29 lines, -30 lines 0 comments Download
D cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 3 4 22 chunks +78 lines, -82 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 3 3 chunks +23 lines, -162 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 2 3 9 chunks +41 lines, -103 lines 0 comments Download
D cc/resources/raster_worker_pool_delegate.h View 1 2 3 1 chunk +0 lines, -47 lines 0 comments Download
D cc/resources/raster_worker_pool_delegate.cc View 1 2 3 1 chunk +0 lines, -79 lines 0 comments Download
D cc/resources/raster_worker_pool_perftest.cc View 1 2 3 15 chunks +61 lines, -90 lines 0 comments Download
D cc/resources/raster_worker_pool_unittest.cc View 1 2 3 10 chunks +51 lines, -58 lines 0 comments Download
A cc/resources/rasterizer.h View 1 2 3 1 chunk +177 lines, -0 lines 0 comments Download
A cc/resources/rasterizer.cc View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A cc/resources/rasterizer_delegate.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A cc/resources/rasterizer_delegate.cc View 1 2 3 4 1 chunk +89 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 9 chunks +18 lines, -18 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 27 chunks +78 lines, -82 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 2 3 7 chunks +22 lines, -24 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 5 chunks +10 lines, -13 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
reveman
Follow up to making RasterWorkerPool an abstract class.
6 years, 8 months ago (2014-04-08 16:04:23 UTC) #1
vmpstr
Overall looks good, I just have some questions: I'm assuming the impl here means what ...
6 years, 8 months ago (2014-04-08 22:20:46 UTC) #2
reveman
On 2014/04/08 22:20:46, vmpstr wrote: > Overall looks good, I just have some questions: > ...
6 years, 8 months ago (2014-04-09 19:24:56 UTC) #3
vmpstr
On 2014/04/09 19:24:56, reveman wrote: > On 2014/04/08 22:20:46, vmpstr wrote: > > Overall looks ...
6 years, 8 months ago (2014-04-09 19:53:29 UTC) #4
reveman
On 2014/04/09 19:53:29, vmpstr wrote: > On 2014/04/09 19:24:56, reveman wrote: > > On 2014/04/08 ...
6 years, 8 months ago (2014-04-09 20:46:37 UTC) #5
vmpstr
On 2014/04/09 20:46:37, reveman wrote: > On 2014/04/09 19:53:29, vmpstr wrote: > > On 2014/04/09 ...
6 years, 8 months ago (2014-04-09 21:06:55 UTC) #6
reveman
PTAL
6 years, 8 months ago (2014-04-10 13:00:02 UTC) #7
vmpstr
I like the name, I think this is a good separation of what is implementation ...
6 years, 8 months ago (2014-04-10 18:21:18 UTC) #8
reveman
PTAL https://codereview.chromium.org/228173002/diff/60001/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/228173002/diff/60001/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode389 cc/resources/pixel_buffer_raster_worker_pool.cc:389: std::find_if(raster_task_states_.begin(), On 2014/04/10 18:21:18, vmpstr wrote: > This ...
6 years, 8 months ago (2014-04-10 19:38:15 UTC) #9
vmpstr
lgtm https://codereview.chromium.org/228173002/diff/60001/cc/resources/rasterizer_delegate.h File cc/resources/rasterizer_delegate.h (right): https://codereview.chromium.org/228173002/diff/60001/cc/resources/rasterizer_delegate.h#newcode14 cc/resources/rasterizer_delegate.h:14: class RasterizerDelegate : public RasterizerClient { On 2014/04/10 ...
6 years, 8 months ago (2014-04-10 19:40:52 UTC) #10
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 8 months ago (2014-04-10 19:42:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/228173002/80001
6 years, 8 months ago (2014-04-10 19:43:17 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 23:09:58 UTC) #13
Message was sent while issue was closed.
Change committed as 263120

Powered by Google App Engine
This is Rietveld 408576698