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

Issue 409723003: content: Add DeletedGpuMemoryBuffer IPC. (Closed)

Created:
6 years, 5 months ago by reveman
Modified:
6 years, 5 months ago
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

content: Add DeletedGpuMemoryBuffer IPC. This IPC is used by the renderer to notify the browser when a GPU memory buffer instance is deleted. This allows the browser to maintain proper lifetime management of GPU memory buffers for which ownership can't be passed with IPC. This also renames the GpuCommandBufferMsg_DestroyGpuMemoryBuffer IPC to GpuCommandBufferMsg_UnregisterGpuMemoryBuffer to not be confused with real GPU memory buffer destruction, which doesn't necessarily happen at when the GLImage is destroyed. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284941

Patch Set 1 #

Patch Set 2 : remove unused code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -23 lines) Patch
M content/browser/gpu/browser_gpu_channel_host_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M content/common/child_process_messages.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.h View 1 chunk +6 lines, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_android.cc View 1 chunk +8 lines, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_linux.cc View 1 chunk +8 lines, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_mac.cc View 1 chunk +8 lines, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_win.cc View 1 chunk +8 lines, -1 line 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_x11_pixmap.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
reveman
Please take a look.
6 years, 5 months ago (2014-07-22 01:27:42 UTC) #1
piman
LGTM, but what's the use case? There's no non-empty implementation of GpuMemoryBufferImpl::DeletedByChildProcess.
6 years, 5 months ago (2014-07-22 03:20:46 UTC) #2
reveman
On 2014/07/22 03:20:46, piman (slow to review) wrote: > LGTM, but what's the use case? ...
6 years, 5 months ago (2014-07-22 13:41:14 UTC) #3
alexst (slow to review)
On 2014/07/22 13:41:14, reveman wrote: > On 2014/07/22 03:20:46, piman (slow to review) wrote: > ...
6 years, 5 months ago (2014-07-22 17:50:30 UTC) #4
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 5 months ago (2014-07-22 18:11:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/409723003/20001
6 years, 5 months ago (2014-07-22 18:12:35 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 21:05:31 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 21:08:48 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/81584)
6 years, 5 months ago (2014-07-22 21:08:50 UTC) #9
reveman
+jschuh for ipc
6 years, 5 months ago (2014-07-22 22:06:44 UTC) #10
jschuh
IPC security lgtm. Security-wise this seems to be a no-op, but take care that other ...
6 years, 5 months ago (2014-07-22 22:45:40 UTC) #11
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 5 months ago (2014-07-23 16:09:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/409723003/20001
6 years, 5 months ago (2014-07-23 16:09:51 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 16:14:14 UTC) #14
Message was sent while issue was closed.
Change committed as 284941

Powered by Google App Engine
This is Rietveld 408576698