| Index: dm/DM.cpp
|
| diff --git a/dm/DM.cpp b/dm/DM.cpp
|
| index 0ce3738e327aab5c8346b7f629ae8955d48d3ff5..f9c831a9a87f6c69b7c5e711e50369a5331096e6 100644
|
| --- a/dm/DM.cpp
|
| +++ b/dm/DM.cpp
|
| @@ -846,11 +846,12 @@ static Sink* create_sink(const SkCommandLineConfig* config) {
|
|
|
| if (FLAGS_cpu) {
|
| auto srgbColorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named);
|
| + auto srgbLinearColorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGBLinear_Named);
|
|
|
| SINK("565", RasterSink, kRGB_565_SkColorType);
|
| SINK("8888", RasterSink, kN32_SkColorType);
|
| SINK("srgb", RasterSink, kN32_SkColorType, srgbColorSpace);
|
| - SINK("f16", RasterSink, kRGBA_F16_SkColorType, srgbColorSpace->makeLinearGamma());
|
| + SINK("f16", RasterSink, kRGBA_F16_SkColorType, srgbLinearColorSpace);
|
| SINK("pdf", PDFSink);
|
| SINK("skp", SKPSink);
|
| SINK("pipe", PipeSink);
|
|
|