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

Issue 170783007: Re-land: cc: Cleanup internal::WorkerPoolTaskClient interface. (Closed)

Created:
6 years, 10 months ago by reveman
Modified:
6 years, 10 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Re-land: cc: Cleanup internal::WorkerPoolTaskClient interface. ::CompleteOnOriginThread is now called when RasterWorkerPool has completed all necessary initialization of resource, including texture uploads. This improves the WorkerPoolTask/Client interface significantly and will allow better resource recycling once ::RunReplyOnOriginThread is removed. BUG=269841 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252874

Patch Set 1 #

Total comments: 8

Patch Set 2 : address review feedback #

Patch Set 3 : address more of the feedback #

Total comments: 2

Patch Set 4 : add comment #

Patch Set 5 : fix bug in CheckForCompletedWorkerPoolTasks #

Patch Set 6 : fix bad DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -180 lines) Patch
M cc/resources/direct_raster_worker_pool.h View 1 chunk +4 lines, -7 lines 0 comments Download
M cc/resources/direct_raster_worker_pool.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M cc/resources/image_raster_worker_pool.h View 1 chunk +4 lines, -7 lines 0 comments Download
M cc/resources/image_raster_worker_pool.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.h View 1 5 chunks +15 lines, -16 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 3 4 5 14 chunks +117 lines, -98 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 3 4 2 chunks +6 lines, -7 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/resource_provider.h View 1 2 3 6 chunks +11 lines, -6 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 4 chunks +29 lines, -11 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 3 chunks +8 lines, -7 lines 0 comments Download

Messages

Total messages: 45 (0 generated)
reveman
6 years, 10 months ago (2014-02-19 00:21:36 UTC) #1
vmpstr
https://codereview.chromium.org/170783007/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/170783007/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode133 cc/resources/pixel_buffer_raster_worker_pool.cc:133: new_raster_task_states[task].type = RasterTaskState::UNSCHEDULED; You either need to set resource ...
6 years, 10 months ago (2014-02-19 00:49:31 UTC) #2
reveman
PTAL https://codereview.chromium.org/170783007/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/170783007/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode133 cc/resources/pixel_buffer_raster_worker_pool.cc:133: new_raster_task_states[task].type = RasterTaskState::UNSCHEDULED; On 2014/02/19 00:49:31, vmpstr wrote: ...
6 years, 10 months ago (2014-02-19 01:41:12 UTC) #3
alokp
lgtm https://codereview.chromium.org/170783007/diff/80001/cc/resources/resource_provider.h File cc/resources/resource_provider.h (right): https://codereview.chromium.org/170783007/diff/80001/cc/resources/resource_provider.h#newcode454 cc/resources/resource_provider.h:454: bool UnlockForWrite(); Add a comment what the bool ...
6 years, 10 months ago (2014-02-19 19:12:12 UTC) #4
reveman
https://codereview.chromium.org/170783007/diff/80001/cc/resources/resource_provider.h File cc/resources/resource_provider.h (right): https://codereview.chromium.org/170783007/diff/80001/cc/resources/resource_provider.h#newcode454 cc/resources/resource_provider.h:454: bool UnlockForWrite(); On 2014/02/19 19:12:12, Alok Priyadarshi wrote: > ...
6 years, 10 months ago (2014-02-19 22:53:08 UTC) #5
vmpstr
lgtm
6 years, 10 months ago (2014-02-19 22:59:34 UTC) #6
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-19 23:08: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/170783007/130001
6 years, 10 months ago (2014-02-19 23:19:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/130001
6 years, 10 months ago (2014-02-20 01:11:36 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/170783007/130001
6 years, 10 months ago (2014-02-20 04:56:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/130001
6 years, 10 months ago (2014-02-20 08:55:43 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/170783007/130001
6 years, 10 months ago (2014-02-20 12:23:41 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 00:25:57 UTC) #13
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-21 00:34:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/130001
6 years, 10 months ago (2014-02-21 00:37:12 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 09:06:23 UTC) #17
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-21 15:10:00 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/130001
6 years, 10 months ago (2014-02-21 15:12:25 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 18:23:11 UTC) #21
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 10 months ago (2014-02-21 18:23:12 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 18:23:12 UTC) #23
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 10 months ago (2014-02-21 18:23:12 UTC) #24
Sergey Berezin
The CQ bit was checked by sergeyberezin@chromium.org
6 years, 10 months ago (2014-02-21 19:34:10 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/130001
6 years, 10 months ago (2014-02-21 19:36:37 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/130001
6 years, 10 months ago (2014-02-22 01:23:10 UTC) #27
reveman
The CQ bit was unchecked by reveman@chromium.org
6 years, 10 months ago (2014-02-22 02:12:37 UTC) #28
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-22 02:20:26 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/980001
6 years, 10 months ago (2014-02-22 02:24:02 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-22 04:02:51 UTC) #31
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=268422
6 years, 10 months ago (2014-02-22 04:02:52 UTC) #32
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-22 04:28:52 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/980001
6 years, 10 months ago (2014-02-22 04:29:32 UTC) #34
commit-bot: I haz the power
Change committed as 252790
6 years, 10 months ago (2014-02-22 08:42:46 UTC) #35
jdduke (slow)
On 2014/02/22 08:42:46, I haz the power (commit-bot) wrote: > Change committed as 252790 This ...
6 years, 10 months ago (2014-02-22 15:15:32 UTC) #36
pkotwicz
A revert of this CL has been created in https://codereview.chromium.org/176403002/ by pkotwicz@chromium.org. The reason for ...
6 years, 10 months ago (2014-02-22 18:48:08 UTC) #37
reveman
On 2014/02/22 18:48:08, pkotwicz wrote: > A revert of this CL has been created in ...
6 years, 10 months ago (2014-02-22 22:55:20 UTC) #38
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-22 22:55:31 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/1340001
6 years, 10 months ago (2014-02-22 22:55:37 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-23 08:00:14 UTC) #41
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 10 months ago (2014-02-23 08:00:15 UTC) #42
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-23 22:59:41 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/170783007/1340001
6 years, 10 months ago (2014-02-23 22:59:53 UTC) #44
commit-bot: I haz the power
6 years, 10 months ago (2014-02-24 02:20:22 UTC) #45
Message was sent while issue was closed.
Change committed as 252874

Powered by Google App Engine
This is Rietveld 408576698