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

Issue 2386913002: content: Remove gpu memory buffer manager from ChildThreadImpl. (Closed)

Created:
4 years, 2 months ago by sadrul
Modified:
4 years, 2 months ago
Reviewers:
Charlie Reis, reveman
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Remove gpu memory buffer manager from ChildThreadImpl. Only RenderThreadImpl does anything with the gpu memory buffer manager. So move it out of ChildThreadImpl into RenderThreadImpl. This also ensures that if mus is used, then ChildGpuMemoryBufferManager is not created and accidentally used. This fixes a crash in extensions using the tab-capture api when running with --use-mus-in-renderer. BUG=643746 Committed: https://crrev.com/b9ff6c9da80f39e37c8f44cd0f9d8749f0fa377f Cr-Commit-Position: refs/heads/master@{#422675}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : restore test #

Total comments: 6

Patch Set 4 : . #

Total comments: 6

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -101 lines) Patch
M content/child/child_thread_impl.h View 3 chunks +0 lines, -7 lines 0 comments Download
M content/child/child_thread_impl.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M content/child/child_thread_impl_browsertest.cc View 4 chunks +1 line, -86 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_accelerator_factories.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl_browsertest.cc View 1 2 3 4 4 chunks +106 lines, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 39 (30 generated)
sadrul
reveman@ Please review moving the test from child_thread_impl_browsertest.cc to render_thread_impl_browsertest.cc creis@ for owner review.
4 years, 2 months ago (2016-10-02 16:40:59 UTC) #14
reveman
https://codereview.chromium.org/2386913002/diff/40001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2386913002/diff/40001/content/renderer/render_thread_impl.cc#newcode1642 content/renderer/render_thread_impl.cc:1642: gpu_memory_buffer_manager_ = Can you initialize this in RenderThreadImpl::Init instead ...
4 years, 2 months ago (2016-10-03 15:37:41 UTC) #17
sadrul
https://codereview.chromium.org/2386913002/diff/40001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2386913002/diff/40001/content/renderer/render_thread_impl.cc#newcode1642 content/renderer/render_thread_impl.cc:1642: gpu_memory_buffer_manager_ = On 2016/10/03 15:37:40, reveman wrote: > Can ...
4 years, 2 months ago (2016-10-03 21:24:20 UTC) #19
reveman
lgtm with nits https://codereview.chromium.org/2386913002/diff/60001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2386913002/diff/60001/content/renderer/render_thread_impl.cc#newcode660 content/renderer/render_thread_impl.cc:660: if (should_create_gpu_memory_buffer_manager) { nit: I think ...
4 years, 2 months ago (2016-10-03 21:47:44 UTC) #21
Charlie Reis
content/ LGTM with nit. https://codereview.chromium.org/2386913002/diff/60001/content/renderer/render_thread_impl_browsertest.cc File content/renderer/render_thread_impl_browsertest.cc (right): https://codereview.chromium.org/2386913002/diff/60001/content/renderer/render_thread_impl_browsertest.cc#newcode326 content/renderer/render_thread_impl_browsertest.cc:326: DISABLED_Map) { I see that ...
4 years, 2 months ago (2016-10-03 23:32:36 UTC) #24
sadrul
https://codereview.chromium.org/2386913002/diff/60001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2386913002/diff/60001/content/renderer/render_thread_impl.cc#newcode660 content/renderer/render_thread_impl.cc:660: if (should_create_gpu_memory_buffer_manager) { On 2016/10/03 21:47:44, reveman wrote: > ...
4 years, 2 months ago (2016-10-04 01:05:32 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2386913002/100001
4 years, 2 months ago (2016-10-04 01:57:25 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 2 months ago (2016-10-04 02:40:26 UTC) #37
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 02:42:09 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b9ff6c9da80f39e37c8f44cd0f9d8749f0fa377f
Cr-Commit-Position: refs/heads/master@{#422675}

Powered by Google App Engine
This is Rietveld 408576698