engine icon indicating copy to clipboard operation
engine copied to clipboard

[dart:ui] extended range/wide gamut color support.

Open jonahwilliams opened this issue 1 year ago • 1 comments

Draft while I work on breaking change, making sure this works, testing et cetera

https://github.com/flutter/flutter/issues/127855

jonahwilliams avatar Jul 01 '24 22:07 jonahwilliams

fyi here's the transfer function for displayp3 from skia: https://github.com/google/skia/blob/7c69f39fa85b3cca07c7d433a396011e01c88f34/include/core/SkColorSpace.h#L87

gaaclarke avatar Jul 02 '24 22:07 gaaclarke

The matrix is currently incorrect. Since it will be hard/difficult to do a picker of extendedSRGB we'd need to get the display p3 ctor working.

jonahwilliams avatar Jul 03 '24 23:07 jonahwilliams