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

Issue 2041043002: CommandBufferProxyImpl holds on to GpuMemoryBuffers while they are in use. (Closed)

Created:
4 years, 6 months ago by erikchen
Modified:
4 years, 6 months ago
Reviewers:
ccameron, piman
CC:
chromium-reviews, 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

CommandBufferProxyImpl holds on to GpuMemoryBuffers while they are in use. As soon as the GpuMemoryBuffer is destroyed, the cached GpuMemoryBuffer in the browser process is also cleaned up, despite the fact that underlying IOSurface is still usable. This keeps the GpuMemoryBuffer around in the child process as long as there is an associated image. BUG=581777 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/d3c17c8595858ca07f0c25e2b8c48ae8f281fcee Cr-Commit-Position: refs/heads/master@{#398978}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Comments from piman. #

Patch Set 4 : Remove DISALLOW_COPY_AND_ASSIGN. #

Patch Set 5 : Comments from piman. #

Patch Set 6 : Use default move constructor and move operator=. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -11 lines) Patch
M gpu/ipc/client/command_buffer_proxy_impl.h View 1 2 3 4 5 1 chunk +13 lines, -2 lines 0 comments Download
M gpu/ipc/client/command_buffer_proxy_impl.cc View 1 2 3 4 5 4 chunks +19 lines, -9 lines 0 comments Download

Messages

Total messages: 43 (18 generated)
erikchen
ccameron: Please review.
4 years, 6 months ago (2016-06-06 17:10:51 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041043002/20001
4 years, 6 months ago (2016-06-06 17:11:06 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/198910)
4 years, 6 months ago (2016-06-06 17:22:41 UTC) #8
erikchen
piman: Please review.
4 years, 6 months ago (2016-06-06 17:33:23 UTC) #10
ccameron
lgtm. Long-term, we should probably find a way to do this in the GPU process ...
4 years, 6 months ago (2016-06-06 17:59:53 UTC) #11
piman
LGTM overall, but a suggested improvement. https://codereview.chromium.org/2041043002/diff/20001/gpu/ipc/client/command_buffer_proxy_impl.h File gpu/ipc/client/command_buffer_proxy_impl.h (right): https://codereview.chromium.org/2041043002/diff/20001/gpu/ipc/client/command_buffer_proxy_impl.h#newcode304 gpu/ipc/client/command_buffer_proxy_impl.h:304: // |image_gmb_ids_map_| since ...
4 years, 6 months ago (2016-06-06 19:28:52 UTC) #12
erikchen
https://codereview.chromium.org/2041043002/diff/20001/gpu/ipc/client/command_buffer_proxy_impl.h File gpu/ipc/client/command_buffer_proxy_impl.h (right): https://codereview.chromium.org/2041043002/diff/20001/gpu/ipc/client/command_buffer_proxy_impl.h#newcode304 gpu/ipc/client/command_buffer_proxy_impl.h:304: // |image_gmb_ids_map_| since that container does not imply ownership. ...
4 years, 6 months ago (2016-06-06 21:55:54 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041043002/40001
4 years, 6 months ago (2016-06-06 21:56:21 UTC) #15
piman
lgtm
4 years, 6 months ago (2016-06-06 22:05:55 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/105809)
4 years, 6 months ago (2016-06-06 22:10:33 UTC) #18
erikchen
On 2016/06/06 22:10:33, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 6 months ago (2016-06-06 22:30:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041043002/60001
4 years, 6 months ago (2016-06-06 22:31:56 UTC) #22
piman
On Mon, Jun 6, 2016 at 3:30 PM, <erikchen@chromium.org> wrote: > On 2016/06/06 22:10:33, commit-bot: ...
4 years, 6 months ago (2016-06-06 22:37:51 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_optional_gpu_tests_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_optional_gpu_tests_rel/builds/711)
4 years, 6 months ago (2016-06-06 22:47:42 UTC) #25
erikchen
On 2016/06/06 22:37:51, piman OOO back 2016-6-2 wrote: > On Mon, Jun 6, 2016 at ...
4 years, 6 months ago (2016-06-07 02:00:50 UTC) #26
piman
On Mon, Jun 6, 2016 at 7:00 PM, <erikchen@chromium.org> wrote: > On 2016/06/06 22:37:51, piman ...
4 years, 6 months ago (2016-06-07 02:37:15 UTC) #27
piman
On Mon, Jun 6, 2016 at 7:36 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
4 years, 6 months ago (2016-06-07 02:45:55 UTC) #28
piman
lgtm
4 years, 6 months ago (2016-06-07 02:46:18 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041043002/80001
4 years, 6 months ago (2016-06-07 16:32:28 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/240330)
4 years, 6 months ago (2016-06-07 16:49:53 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041043002/100001
4 years, 6 months ago (2016-06-09 16:57:39 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-09 18:30:25 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041043002/100001
4 years, 6 months ago (2016-06-09 19:06:28 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-09 19:11:05 UTC) #41
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 19:15:23 UTC) #43
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d3c17c8595858ca07f0c25e2b8c48ae8f281fcee
Cr-Commit-Position: refs/heads/master@{#398978}

Powered by Google App Engine
This is Rietveld 408576698