skia2/dm
scroggo 3ac66e98f8 Optionally run RAW images serially
RAW images use a lot of memory. Add a new FLAG to run one at a time so
we have less risk of running out of memory.

Isolate RAW images to their own thread on particular devices where our
images cause OOM errors.

Locally, this drops the max memory use from 3945 MB to 1664 MB (running only --image --images <RAW images we test>)

BUG=skia:4912
BUG=skia:4878
BUG=b/27035849
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1681553003

Review URL: https://codereview.chromium.org/1681553003
2016-02-08 15:09:48 -08:00
..
DM.cpp dm: simplify parallel/serial decisions 2016-02-08 12:39:59 -08:00
DMGpuSupport.h Add config options to run different GPU APIs to dm and nanobench 2015-12-23 01:33:01 -08:00
DMJsonWriter.cpp Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate. 2015-07-07 12:21:22 -07:00
DMJsonWriter.h Update DM to allow Src's to have optional options. 2015-04-03 07:24:48 -07:00
DMSrcSink.cpp Optionally run RAW images serially 2016-02-08 15:09:48 -08:00
DMSrcSink.h Optionally run RAW images serially 2016-02-08 15:09:48 -08:00
DMSrcSinkAndroid.cpp Simplify linkages to Android framework internals 2015-10-26 07:21:32 -07:00
DMSrcSinkAndroid.h DM: this must have been missing from the previous CL 2016-02-08 14:30:25 -08:00