| Index: ui/gfx/color_space.h
|
| diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
|
| index fbbb78690df39aa52a701190369f4ae979912155..1f12b0a810e7c847ababf144d8e3d47bd83a8aad 100644
|
| --- a/ui/gfx/color_space.h
|
| +++ b/ui/gfx/color_space.h
|
| @@ -178,6 +178,10 @@ class GFX_EXPORT ColorSpace {
|
| bool GetTransferFunction(SkColorSpaceTransferFn* fn) const;
|
| bool GetInverseTransferFunction(SkColorSpaceTransferFn* fn) const;
|
|
|
| + // For most formats, this is the RGB to YUV matrix.
|
| + void GetTransferMatrix(SkMatrix44* matrix) const;
|
| + void GetRangeAdjustMatrix(SkMatrix44* matrix) const;
|
| +
|
| private:
|
| PrimaryID primaries_ = PrimaryID::UNSPECIFIED;
|
| TransferID transfer_ = TransferID::UNSPECIFIED;
|
|
|