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

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

Issue 2068743003: Keep SkColorSpace and SkColorProfileType in sync (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix roll using SK_API Created 4 years, 6 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
« no previous file with comments | « no previous file | include/core/SkImageInfo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 #include "SkMatrix44.h" 11 #include "SkMatrix44.h"
12 #include "SkRefCnt.h" 12 #include "SkRefCnt.h"
13 13
14 class SkColorSpace : public SkRefCnt { 14 class SK_API SkColorSpace : public SkRefCnt {
15 public: 15 public:
16 16
17 /** 17 /**
18 * Common, named profiles that we can recognize. 18 * Common, named profiles that we can recognize.
19 */ 19 */
20 enum Named { 20 enum Named {
21 kUnknown_Named, 21 kUnknown_Named,
22 kSRGB_Named, 22 kSRGB_Named,
23 kAdobeRGB_Named, 23 kAdobeRGB_Named,
24 }; 24 };
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 protected: 65 protected:
66 66
67 SkColorSpace(GammaNamed gammaNamed, const SkMatrix44& toXYZD50, Named named) ; 67 SkColorSpace(GammaNamed gammaNamed, const SkMatrix44& toXYZD50, Named named) ;
68 68
69 const GammaNamed fGammaNamed; 69 const GammaNamed fGammaNamed;
70 const SkMatrix44 fToXYZD50; 70 const SkMatrix44 fToXYZD50;
71 const Named fNamed; 71 const Named fNamed;
72 }; 72 };
73 73
74 #endif 74 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkImageInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698