Add new SkImageGenerator::getPixels() API, deprecate the old
authorMatt Sarett <msarett@google.com>
Fri, 12 May 2017 15:41:27 +0000 (11:41 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 12 May 2017 16:48:17 +0000 (16:48 +0000)
commitebb1b5c297e394ab19f99d807095672b7f5d8aef
tree5f2fcd7f15da445df1efd5861b708df8f35c5ba0
parent7c8460e10135c05a42d0744b84838bbc24398ac2
Add new SkImageGenerator::getPixels() API, deprecate the old

This is fairly aggressive in that it will break any client
that is currently using SkImageGenerator with kIndex8.
I'm guessing that we don't have any clients doing that.

Bug: skia:6620
Change-Id: Ifd16f5232bb3a9f759c225315c57492d917ed9ca
Reviewed-on: https://skia-review.googlesource.com/16601
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Mike Reed <reed@google.com>
16 files changed:
dm/DMSrcSink.cpp
gm/image_pict.cpp
gm/imagemasksubset.cpp
include/core/SkImageGenerator.h
public.bzl
src/codec/SkCodecImageGenerator.cpp
src/codec/SkCodecImageGenerator.h
src/core/SkImageGenerator.cpp
src/core/SkPictureImageGenerator.cpp
src/core/SkPictureImageGenerator.h
src/ports/SkImageGeneratorCG.cpp
src/ports/SkImageGeneratorCG.h
src/ports/SkImageGeneratorWIC.cpp
src/ports/SkImageGeneratorWIC.h
tests/CachedDecodingPixelRefTest.cpp
tools/Resources.cpp