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

Issue 17244003: cc: Move task graph construction to RasterWorkerPool classes. (Closed)

Created:
7 years, 6 months ago by reveman
Modified:
7 years, 6 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@wp-run-count
Visibility:
Public.

Description

cc: Move task graph construction to RasterWorkerPool classes. This removes the need to construct a temporary graph by RasterWorkerPool classes. It reduces the number of tasks created and eliminates the need for a dependencies vector as part of the internal::WorkerPoolTask class. This is also a prerequisite to implementing a "ready to activate" signal as that requires as task graph structure that is not a tree. BUG=247677 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207864

Patch Set 1 #

Patch Set 2 : add new more useful performance test for task graph building #

Patch Set 3 : share more code between raster worker pool implementations #

Patch Set 4 : move even more logic to RasterWorkerPool class #

Patch Set 5 : remove unsused code #

Total comments: 2

Patch Set 6 : add missing CC_EXPORT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+550 lines, -383 lines) Patch
M cc/cc_tests.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/image_raster_worker_pool.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M cc/resources/image_raster_worker_pool.cc View 1 2 3 4 3 chunks +6 lines, -25 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.h View 1 2 3 3 chunks +3 lines, -8 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 3 9 chunks +17 lines, -61 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 3 4 5 10 chunks +36 lines, -27 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 2 3 11 chunks +114 lines, -60 lines 0 comments Download
A cc/resources/raster_worker_pool_perftest.cc View 1 2 1 chunk +200 lines, -0 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/worker_pool.h View 1 2 3 5 chunks +7 lines, -32 lines 0 comments Download
M cc/resources/worker_pool.cc View 1 2 3 4 chunks +5 lines, -58 lines 0 comments Download
M cc/resources/worker_pool_perftest.cc View 1 2 3 7 chunks +106 lines, -84 lines 0 comments Download
M cc/resources/worker_pool_unittest.cc View 1 2 3 4 chunks +50 lines, -25 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
reveman
this is now ready for review
7 years, 6 months ago (2013-06-18 15:12:49 UTC) #1
vmpstr
I like the fact that this simplifies worker pool by removing all of those recursive ...
7 years, 6 months ago (2013-06-19 00:18:26 UTC) #2
reveman
Latest patch moves more logic to base RasterWorkerPool class by adding a RasterTaskGraph class. PTAL.
7 years, 6 months ago (2013-06-20 12:31:07 UTC) #3
vmpstr
I like this very much. So we end up just having graph.InsertRasterTask which does it's ...
7 years, 6 months ago (2013-06-20 18:01:30 UTC) #4
reveman
https://codereview.chromium.org/17244003/diff/13001/cc/resources/raster_worker_pool.cc File cc/resources/raster_worker_pool.cc (right): https://codereview.chromium.org/17244003/diff/13001/cc/resources/raster_worker_pool.cc#newcode465 cc/resources/raster_worker_pool.cc:465: ++schedule_raster_tasks_count_; On 2013/06/20 18:01:30, vmpstr wrote: > should this ...
7 years, 6 months ago (2013-06-20 18:34:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/17244003/13001
7 years, 6 months ago (2013-06-20 18:36:23 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-20 19:06:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/17244003/13001
7 years, 6 months ago (2013-06-21 02:01:42 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-21 02:52:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/17244003/38001
7 years, 6 months ago (2013-06-21 14:47:47 UTC) #10
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 16:52:52 UTC) #11
Message was sent while issue was closed.
Change committed as 207864

Powered by Google App Engine
This is Rietveld 408576698