OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GFX_COLOR_SPACE_H_ | 5 #ifndef UI_GFX_COLOR_SPACE_H_ |
6 #define UI_GFX_COLOR_SPACE_H_ | 6 #define UI_GFX_COLOR_SPACE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <ostream> | 9 #include <ostream> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 FILM, | 38 FILM, |
39 BT2020, | 39 BT2020, |
40 SMPTEST428_1, | 40 SMPTEST428_1, |
41 SMPTEST431_2, | 41 SMPTEST431_2, |
42 SMPTEST432_1, | 42 SMPTEST432_1, |
43 XYZ_D50, | 43 XYZ_D50, |
44 ADOBE_RGB, | 44 ADOBE_RGB, |
45 // Corresponds the the primaries of the "Generic RGB" profile used in the | 45 // Corresponds the the primaries of the "Generic RGB" profile used in the |
46 // Apple ColorSync application, used by layout tests on Mac. | 46 // Apple ColorSync application, used by layout tests on Mac. |
47 APPLE_GENERIC_RGB, | 47 APPLE_GENERIC_RGB, |
| 48 // A very wide gamut space with rotated primaries. Used by layout tests. |
| 49 WIDE_GAMUT_COLOR_SPIN, |
48 // Primaries defined by the primary matrix |custom_primary_matrix_|. | 50 // Primaries defined by the primary matrix |custom_primary_matrix_|. |
49 CUSTOM, | 51 CUSTOM, |
50 // For color spaces defined by an ICC profile which cannot be represented | 52 // For color spaces defined by an ICC profile which cannot be represented |
51 // parametrically. Any ColorTransform using this color space will use the | 53 // parametrically. Any ColorTransform using this color space will use the |
52 // ICC profile directly to compute a transform LUT. | 54 // ICC profile directly to compute a transform LUT. |
53 ICC_BASED, | 55 ICC_BASED, |
54 LAST = ICC_BASED, | 56 LAST = ICC_BASED, |
55 }; | 57 }; |
56 | 58 |
57 enum class TransferID : uint8_t { | 59 enum class TransferID : uint8_t { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, GetColorSpace); | 211 FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, GetColorSpace); |
210 }; | 212 }; |
211 | 213 |
212 // Stream operator so ColorSpace can be used in assertion statements. | 214 // Stream operator so ColorSpace can be used in assertion statements. |
213 GFX_EXPORT std::ostream& operator<<(std::ostream& out, | 215 GFX_EXPORT std::ostream& operator<<(std::ostream& out, |
214 const ColorSpace& color_space); | 216 const ColorSpace& color_space); |
215 | 217 |
216 } // namespace gfx | 218 } // namespace gfx |
217 | 219 |
218 #endif // UI_GFX_COLOR_SPACE_H_ | 220 #endif // UI_GFX_COLOR_SPACE_H_ |
OLD | NEW |