Delete SkImage::encode(Type)
authorMatt Sarett <msarett@google.com>
Mon, 7 Nov 2016 23:06:06 +0000 (18:06 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 8 Nov 2016 13:16:19 +0000 (13:16 +0000)
commite48b4c550de60f3c2316f31125ee305c8df280ba
tree9f9507743c32df11b998325eacfa6d78d49211de
parentd3a2af75a959823a6a6d143409a64414ac64896a
Delete SkImage::encode(Type)

This doesn't appear to be used (fingers crossed).

We're not ready to support color correct encodes (and tagging with
color spaces) for all of the formats included in SkImageEncoder::Type.

I think it's good to restrict this for now.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4535

Change-Id: I73000f3d7bff1af153786d766531a2cbc8c5b77a
Reviewed-on: https://skia-review.googlesource.com/4535
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
gm/image.cpp
gm/image_shader.cpp
include/core/SkImage.h
src/image/SkImage.cpp
tests/ImageTest.cpp