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

Issue 562833004: cc: Move RasterBuffer implementations from ResourceProvider to RasterWorkerPool implementations. (Closed)

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

Description

cc: Move RasterBuffer implementations from ResourceProvider to RasterWorkerPool implementations. Each RasterWorkerPool implementation is tied to some RasterBuffer implementation. By moving the RasterBuffer code into RasterWorkerPool implementation this relationship becomes more explicit and more easily adjusted for the need of the RasterWorkerPool implementation. BUG=406404 Committed: https://crrev.com/47560aba9ae6e235795068d6e78dcf4ea0628e63 Cr-Commit-Position: refs/heads/master@{#295528}

Patch Set 1 #

Patch Set 2 : unit tests #

Patch Set 3 : ready for review #

Patch Set 4 : build fix #

Total comments: 14

Patch Set 5 : Move 1-copy changes to separate patch. #

Patch Set 6 : move NullCanvas change to separate patch #

Total comments: 4

Patch Set 7 : address review feedback #

Patch Set 8 : rebase and fix gpu raster issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+546 lines, -621 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/gpu_raster_worker_pool.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M cc/resources/gpu_raster_worker_pool.cc View 1 2 3 4 5 6 7 2 chunks +52 lines, -4 lines 0 comments Download
M cc/resources/image_copy_raster_worker_pool.h View 1 2 3 4 5 6 7 4 chunks +3 lines, -33 lines 0 comments Download
M cc/resources/image_copy_raster_worker_pool.cc View 1 2 3 4 5 6 7 4 chunks +76 lines, -46 lines 0 comments Download
M cc/resources/image_raster_worker_pool.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M cc/resources/image_raster_worker_pool.cc View 1 2 3 4 5 6 7 2 chunks +61 lines, -9 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 2 3 4 5 6 7 3 chunks +54 lines, -13 lines 0 comments Download
M cc/resources/raster_buffer.h View 1 chunk +5 lines, -4 lines 0 comments Download
A + cc/resources/raster_buffer.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 1 2 3 4 5 6 7 1 chunk +47 lines, -0 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 2 3 4 5 6 7 5 chunks +20 lines, -3 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 3 4 5 6 7 4 chunks +13 lines, -3 lines 0 comments Download
M cc/resources/rasterizer.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M cc/resources/resource_provider.h View 1 2 6 chunks +26 lines, -118 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 5 17 chunks +85 lines, -306 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 2 3 4 5 6 16 chunks +55 lines, -57 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -6 lines 0 comments Download
M cc/resources/tile_manager_perftest.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
reveman
Please take a look. You can skip ImageCopyRasterWorkerPool for now as I'll move most of ...
6 years, 3 months ago (2014-09-16 21:11:29 UTC) #2
vmpstr
Overall looks like a nice cleanup, I didn't take a look at ImageCopyRasterWorkerPool though, and ...
6 years, 3 months ago (2014-09-16 22:15:56 UTC) #3
reveman
PTAL https://codereview.chromium.org/562833004/diff/60001/cc/resources/gpu_raster_worker_pool.cc File cc/resources/gpu_raster_worker_pool.cc (right): https://codereview.chromium.org/562833004/diff/60001/cc/resources/gpu_raster_worker_pool.cc#newcode21 cc/resources/gpu_raster_worker_pool.cc:21: class RasterBufferImpl : public RasterBuffer { On 2014/09/16 ...
6 years, 3 months ago (2014-09-17 14:40:57 UTC) #4
danakj
On Wed, Sep 17, 2014 at 10:40 AM, <reveman@chromium.org> wrote: > PTAL > > > ...
6 years, 3 months ago (2014-09-17 14:47:20 UTC) #5
vmpstr
So have we decided to change RasterBufferImpl to something else? As it stands I think ...
6 years, 3 months ago (2014-09-17 15:53:02 UTC) #6
reveman
I think we should allow the use of Impl suffix in cc/. At least when ...
6 years, 3 months ago (2014-09-17 16:22:54 UTC) #7
vmpstr
lgtm. I don't think we should block this review on the name of RasterBufferImpl. I'll ...
6 years, 3 months ago (2014-09-17 16:43:09 UTC) #8
reveman
On 2014/09/17 16:43:09, vmpstr wrote: > lgtm. I don't think we should block this review ...
6 years, 3 months ago (2014-09-17 19:08:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/562833004/120001
6 years, 3 months ago (2014-09-17 19:08:50 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_retina_triggered_tests/builds/48556)
6 years, 3 months ago (2014-09-17 19:53:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/562833004/140001
6 years, 3 months ago (2014-09-18 18:07:24 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 6e421b0dce93e7e9d60ed0c46ab45bfac0e2308b
6 years, 3 months ago (2014-09-18 19:39:30 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 19:40:09 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/47560aba9ae6e235795068d6e78dcf4ea0628e63
Cr-Commit-Position: refs/heads/master@{#295528}

Powered by Google App Engine
This is Rietveld 408576698