| Index: include/core/SkColorSpace.h
|
| diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h
|
| index 57f74e985d9a732b0d6416046cb13ed1b003249f..2bf2ed0de6ded1088048690d29952f0dae1bd75c 100644
|
| --- a/include/core/SkColorSpace.h
|
| +++ b/include/core/SkColorSpace.h
|
| @@ -42,10 +42,14 @@ public:
|
|
|
| /**
|
| * Gamma is represented by a look-up table, a parametric curve, or an uncommon
|
| - * exponential curve. Or there is an additional pre-processing step before the
|
| - * applying the gamma.
|
| + * exponential curve. Or the R, G, and B gammas do not match.
|
| */
|
| kNonStandard_GammaNamed,
|
| +
|
| + /**
|
| + * To be used by UMA code only. ICC profiles lacks valid gamma representation.
|
| + */
|
| + kInvalid_GammaNamed,
|
| };
|
|
|
| /**
|
| @@ -78,6 +82,15 @@ public:
|
| }
|
|
|
| /**
|
| + * To be used only by UMA code.
|
| + */
|
| + bool gammasAreMatching() const;
|
| + bool gammasAreNamed() const;
|
| + bool gammasAreValues() const;
|
| + bool gammasAreTables() const;
|
| + bool gammasAreParams() const;
|
| +
|
| + /**
|
| * Returns nullptr on failure. Fails when we fallback to serializing ICC data and
|
| * the data is too large to serialize.
|
| */
|
|
|