Go to file
Brian Osman 82ebe04caf Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function"
Moved named common transfer functions and gamuts to constexpr values in
SkColorSpace.h, in SkNamedTransferFn and SkNamedGamut namespaces.

Converted nearly all SkColorSpace::MakeRGB calls within Skia to use the
new factory with the named values. Multiple clients want a way to
extract named transfer function and gamut - this still doesn't provide
that, but this may be a better path forward for honestly advertising how
SkColorSpace works internally.

Originally landed as:
https://skia.googlesource.com/skia/+/a9549ab31630fc244094e6f1692371cbaf87f666

Re-landing with a new serialization format, but maintaining ability to
load old serialized color spaces, for SKP compatibility.

Bug: skia:
Change-Id: Ib84a6e1cd5d7d9816175773fdbaff2ca32658667
Reviewed-on: https://skia-review.googlesource.com/c/181176
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-01-05 20:06:51 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
bin bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
dm Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
docker Convert skottie's cloud build to use CanvasKit 2018-11-10 12:06:32 +00:00
docs remove legacy drawPosText (and variants) 2019-01-03 17:59:06 +00:00
example start to build with no paint-text fields 2019-01-04 04:54:34 +00:00
experimental [canvaskit] Add .ready() which is a real promise 2019-01-04 19:48:19 +00:00
fuzz start to build with no paint-text fields 2019-01-04 04:54:34 +00:00
gm Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
gn Update SkDescriptor 2019-01-04 19:24:06 +00:00
include Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
infra Update go_deps asset 2019-01-05 06:15:23 +00:00
modules [pathkit] Increase test timeouts (for asmjs mostly) 2019-01-04 20:59:36 +00:00
platform_tools remove more extra semicolons 2019-01-04 14:19:36 +00:00
resources [skottie] Add a custom property manager util class 2018-11-28 17:12:07 +00:00
samplecode change textutils to require font param 2019-01-03 21:11:52 +00:00
site Fix link in /dev/contrib. 2019-01-04 15:16:06 +00:00
src Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
tests Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
third_party more extra semis 2019-01-04 15:35:14 +00:00
tools Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +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 Fix header file for _byteswap_ulong from MSVC CRT 2018-12-31 23:55:21 +00:00
BUILD.gn include_dirs = [ "tests" ] not needed 2018-12-28 16:07:32 +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 9db8df4c3e6e..dbc605cecc64 (2 commits) 2019-01-05 08:16:28 +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 Remove usage of EnsureCQIncludeTrybotsAreAdded 2018-11-12 19:35:42 +00:00
public.bzl Reland "Add SkFontMgr implementation for Fuchsia" 2018-12-07 01:47:05 +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.