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

Issue 1210703002: content: Make sure all CreateGpuMemoryBuffer messages are handled. (Closed)

Created:
5 years, 6 months ago by reveman
Modified:
5 years, 6 months ago
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

content: Make sure all CreateGpuMemoryBuffer messages are handled. Add a startup message filter for CreateGpuMemoryBuffer messages that is installed before establishing the channel. This guarantees that all CreateGpuMemoryBuffer messages are handled on the IO thread. BUG=504121 TEST=content/test/gpu/run_gpu_test.py context_lost --extra-browser-args=--enable-native-gpu-memory-buffers --story-filter=GpuCrash.GPUProcessCrashesExactlyOnce Committed: https://crrev.com/611d024f699b95474c26b6a3d91db13d5626d75a Cr-Commit-Position: refs/heads/master@{#336284}

Patch Set 1 #

Patch Set 2 : handle io-surface-manager token message on io-thread #

Patch Set 3 : v2 #

Total comments: 2

Patch Set 4 : avoid use of g_thread_safe_sender #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -91 lines) Patch
M content/common/gpu/gpu_channel_manager.h View 5 chunks +4 lines, -6 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 2 chunks +3 lines, -63 lines 0 comments Download
M content/common/gpu/gpu_channel_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_child_thread.h View 1 2 3 chunks +9 lines, -4 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 5 chunks +68 lines, -13 lines 0 comments Download
M content/gpu/gpu_main.cc View 1 2 3 2 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
reveman
5 years, 6 months ago (2015-06-24 23:26:33 UTC) #2
reveman
-rsesek +piman +alexst
5 years, 6 months ago (2015-06-25 04:38:52 UTC) #4
piman
https://codereview.chromium.org/1210703002/diff/40001/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/1210703002/diff/40001/content/gpu/gpu_child_thread.cc#newcode74 content/gpu/gpu_child_thread.cc:74: g_thread_safe_sender.Get()->Send(new GpuHostMsg_GpuMemoryBufferCreated( g_thread_safe_sender causes an extra thread hop (will ...
5 years, 6 months ago (2015-06-25 20:29:00 UTC) #5
reveman
ptal https://codereview.chromium.org/1210703002/diff/40001/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/1210703002/diff/40001/content/gpu/gpu_child_thread.cc#newcode74 content/gpu/gpu_child_thread.cc:74: g_thread_safe_sender.Get()->Send(new GpuHostMsg_GpuMemoryBufferCreated( On 2015/06/25 at 20:29:00, piman (Very ...
5 years, 6 months ago (2015-06-25 20:45:25 UTC) #6
piman
lgtm
5 years, 6 months ago (2015-06-25 22:09:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1210703002/60001
5 years, 6 months ago (2015-06-25 22:13:50 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-25 22:42:48 UTC) #10
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/611d024f699b95474c26b6a3d91db13d5626d75a Cr-Commit-Position: refs/heads/master@{#336284}
5 years, 6 months ago (2015-06-25 22:44:48 UTC) #11
vignatti (out of this project)
reveman, this CL breaks ChildThreadImplGpuMemoryBufferBrowserTests* content_browsertests. It blocks forever somewhere when going to BrowserGpuMemoryBufferManager::AllocateGpuMemoryBufferForSurface().
5 years, 6 months ago (2015-06-26 17:52:41 UTC) #12
reveman
5 years, 6 months ago (2015-06-26 17:56:35 UTC) #13
Message was sent while issue was closed.
On 2015/06/26 at 17:52:41, tiago.vignatti wrote:
> reveman, this CL breaks ChildThreadImplGpuMemoryBufferBrowserTests*
content_browsertests. It blocks forever somewhere when going to
BrowserGpuMemoryBufferManager::AllocateGpuMemoryBufferForSurface().

Thanks for the the heads up. I'll take a look.

Powered by Google App Engine
This is Rietveld 408576698