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

Issue 602493003: cc: Add BitmapRasterWorkerPool. (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@reduce-transfer-buffer-limit-use
Project:
chromium
Visibility:
Public.

Description

cc: Add BitmapRasterWorkerPool. This adds a rasterizer implementation explicitly used for rasterizing to bitmap resources. Each rasterizer is already aware of specific resource details and it is much easier and less confusing to implement a different rasterizer that handle bitmap resources then trying to emulate support for GL-ish APIs that are used by other rasterizer implementations. This allows us to clean up LTHI a bit and reduces the complexity of the ResourceProvider class significantly. It also makes future changes that will allow GpuMemoryBuffers to be created and mapped in worker threads easier implement. BUG= Committed: https://crrev.com/5ae838bba3f6cc7a14f95cd1ee2fb37bacadde53 Cr-Commit-Position: refs/heads/master@{#296558}

Patch Set 1 #

Total comments: 10

Patch Set 2 : address review feedback #

Patch Set 3 : use const ref #

Patch Set 4 : fix unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -364 lines) Patch
M cc/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/software_renderer.cc View 1 chunk +0 lines, -1 line 0 comments Download
A + cc/resources/bitmap_raster_worker_pool.h View 4 chunks +13 lines, -13 lines 0 comments Download
A + cc/resources/bitmap_raster_worker_pool.cc View 9 chunks +24 lines, -56 lines 0 comments Download
M cc/resources/raster_worker_pool_perftest.cc View 1 10 chunks +55 lines, -22 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 3 9 chunks +48 lines, -26 lines 0 comments Download
M cc/resources/resource_provider.cc View 8 chunks +45 lines, -58 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 9 chunks +10 lines, -146 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 10 chunks +41 lines, -42 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
reveman
6 years, 3 months ago (2014-09-24 02:03:43 UTC) #2
vmpstr
https://codereview.chromium.org/602493003/diff/1/cc/resources/raster_worker_pool_perftest.cc File cc/resources/raster_worker_pool_perftest.cc (right): https://codereview.chromium.org/602493003/diff/1/cc/resources/raster_worker_pool_perftest.cc#newcode233 cc/resources/raster_worker_pool_perftest.cc:233: output_surface_ = FakeOutputSurface::Create3d(context_provider_).Pass(); Can you refactor this a bit ...
6 years, 3 months ago (2014-09-24 16:31:51 UTC) #3
reveman
PTAL https://codereview.chromium.org/602493003/diff/1/cc/resources/raster_worker_pool_perftest.cc File cc/resources/raster_worker_pool_perftest.cc (right): https://codereview.chromium.org/602493003/diff/1/cc/resources/raster_worker_pool_perftest.cc#newcode233 cc/resources/raster_worker_pool_perftest.cc:233: output_surface_ = FakeOutputSurface::Create3d(context_provider_).Pass(); On 2014/09/24 16:31:51, vmpstr wrote: ...
6 years, 3 months ago (2014-09-24 17:25:27 UTC) #4
vmpstr
lgtm
6 years, 3 months ago (2014-09-24 17:43:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/602493003/40001
6 years, 3 months ago (2014-09-24 19:42:42 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/17113)
6 years, 3 months ago (2014-09-24 20:52:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/602493003/60001
6 years, 3 months ago (2014-09-24 22:17:19 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 9eb0e62632bb491d986ab440f3c2d21348a7c705
6 years, 3 months ago (2014-09-24 23:30:21 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 23:46:53 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5ae838bba3f6cc7a14f95cd1ee2fb37bacadde53
Cr-Commit-Position: refs/heads/master@{#296558}

Powered by Google App Engine
This is Rietveld 408576698