diff options
author | herb <herb@google.com> | 2016-05-16 09:43:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-16 09:43:54 -0700 |
commit | 7acc00853174361cf921ecac8fbeaf6812f53eed (patch) | |
tree | 5e38f6deba7166ab0bdceeb8a949a31301ff061f | |
parent | 2996553ba23212e345ba611772fcc6ee1574cb7e (diff) |
Change to sRGB default for codec generated images.
Compared the gm and skps for 8888 and srgb. There are no differences for 8888, there are 100 differences for sRGB, but the 100 look correct compared to the old ones.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1955063002
Review-Url: https://codereview.chromium.org/1955063002
-rw-r--r-- | src/core/SkImageInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp index 5f0a4919ee..6314784c36 100644 --- a/src/core/SkImageInfo.cpp +++ b/src/core/SkImageInfo.cpp @@ -11,7 +11,7 @@ #include "SkWriteBuffer.h" // Indicate how images and gradients should interpret colors by default. -bool gDefaultProfileIsSRGB; +bool gDefaultProfileIsSRGB = true; SkColorProfileType SkDefaultColorProfile() { return gDefaultProfileIsSRGB ? kSRGB_SkColorProfileType |