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

Issue 1756633002: Defer WebGL lost context restore until visible. (Closed)

Created:
4 years, 9 months ago by no sievers
Modified:
4 years, 9 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defer WebGL lost context restore until visible. This doesn't affect the force-evict logic but only contexts in 'Auto' recovery mode. If the context is lost while hidden, defer restoring it until the canvas becomes visible again. The motivation is that this is more efficient wrt memory, and in particular on Android avoids webgl context restore to fight with the GPU oom killer for hidden webgl tabs. BUG=586905 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/2292849b75d884faff3d77c37b4fcf9743e13388 Cr-Commit-Position: refs/heads/master@{#380293}

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 3 chunks +8 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (8 generated)
no sievers
ptal
4 years, 9 months ago (2016-03-01 22:53:14 UTC) #4
Ken Russell (switch to Gerrit)
Thanks, this is a clever fix and lgtm if it's been tested. We should consider ...
4 years, 9 months ago (2016-03-02 01:23:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1756633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1756633002/20001
4 years, 9 months ago (2016-03-10 00:02:28 UTC) #9
no sievers
On 2016/03/02 01:23:07, Ken Russell wrote: > Thanks, this is a clever fix and lgtm ...
4 years, 9 months ago (2016-03-10 00:03:41 UTC) #10
Ken Russell (switch to Gerrit)
On 2016/03/10 00:03:41, sievers wrote: > On 2016/03/02 01:23:07, Ken Russell wrote: > > Thanks, ...
4 years, 9 months ago (2016-03-10 01:34:14 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-10 01:39:12 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 01:40:34 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2292849b75d884faff3d77c37b4fcf9743e13388
Cr-Commit-Position: refs/heads/master@{#380293}

Powered by Google App Engine
This is Rietveld 408576698