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

Issue 290573011: Delay the response to ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer via a callback to allow for b… (Closed)

Created:
6 years, 7 months ago by alexst (slow to review)
Modified:
6 years, 7 months ago
Reviewers:
danakj, reveman, piman
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Visibility:
Public.

Description

Delay the response to ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer via a callback to allow for buffer allocation on the gpu process. BUG=368716 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271861

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : Comments #

Total comments: 2

Patch Set 5 : nits #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -34 lines) Patch
M content/browser/renderer_host/render_message_filter.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 chunks +31 lines, -15 lines 2 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.h View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_android.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_linux.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_mac.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shm.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shm.cc View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_win.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
alexst (slow to review)
Please have a look. Thanks.
6 years, 7 months ago (2014-05-17 02:44:31 UTC) #1
reveman
https://codereview.chromium.org/290573011/diff/60001/content/browser/renderer_host/render_message_filter.cc File content/browser/renderer_host/render_message_filter.cc (right): https://codereview.chromium.org/290573011/diff/60001/content/browser/renderer_host/render_message_filter.cc#newcode1255 content/browser/renderer_host/render_message_filter.cc:1255: gfx::GpuMemoryBufferHandle* handle = new gfx::GpuMemoryBufferHandle; I prefer if you ...
6 years, 7 months ago (2014-05-19 05:51:06 UTC) #2
alexst (slow to review)
New patch to address your comments is up, ptal.
6 years, 7 months ago (2014-05-19 15:31:00 UTC) #3
reveman
lgtm with nits https://codereview.chromium.org/290573011/diff/100001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): https://codereview.chromium.org/290573011/diff/100001/content/common/gpu/client/gpu_memory_buffer_impl.h#newcode16 content/common/gpu/client/gpu_memory_buffer_impl.h:16: AllocationCallback; nit: I think this should ...
6 years, 7 months ago (2014-05-19 18:57:56 UTC) #4
alexst (slow to review)
The CQ bit was checked by alexst@chromium.org
6 years, 7 months ago (2014-05-19 21:34:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/290573011/120001
6 years, 7 months ago (2014-05-19 21:36:16 UTC) #6
alexst (slow to review)
The CQ bit was unchecked by alexst@chromium.org
6 years, 7 months ago (2014-05-19 21:46:50 UTC) #7
alexst (slow to review)
+piman for owner review.
6 years, 7 months ago (2014-05-19 21:47:24 UTC) #8
danakj
https://codereview.chromium.org/290573011/diff/120001/content/browser/renderer_host/render_message_filter.cc File content/browser/renderer_host/render_message_filter.cc (right): https://codereview.chromium.org/290573011/diff/120001/content/browser/renderer_host/render_message_filter.cc#newcode447 content/browser/renderer_host/render_message_filter.cc:447: ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, Should this message be renamed to not say ...
6 years, 7 months ago (2014-05-20 19:37:47 UTC) #9
alexst (slow to review)
https://codereview.chromium.org/290573011/diff/120001/content/browser/renderer_host/render_message_filter.cc File content/browser/renderer_host/render_message_filter.cc (right): https://codereview.chromium.org/290573011/diff/120001/content/browser/renderer_host/render_message_filter.cc#newcode447 content/browser/renderer_host/render_message_filter.cc:447: ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, On 2014/05/20 19:37:47, danakj wrote: > Should this ...
6 years, 7 months ago (2014-05-20 19:51:34 UTC) #10
piman
lgtm
6 years, 7 months ago (2014-05-20 20:31:00 UTC) #11
alexst (slow to review)
The CQ bit was checked by alexst@chromium.org
6 years, 7 months ago (2014-05-20 20:39:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/290573011/120001
6 years, 7 months ago (2014-05-20 20:41:24 UTC) #13
alexst (slow to review)
The CQ bit was unchecked by alexst@chromium.org
6 years, 7 months ago (2014-05-21 04:12:19 UTC) #14
alexst (slow to review)
The CQ bit was checked by alexst@chromium.org
6 years, 7 months ago (2014-05-21 04:12:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexst@chromium.org/290573011/120001
6 years, 7 months ago (2014-05-21 04:13:29 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 04:30:16 UTC) #17
Message was sent while issue was closed.
Change committed as 271861

Powered by Google App Engine
This is Rietveld 408576698