Go to file
Matt Sarett 595599f462 Rearrange ICC profile parsing
None of the small details have changed, just some high level
reorganization:
(1) Check for XYZ spaces before A2B.
(2) If we fail to parse the XYZ space, fallback by trying to
    parse the A2B space.

This should cause no image diffs on Gold.

There is an image from the ICC website that is *supposed* to
test that we parse the A2B tag before the XYZ tag.  Our
behavior on this image will actually not change - the XYZ
tag is invalid (non-D50 matrix), so we fall back to A2B
anyway.  I think this behavior is ok.

BUG:674584

Change-Id: I271fd990937268e03e98f5037a0837a574e775ef
Reviewed-on: https://skia-review.googlesource.com/6143
Reviewed-by: Robert Aftias <raftias@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
2016-12-16 20:41:36 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench speedup dynamicwstream 2016-12-15 19:49:31 +00:00
bin tools and docs: clean up gyp-specific things 2016-12-09 21:15:27 +00:00
debugger SkEncodeImage: no more link-time registration 2016-11-30 22:48:56 +00:00
dm Fix gray png BRD tests 2016-12-16 15:10:43 +00:00
example bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
experimental Plumb dst color space in many places, rather than "mode" 2016-12-09 20:31:23 +00:00
fuzz re-land of added sk_FragCoord support to skslc 2016-12-13 14:28:53 +00:00
gm Add color space to picture image as a creation parameter 2016-12-16 18:09:02 +00:00
gn Rename GrBatchFontCache->GrAtlasGlyphCache 2016-12-16 19:48:35 +00:00
gyp Revert "Remove all KTX support" 2016-12-16 13:52:09 +00:00
include Rename GrBatchFontCache->GrAtlasGlyphCache 2016-12-16 19:48:35 +00:00
infra Turn on srgb config on all bots, run image decode tests to srgb 2016-12-15 23:03:01 +00:00
platform_tools Another step to using gn_to_bp.py 2016-12-15 16:19:48 +00:00
resources Only attempt index8 if underlying GIF is index8 2016-12-16 19:51:52 +00:00
samplecode add fatstroke sample 2016-12-15 16:28:57 +00:00
site Restore fetch-gn instructions. 2016-12-16 13:14:32 +00:00
src Rearrange ICC profile parsing 2016-12-16 20:41:36 +00:00
tests Only attempt index8 if underlying GIF is index8 2016-12-16 19:51:52 +00:00
third_party Revert "Remove all KTX support" 2016-12-16 13:52:09 +00:00
tools Rename GrBatchFontCache->GrAtlasGlyphCache 2016-12-16 19:48:35 +00:00
.clang-format Change ConstructorInitializerWidth in .clang-format from 4 to 8 2016-12-14 15:00:48 +00:00
.gitignore Remove skia.conf from .gitignore 2016-10-26 14:50:09 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix typo in GrGLCaps 2016-11-18 23:20:51 +00:00
BUILD.gn Revert "Remove all KTX support" 2016-12-16 13:52:09 +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 Run bin/fetch-gn as a gclient hook. 2016-12-09 17:06:21 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Do not use post upload hooks for 'GOLD_TRYBOT_URL' 2016-11-23 18:34:23 +00:00
public.bzl Revert "Remove all KTX support" 2016-12-16 13:52:09 +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
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
whitespace.txt Revert "Test CL" 2016-12-15 13:49:34 +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.