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

Issue 1993333002: Implement GpuMemoryBufferManager::CreateGpuMemoryBufferFromClientId (Closed)

Created:
4 years, 7 months ago by ccameron
Modified:
4 years, 7 months ago
Reviewers:
reveman, no sievers
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement GpuMemoryBufferManager::CreateGpuMemoryBufferFromClientId For buffers created for a child process, open a copy of the buffer in the browser process before handing the buffer's handle to the child process. When CreateGpuMemoryBufferFromClientId is called in the browser process, use this existing copy of the buffer to create a browser-process copy of the buffer. Update IOSurface implementation to populate the mach port. BUG=614791 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/394e5eec470ff9a0d2af4cae796ccd69c86ee783 Cr-Commit-Position: refs/heads/master@{#396084}

Patch Set 1 #

Patch Set 2 : Just native buffers #

Patch Set 3 : All child buffers #

Patch Set 4 : restrict to native buffers #

Patch Set 5 : Restrict to IOSurface, add traces #

Total comments: 6

Patch Set 6 : Incorporate review feedback #

Patch Set 7 : add todos and bug numbers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -5 lines) Patch
M content/browser/gpu/browser_gpu_memory_buffer_manager.h View 1 2 3 4 5 6 3 chunks +10 lines, -1 line 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 1 2 3 4 5 6 7 chunks +39 lines, -4 lines 0 comments Download
M gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
ccameron
ptal
4 years, 7 months ago (2016-05-23 19:33:14 UTC) #4
ccameron
Adding sievers as owner for gpu/ipc/client.
4 years, 7 months ago (2016-05-23 21:25:23 UTC) #7
ccameron
ping on this
4 years, 7 months ago (2016-05-24 21:32:28 UTC) #8
no sievers
lgtm stamp if reveman@ is happy
4 years, 7 months ago (2016-05-24 22:06:06 UTC) #9
reveman
lg but I'd love to see this not be mac specific https://codereview.chromium.org/1993333002/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): ...
4 years, 7 months ago (2016-05-24 22:19:47 UTC) #10
ccameron
Thanks! Enabling this on all platforms and removing the redundant fields will be a fairly ...
4 years, 7 months ago (2016-05-24 22:58:05 UTC) #11
ccameron
Re: Landing just IOSurface support first: I put a bit more time into using BufferInfo::buffer ...
4 years, 7 months ago (2016-05-25 04:38:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993333002/120001
4 years, 7 months ago (2016-05-25 19:55:36 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/167462) win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, ...
4 years, 7 months ago (2016-05-25 20:26:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993333002/120001
4 years, 7 months ago (2016-05-25 20:40:36 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_optional_gpu_tests_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/1013)
4 years, 7 months ago (2016-05-25 22:42:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993333002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993333002/120001
4 years, 7 months ago (2016-05-25 22:48:44 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-26 01:57:53 UTC) #26
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 01:59:28 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/394e5eec470ff9a0d2af4cae796ccd69c86ee783
Cr-Commit-Position: refs/heads/master@{#396084}

Powered by Google App Engine
This is Rietveld 408576698