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

Issue 578053002: cc: Have 1-copy rasterizer issue copy commands at the rate of raster. (Closed)

Created:
6 years, 3 months ago by reveman
Modified:
6 years, 2 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@raster-buffer-refactor
Project:
chromium
Visibility:
Public.

Description

cc: Have 1-copy rasterizer issue copy commands at the rate of raster. This makes the OneCopyRasterWorkerPool implementation issue copy commands at the same rate that raster tasks complete instead of issuing all commands when CheckForCompletedTasks is called. BUG=406404 Committed: https://crrev.com/9d6f1c46da0a3be9600d4abcf2974d58626efd8d Cr-Commit-Position: refs/heads/master@{#300935}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Total comments: 14

Patch Set 4 : address review feedback #

Total comments: 3

Patch Set 5 : add raster_finished_weak_ptr_factory_ comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -12 lines) Patch
M cc/resources/one_copy_raster_worker_pool.h View 1 2 3 4 5 chunks +42 lines, -1 line 0 comments Download
M cc/resources/one_copy_raster_worker_pool.cc View 1 2 3 8 chunks +113 lines, -11 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
reveman
FYI, this is the first out of 3 changes that will make one-copy ready to ...
6 years, 2 months ago (2014-10-22 21:50:05 UTC) #2
vmpstr
https://codereview.chromium.org/578053002/diff/40001/cc/resources/one_copy_raster_worker_pool.cc File cc/resources/one_copy_raster_worker_pool.cc (right): https://codereview.chromium.org/578053002/diff/40001/cc/resources/one_copy_raster_worker_pool.cc#newcode272 cc/resources/one_copy_raster_worker_pool.cc:272: if ((pending_copy_operations_.size() % kBatchSize) == 0) { We only ...
6 years, 2 months ago (2014-10-22 23:25:17 UTC) #3
reveman
PTAL https://codereview.chromium.org/578053002/diff/40001/cc/resources/one_copy_raster_worker_pool.cc File cc/resources/one_copy_raster_worker_pool.cc (right): https://codereview.chromium.org/578053002/diff/40001/cc/resources/one_copy_raster_worker_pool.cc#newcode272 cc/resources/one_copy_raster_worker_pool.cc:272: if ((pending_copy_operations_.size() % kBatchSize) == 0) { On ...
6 years, 2 months ago (2014-10-23 15:38:55 UTC) #4
vmpstr
lgtm https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h File cc/resources/one_copy_raster_worker_pool.h (right): https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h#newcode119 cc/resources/one_copy_raster_worker_pool.h:119: base::WeakPtrFactory<OneCopyRasterWorkerPool> Consider using just one weak factory
6 years, 2 months ago (2014-10-23 16:45:59 UTC) #5
reveman
https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h File cc/resources/one_copy_raster_worker_pool.h (right): https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h#newcode119 cc/resources/one_copy_raster_worker_pool.h:119: base::WeakPtrFactory<OneCopyRasterWorkerPool> On 2014/10/23 16:45:58, vmpstr wrote: > Consider using ...
6 years, 2 months ago (2014-10-23 18:05:18 UTC) #6
danakj
https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h File cc/resources/one_copy_raster_worker_pool.h (right): https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h#newcode119 cc/resources/one_copy_raster_worker_pool.h:119: base::WeakPtrFactory<OneCopyRasterWorkerPool> On 2014/10/23 18:05:18, reveman wrote: > On 2014/10/23 ...
6 years, 2 months ago (2014-10-23 18:06:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578053002/60001
6 years, 2 months ago (2014-10-23 18:06:55 UTC) #9
reveman
On 2014/10/23 18:06:13, danakj wrote: > https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h > File cc/resources/one_copy_raster_worker_pool.h (right): > > https://codereview.chromium.org/578053002/diff/60001/cc/resources/one_copy_raster_worker_pool.h#newcode119 > ...
6 years, 2 months ago (2014-10-23 19:01:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578053002/80001
6 years, 2 months ago (2014-10-23 19:02:04 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 2 months ago (2014-10-23 20:08:15 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 20:08:51 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9d6f1c46da0a3be9600d4abcf2974d58626efd8d
Cr-Commit-Position: refs/heads/master@{#300935}

Powered by Google App Engine
This is Rietveld 408576698