skia2/include
Matt Sarett 313c4635e3 Safely handle unsupported color xforms in SkCodec
(1) The transformation code *should* support any src SkColorSpace
that we successfully parse.  This is agreed upon internally and
by clients.  The fact that we currently don't is just a bug...
(2) We cannot and will not support all SkColorSpaces as dsts.

So if we fail to make a SkColorSpaceXform, we should assume that
it was caused by a bad dst color space.  The correct response in
this case is to return kInvalidConversion.  I've rewritten the CL
to do this.

The fact that weird src spaces will sometimes trigger a
kInvalidConversion is just a bug that is being actively worked on.

TBR=reed@google.com

BUG=skia:

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

Change-Id: Iac2b45120507ec71b1b3d555c61931f7348dad9e
Reviewed-on: https://skia-review.googlesource.com/3661
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Robert Aftias <raftias@google.com>
2016-10-20 17:31:35 +00:00
..
android change SkStreams to work with sk_sp<SkData> instead of SkData* 2016-09-12 12:01:44 -07:00
animator Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
c spin off easy stuff from Herb's windows GN CL 2016-08-04 06:19:33 -07:00
codec Safely handle unsupported color xforms in SkCodec 2016-10-20 17:31:35 +00:00
config gyp/sfntly: set SK_SFNTLY_SUBSETTER uniformly 2016-08-24 12:28:38 -07:00
core Class delete call unsized delete when size not known. 2016-10-19 21:41:00 +00:00
effects Add SkRRectsGaussianEdgeMaskFilter 2016-10-20 14:06:52 +00:00
gpu Add helper to create random AsFPArgs for Ganesh unit tests 2016-10-19 16:01:07 +00:00
images gn: fix fiddle 2016-08-02 11:13:49 -07:00
pathops Move SkTDArray to private. 2016-02-18 08:53:33 -08:00
ports Split SkFontConfigInterface globals and factory. 2016-09-19 12:13:16 -07:00
private Move GPU fences into sk_gpu_test 2016-10-04 11:08:45 -07:00
svg Delete the legacy SVG parser 2016-07-19 06:12:54 -07:00
utils Re-enable overdraw mode in debugger. 2016-10-17 21:10:38 +00:00
views Viewer builds (for Windows) with GN 2016-10-18 18:53:30 +00:00
xml Initial SVG model 2016-07-26 18:46:34 -07:00