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

Issue 645943002: cc: Move GpuMemoryBuffer allocation to worker threads. (Closed)

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

Description

cc: Move GpuMemoryBuffer allocation to worker threads. Allocation of GpuMemoryBuffers requires a round-trip to the browser process and by moving this to worker threads it is no longer on the critical path on the compositor. The LockForWrite mechanism in the ResourceProvider has been adjusted to properly support worker thread allocation of resources. BUG=418553 Committed: https://crrev.com/2b6d4cba32db0500609b85ed8f9a3dc44fd8555f Cr-Commit-Position: refs/heads/master@{#301433}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -112 lines) Patch
M cc/resources/one_copy_raster_worker_pool.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/resource_provider.h View 1 6 chunks +13 lines, -11 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 5 chunks +65 lines, -95 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M cc/resources/zero_copy_raster_worker_pool.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
reveman
This is a follow up to the CHROMIUM_image refactor that enables worker thread mapping of ...
6 years, 2 months ago (2014-10-10 16:12:55 UTC) #2
piman
couple of nits/suggestions. https://codereview.chromium.org/645943002/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/645943002/diff/1/cc/resources/resource_provider.cc#newcode942 cc/resources/resource_provider.cc:942: ResourceProvider::Resource* ResourceProvider::UnlockForWrite(ResourceId id) { nit: since ...
6 years, 2 months ago (2014-10-10 21:52:09 UTC) #3
reveman
Sorry for the delay. I decided to hold back on this in case changes to ...
6 years, 1 month ago (2014-10-26 22:30:48 UTC) #4
piman
lgtm
6 years, 1 month ago (2014-10-27 19:34:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645943002/110001
6 years, 1 month ago (2014-10-27 19:44:31 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:110001)
6 years, 1 month ago (2014-10-27 20:33:43 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 20:34:17 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2b6d4cba32db0500609b85ed8f9a3dc44fd8555f
Cr-Commit-Position: refs/heads/master@{#301433}

Powered by Google App Engine
This is Rietveld 408576698