Go to file
Brian Osman f06ead925c Add support for transfer functions to GrColorSpaceXform
With this change, untagged sources (eg N32) are treated as
sRGB data, which causes a huge number of GMs to render more
correctly in GPU sRGB/F16/etc... configs. Also, because the
sources are treated as having a color space, we actually do
gamut conversion for wide or narrow gamut outputs.

This change also applies the transfer function math to
individual colors in the case of gradient stops and color
shaders. (The CPU backend doesn't do this yet, but I think
we've decided there's no reason not to support it).

Bug: skia:
Change-Id: If76e9e4a268f9f74110ff4bbe4fe189ba5d19d9f
Reviewed-on: https://skia-review.googlesource.com/64100
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-10-31 14:55:14 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench remove SkThread, using std::thread instead 2017-10-30 16:45:29 +00:00
bin bin/try: Add interactive mode 2017-10-18 17:16:16 +00:00
debugger Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
dm make color rotating a little less pointlessly slow 2017-10-30 19:27:03 +00:00
docs fix matrix order bug 2017-10-26 16:47:07 +00:00
example Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
experimental experimental/documentation/gerrit: authentication 2017-10-17 12:53:02 +00:00
fuzz Fuzz: use SkNullWStream 2017-08-29 17:41:36 +00:00
gm Add a GM to test out odd matrix draws 2017-10-31 14:51:14 +00:00
gn Add a GM to test out odd matrix draws 2017-10-31 14:51:14 +00:00
include Add support for transfer functions to GrColorSpaceXform 2017-10-31 14:55:14 +00:00
infra Update Pixel Cs to (actual) latest version 2017-10-31 13:51:44 +00:00
platform_tools platform_tools/android/bin/android_gdbserver: fix error 2017-10-13 16:06:28 +00:00
resources Avoid uninitialized memory in readByteArrayAsData 2017-09-28 19:51:32 +00:00
samplecode Convert geometry shaders to operate in Skia device space 2017-10-25 15:59:18 +00:00
site fix matrix order bug 2017-10-26 16:47:07 +00:00
src Add support for transfer functions to GrColorSpaceXform 2017-10-31 14:55:14 +00:00
tests Have mip status match surface when snapping image from wrapped object 2017-10-30 20:06:53 +00:00
third_party Revert "Add an Option for orientation on JPEG encodes" 2017-10-18 18:09:47 +00:00
tools Reuse more upload_to_android and allow removing flag on Android 2017-10-31 14:37:14 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS fix use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn remove SkThread, using std::thread instead 2017-10-30 16:45:29 +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 skia/third_party/externals/angle2/ 722bfb51d..6bb4f501f (1 commit) 2017-10-31 14:08: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
PRESUBMIT.py Add in test_filter to build configuration 2017-10-16 11:09:49 +00:00
public.bzl remove SkThread, using std::thread instead 2017-10-30 16:45:29 +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 Revert "Whitespace change to test Android autoroller" 2017-09-07 15:25:02 +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.