Chromium Code Reviews
DescriptionDecouple some graphics-related IsLowEndDevice() policies for 1GB devices.
In http://crrev.com/2814323002, IsLowEndDevice() was changed to apply to
some 1GB devices, which was not the original intent of the flag (used to
be strictly 512MB). I triaged the current uses of it, and found the two
following inappropriate ones:
1) Use of 16-bit color in the graphics subsystem is a particularly
desperate measure unique to Chrome on 512MB devices (not even resorted
to by any other Android app on 512MB devices). Because 16-bit GL driver
features are little-used or tested, it poses a high risk of severe
performance and stability issues (which are browser crashes in
IsLowEndDevice mode). So replace those callsites with an explicit
memory check.
2) The video code has some settings to disable autoplay and idle
playback on Jellybean or low-RAM devices. Disabling autoplay is a
web-standards-violating change so we shouldn't apply it to any new
devices. As far as I can tell from the history on
http://crbug.com/612909, this was added to workaround Jellybean bugs
which have never been observed on any device meeting the Svelte criteria
(KitKat or above, 512MB). isLowEndDevice() should only be used for RAM
optimizations, so I simply removed the calls.
BUG=711079
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2820643002
Cr-Commit-Position: refs/heads/master@{#464813}
Committed: https://chromium.googlesource.com/chromium/src/+/e678aa49f3fbb21132296a1356239c79d8db276a
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 18 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||