skia2/dm
emmaleer 0944100ac8 SkScaledCodec class
This class does scaling by using a scanlineDecoder.
getScanlines and skipScanlines are used for y sampling,
the swizzler is used for x sampling

this class is currently only working for png and jpeg images
I will update other Codec types to work soon

For SkJpegCodec to implement width wise swizzling it now
uses a swizzler. I ran performance tests on this change.
Here are the performance test results:
https://docs.google.com/a/google.com/spreadsheets/d/1D7-Q_GXD_dI68LZO005NNvb8Wq2Ee0wEBEPG72671yw/edit?usp=sharing

BUG=skia:

Review URL: https://codereview.chromium.org/1260673002
2015-08-13 11:26:57 -07:00
..
DM.cpp SkScaledCodec class 2015-08-13 11:26:57 -07:00
DMGpuSupport.h Add caps overrides to GMs 2015-05-27 13:23:23 -07: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 SkScaledCodec class 2015-08-13 11:26:57 -07:00
DMSrcSink.h DM: track a direct/indirect bit for each Sink too. 2015-07-31 06:43:04 -07:00
DMSrcSinkAndroid.cpp Move HWUI boilerplate into utils/android 2015-03-27 12:22:01 -07:00
DMSrcSinkAndroid.h Missing overrides for Sinks in HWUI. 2015-08-03 10:20:28 -07:00