engine
engine copied to clipboard
[dart:ui] extended range/wide gamut color support.
Draft while I work on breaking change, making sure this works, testing et cetera
https://github.com/flutter/flutter/issues/127855
fyi here's the transfer function for displayp3 from skia: https://github.com/google/skia/blob/7c69f39fa85b3cca07c7d433a396011e01c88f34/include/core/SkColorSpace.h#L87
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.