Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench SkDocument: use auto for MakeDocument(). 2019-01-17 19:16:28 +00:00
bin bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
dm SkDocument: use auto for MakeDocument(). 2019-01-17 19:16:28 +00:00
docker Convert skottie's cloud build to use CanvasKit 2018-11-10 12:06:32 +00:00
docs Fix Bookmaker docs for MakeFromCompressed 2019-01-18 19:49:00 +00:00
example drawText Cleanup, part 5 2019-01-09 16:10:30 +00:00
experimental [canvaskit] Use textblob 2019-01-14 14:12:59 +00:00
fuzz start to build with no paint-text fields 2019-01-04 04:54:34 +00:00
gm Reland "Add compressed data support for SkImage." 2019-01-18 16:32:08 +00:00
gn remove empty skia_for_chromium_defines 2019-01-17 17:37:01 +00:00
include SkColorSpace API cleanup 2019-01-21 18:12:28 +00:00
infra Update go_deps asset 2019-01-20 06:13:07 +00:00
modules [skshaper] Build tweaks 2019-01-18 20:25:40 +00:00
platform_tools Add support for Windows to the gradle builds 2019-01-08 20:01:29 +00:00
resources [skottie] Add a custom property manager util class 2018-11-28 17:12:07 +00:00
samplecode Return GrProcessorSet::Analysis from GrDrawOp::finalize 2019-01-16 21:22:38 +00:00
site SkDocument: use auto for MakeDocument(). 2019-01-17 19:16:28 +00:00
src SkColorSpace API cleanup 2019-01-21 18:12:28 +00:00
tests hide hinting and flag enums with PAINT_FLAGS 2019-01-21 15:45:37 +00:00
third_party Update libwebp to 1.0.2-rc1 2019-01-17 16:00:25 +00:00
tools hide hinting and flag enums with PAINT_FLAGS 2019-01-21 15:45:37 +00:00
.clang-format .clang-format: Don't force break after > in template declarations 2018-12-21 14:20:57 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Update BUILDCONFIG.gn to support Visual Studio 2017 Enterprise 2019-01-09 14:27:34 +00:00
BUILD.gn Restore ETC1 compressed texture support. 2019-01-15 19:56:28 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 7403dd2cd376..bf433727853d (1 commits) 2019-01-21 17:23:44 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py [presubmit] Remove pylint check 2019-01-14 13:47:51 +00:00
public.bzl [skshaper] Export "primitive" sources in public.bzl 2019-01-21 17:29:33 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.