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

Issue 9559013: Refactor GpuProcessHost::GetForClient to GpuProcessHost::Get, which takes a GPU process kind rather… (Closed)

Created:
8 years, 9 months ago by apatrick_chromium
Modified:
8 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Refactor GpuProcessHost::GetForClient to GpuProcessHost::Get, which takes a GPU process kind rather than a client ID. There is no longer a plan to have a GPU process for each client to identify the GPU process by its kind (sandboxed or unsandboxed) rather than client ID. I checked about:gpu still works and that the limit on the number of times the sandboxed GPU is relaunched is still limitted.

Patch Set 1 : #

Total comments: 9

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -35 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 2 3 4 chunks +16 lines, -11 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 10 chunks +20 lines, -18 lines 0 comments Download
M content/browser/renderer_host/gpu_message_filter.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
apatrick_chromium
fischman: everything jam: content/browser owners Thanks.
8 years, 9 months ago (2012-03-01 01:35:33 UTC) #1
jam
lgtm https://chromiumcodereview.appspot.com/9559013/diff/5001/content/browser/gpu/gpu_process_host.h File content/browser/gpu/gpu_process_host.h (right): https://chromiumcodereview.appspot.com/9559013/diff/5001/content/browser/gpu/gpu_process_host.h#newcode36 content/browser/gpu/gpu_process_host.h:36: kSandboxed, nit KIND_SANDBOXED per the chromium style guide. ...
8 years, 9 months ago (2012-03-01 01:38:31 UTC) #2
Ami GONE FROM CHROMIUM
I'm pretty confused by this CL, but I suspect there's a small explanation that'll set ...
8 years, 9 months ago (2012-03-01 02:33:04 UTC) #3
apatrick_chromium
jam, I went with GPU_PROCESS_KIND_X instead of GPU_KIND_X to make the distinction kind of process ...
8 years, 9 months ago (2012-03-01 02:57:38 UTC) #4
Ami GONE FROM CHROMIUM
LGTM https://chromiumcodereview.appspot.com/9559013/diff/4006/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://chromiumcodereview.appspot.com/9559013/diff/4006/content/browser/gpu/gpu_process_host.cc#newcode199 content/browser/gpu/gpu_process_host.cc:199: for (IDMap<GpuProcessHost>::iterator it(g_hosts_by_id.Pointer()); Add a TODO to clean ...
8 years, 9 months ago (2012-03-01 03:21:03 UTC) #5
apatrick_chromium
fischman, I got derailed by m18 things. All I did was rebase, add the cleanup ...
8 years, 9 months ago (2012-03-13 21:37:20 UTC) #6
Ami GONE FROM CHROMIUM
lgtm
8 years, 9 months ago (2012-03-13 21:46:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apatrick@chromium.org/9559013/16001
8 years, 9 months ago (2012-03-13 21:52:44 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-14 01:13:24 UTC) #9
Try job failure for 9559013-16001 (retry) on win_rel for step "ui_tests".
It's a second try, previously, steps "ui_tests, browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698