diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-04-20 11:04:32 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-20 16:55:15 +0000 |
commit | 37819d03fe1a270a0713b016254d66efaae29af7 (patch) | |
tree | aea2aeb8d6a589a098eb6aaa2ff105932a1c55ec /gm/lcdblendmodes.cpp | |
parent | bbdee1befaf9a908d44c58a0dd58d48316afc108 (diff) |
Reduce threads used for DNG decodes on Android
Bug: b/78120086
DNG files require lots of memory to decode. We recently removed the
limit on how much SkRawCodec can allocate, allowing it to decode large
warped DNG files, so long as the device has enough memory. But in
practice, running too many threads at once with each thread allocating
a lot of memory results in crashing on Android. Reduce the number of
threads so we save memory and do not crash.
Change-Id: I464b5a21c019463d2ec31e333f25ebb0b81605bd
Reviewed-on: https://skia-review.googlesource.com/122786
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'gm/lcdblendmodes.cpp')
0 files changed, 0 insertions, 0 deletions