skia2/include
Brian Osman 9c6ee015c3 SkColorSpace API cleanup
Previously:
- Gamut could be a 4x4 matrix (overspecified), or an enum.
- Transfer function could be a struct with 7 floats, or one of two
  different enums.
- We had 5 of the 6 possible factories covering those [3 x 2] options.

Recently we added a single new factory that takes the skcms 7-float
struct, and the skcms 3x3 matrix. This is the exact, minimal set of
information needed to specify an SkColorSpace.

Major clients have been moved to that factory, so the other five are
being removed. The enums are also being removed, as they are no longer
part of the API. All transfer functions and gamuts covered by the old
enums are available as constexpr values (of the skcms types) in the
header (SkNamedTransferFn and SkNamedGamut).

Bug: skia:
Change-Id: I1fbbacec6997b966dd92000ab67513e7f1a9d023
Reviewed-on: https://skia-review.googlesource.com/c/184067
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-01-21 18:12:28 +00:00
..
android add saveBehind to canvas 2018-12-19 14:44:09 +00:00
atlastext pass a font to GlyphRunBuilder 2019-01-02 21:02:33 +00:00
c expand imageinfo in C api, start on colorspace 2018-09-28 17:52:59 +00:00
codec Fix uninitialized bug in SkWuffsCodec for incomplete images 2018-12-05 18:27:28 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core SkColorSpace API cleanup 2019-01-21 18:12:28 +00:00
docs SkPDF: clean up public header 2019-01-02 15:55:33 +00:00
effects Add SkBlurDrawLooper::Make(SkColor4f, SkColorSpace) 2019-01-12 08:46:04 +00:00
encode Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
gpu Make GrTexture caching for SkPromiseImageTexture work when same texture 2019-01-16 22:06:53 +00:00
pathops fixup winding contours 2018-08-17 14:01:51 +00:00
ports Reland "Add SkFontMgr implementation for Fuchsia" 2018-12-07 01:47:05 +00:00
private Add SK_API to SkHalfToFloat 2019-01-18 15:43:01 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
third_party/vulkan Move vulkan headers from third_party to include/third_party. 2018-12-12 14:16:43 +00:00
utils start to build with no paint-text fields 2019-01-04 04:54:34 +00:00