skia2/dm
Leon Scroggins III 0cbc10f94e Make SkImageGeneratorCG apply encoded origin
SkImageGeneratorCG:
- Detect the origin and apply it to the output
- Deprecate NewFromEncodedCG and add MakeFromEncodedCG

SkCodecImageGenerator:
- Move code elsewhere for sharing
- Apply origin for incomplete decodes

SkPixmap.cpp/SkPixmapPriv.h:
- Now has the shared code for generators to apply origin

DMSrcSink.cpp:
- Call MakeFromEncodedCG

SkCGUtils.h:
- Add a version of SkCopyPixelsFromCGImage that takes an SkPixmap

Bug: skia:7138
Bug: skia:3834
Change-Id: Ic6dbc76360c6a84913b67373582f328d3946d637
Reviewed-on: https://skia-review.googlesource.com/63740
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2017-11-03 15:29:34 +00:00
..
DM.cpp Revert "gbr- has been brg- this whole time..." 2017-10-31 17:42:16 +00:00
DMGpuSupport.h Add metal config to tools 2017-07-14 13:57:34 +00:00
DMGpuTestProcs.cpp DM: move skiatest functions into separate file. 2017-10-10 12:34:22 +00:00
DMJsonWriter.cpp Move SkOSPath out of include/core. 2016-11-08 20:20:15 +00:00
DMJsonWriter.h Add gamma_correct option field to dm.json 2016-02-29 07:38:01 -08:00
DMSrcSink.cpp Make SkImageGeneratorCG apply encoded origin 2017-11-03 15:29:34 +00:00
DMSrcSink.h DeferredDisplayList API proposal 2017-08-30 19:25:47 +00:00