DescriptionDefer 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 #
Dependent Patchsets: Messages
Total messages: 15 (8 generated)
|