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

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed)

Created:
7 years ago by no sievers
Modified:
6 years, 11 months ago
Reviewers:
danakj, palmer, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Remove WGC3DCBImpl::GetGPUProcessID() It's used for blocking renders that are trying to create a context after the GPU process crashed through comparing gpu process IDs. Remove this code as we can handle SwapCompositorFrame more gracefully nowadays after resources were lost. But still fail renderer view context creation when gpu browser compositing gets turned off. BUG=270179, 329737 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241425 R=danakj@chromium.org, palmer@chromium.org, piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244950

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Total comments: 1

Patch Set 3 : remove comment, rebase #

Patch Set 4 : fix RenderWidgetHostTest.Background #

Patch Set 5 : rebase, fix test factory tear down #

Patch Set 6 : rebase #

Patch Set 7 : try to make tests happy by still creating shared context #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -137 lines) Patch
M content/browser/aura/gpu_process_transport_factory.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/aura/gpu_process_transport_factory.cc View 1 2 3 4 5 6 1 chunk +8 lines, -9 lines 0 comments Download
M content/browser/aura/image_transport_factory.h View 1 2 3 4 5 1 chunk +1 line, -7 lines 0 comments Download
M content/browser/aura/no_transport_image_transport_factory.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/aura/no_transport_image_transport_factory.cc View 1 2 3 4 5 1 chunk +1 line, -4 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/gpu_message_filter.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/gpu_message_filter.cc View 1 3 chunks +5 lines, -28 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 4 chunks +5 lines, -18 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.h View 4 chunks +0 lines, -4 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 2 chunks +1 line, -4 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/public/browser/render_process_host.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/public/test/mock_render_process_host.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M ui/gfx/native_widget_types.h View 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
no sievers
dana, piman: Is this something that would generally work? I assume with ubercomp we handle ...
7 years ago (2013-12-10 21:17:20 UTC) #1
danakj
On Tue, Dec 10, 2013 at 1:17 PM, <sievers@chromium.org> wrote: > Reviewers: danakj, piman, > ...
7 years ago (2013-12-10 21:19:59 UTC) #2
no sievers
On 2013/12/10 21:19:59, danakj wrote: > On Tue, Dec 10, 2013 at 1:17 PM, <mailto:sievers@chromium.org> ...
7 years ago (2013-12-10 22:09:04 UTC) #3
piman
https://codereview.chromium.org/111063003/diff/40001/content/browser/aura/gpu_process_transport_factory.cc File content/browser/aura/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/111063003/diff/40001/content/browser/aura/gpu_process_transport_factory.cc#newcode296 content/browser/aura/gpu_process_transport_factory.cc:296: if (!GpuDataManagerImpl::GetInstance()->CanUseGpuBrowserCompositor()) In the rest of the patch, we're ...
7 years ago (2013-12-11 01:14:03 UTC) #4
no sievers
https://codereview.chromium.org/111063003/diff/40001/content/browser/aura/gpu_process_transport_factory.cc File content/browser/aura/gpu_process_transport_factory.cc (right): https://codereview.chromium.org/111063003/diff/40001/content/browser/aura/gpu_process_transport_factory.cc#newcode296 content/browser/aura/gpu_process_transport_factory.cc:296: if (!GpuDataManagerImpl::GetInstance()->CanUseGpuBrowserCompositor()) On 2013/12/11 01:14:03, piman wrote: > In ...
7 years ago (2013-12-11 01:49:23 UTC) #5
piman
On Tue, Dec 10, 2013 at 5:49 PM, <sievers@chromium.org> wrote: > > https://codereview.chromium.org/111063003/diff/40001/ > content/browser/aura/gpu_process_transport_factory.cc ...
7 years ago (2013-12-11 02:20:21 UTC) #6
no sievers
See patch set 2. Might as well make it really simple then if we don't ...
7 years ago (2013-12-14 00:03:41 UTC) #7
piman
On 2013/12/14 00:03:41, sievers wrote: > See patch set 2. Might as well make it ...
7 years ago (2013-12-14 02:04:47 UTC) #8
danakj
Super cool, so much deletedness. The aura bits LGTM too. https://codereview.chromium.org/111063003/diff/70001/content/browser/aura/image_transport_factory.h File content/browser/aura/image_transport_factory.h (right): https://codereview.chromium.org/111063003/diff/70001/content/browser/aura/image_transport_factory.h#newcode70 ...
7 years ago (2013-12-16 22:57:57 UTC) #9
no sievers
Should I put a comment in RWHVAura::OnLostResources() to say it's deprecated or that it might ...
7 years ago (2013-12-17 00:23:02 UTC) #10
no sievers
+palmer for msg removal in content/common/gpu/gpu_messages.h
7 years ago (2013-12-17 00:41:09 UTC) #11
danakj
On 2013/12/17 00:23:02, sievers wrote: > Should I put a comment in RWHVAura::OnLostResources() to say ...
7 years ago (2013-12-17 19:13:26 UTC) #12
palmer
IPC security LGTM.
7 years ago (2013-12-17 19:19:27 UTC) #13
no sievers
On 2013/12/17 19:13:26, danakj wrote: > On 2013/12/17 00:23:02, sievers wrote: > > Should I ...
7 years ago (2013-12-17 19:19:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/111063003/130001
7 years ago (2013-12-17 21:14:48 UTC) #15
commit-bot: I haz the power
Change committed as 241425
7 years ago (2013-12-18 00:16:29 UTC) #16
no sievers
6 years, 11 months ago (2014-01-15 19:07:13 UTC) #17
Message was sent while issue was closed.
Committed patchset #7 manually as r244950 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698