Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: include/core/SkColorSpace.h

Issue 1726823002: Set SkColorSpace object for PNGs and parse ICC profiles (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Refactored a bit, added guesses for "default" gAMA/cHRM Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkColorSpace_DEFINED 8 #ifndef SkColorSpace_DEFINED
9 #define SkColorSpace_DEFINED 9 #define SkColorSpace_DEFINED
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 SkColorSpace(const SkFloat3x3& toXYZ, const SkFloat3& gamma, Named); 78 SkColorSpace(const SkFloat3x3& toXYZ, const SkFloat3& gamma, Named);
79 79
80 private: 80 private:
81 const SkFloat3x3 fToXYZD50; 81 const SkFloat3x3 fToXYZD50;
82 const SkFloat3 fGamma; 82 const SkFloat3 fGamma;
83 const uint32_t fUniqueID; 83 const uint32_t fUniqueID;
84 const Named fNamed; 84 const Named fNamed;
85 }; 85 };
86 86
87 #endif 87 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698