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

Issue 1749263003: Don't block 3D apis if GPU process shut down was expected (Closed)

Created:
4 years, 9 months ago by no sievers
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ctxrestore
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't block 3D apis if GPU process shut down was expected This avoids raising the webgl infobar which forces a reload, when the GPU process got likely OOM killed, which we unfortunately can only infer from the fact that we were in the background. Note that on Android, NORMAL_TERMINATION here implies that the entire application was in the background. So that we don't have webgl context restore fight with the OOM killer, this also requires https://codereview.chromium.org/1756633002/. BUG=586905 NOTRY=True Committed: https://crrev.com/4592c3b9a493db42854e3c706fad7f7a18ad2d18 Cr-Commit-Position: refs/heads/master@{#380468}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 4 chunks +11 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (15 generated)
no sievers
ptal
4 years, 9 months ago (2016-03-01 23:03:10 UTC) #5
no sievers
https://codereview.chromium.org/1749263003/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/1749263003/diff/1/content/browser/gpu/gpu_process_host.cc#newcode489 content/browser/gpu/gpu_process_host.cc:489: #if defined(OS_ANDROID) I'm wondering if this even needs the ...
4 years, 9 months ago (2016-03-01 23:04:34 UTC) #7
Ken Russell (switch to Gerrit)
LGTM if this has been tested. Thanks for digging into this. https://codereview.chromium.org/1749263003/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): ...
4 years, 9 months ago (2016-03-02 00:48:47 UTC) #8
piman
On Tue, Mar 1, 2016 at 7:48 PM, <kbr@chromium.org> wrote: > LGTM if this has ...
4 years, 9 months ago (2016-03-03 20:31:19 UTC) #9
no sievers
I removed the ifdef and updated the comment.
4 years, 9 months ago (2016-03-09 21:56:07 UTC) #10
piman
lgtm
4 years, 9 months ago (2016-03-09 22:01:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749263003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749263003/20001
4 years, 9 months ago (2016-03-10 19:10:27 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/128822)
4 years, 9 months ago (2016-03-10 20:59:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1749263003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1749263003/20001
4 years, 9 months ago (2016-03-10 21:15:49 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-10 21:22:02 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 21:24:14 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4592c3b9a493db42854e3c706fad7f7a18ad2d18
Cr-Commit-Position: refs/heads/master@{#380468}

Powered by Google App Engine
This is Rietveld 408576698