OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "CrashHandler.h" | 8 #include "CrashHandler.h" |
9 #include "DMJsonWriter.h" | 9 #include "DMJsonWriter.h" |
10 #include "DMSrcSink.h" | 10 #include "DMSrcSink.h" |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 return false; | 740 return false; |
741 } | 741 } |
742 | 742 |
743 for (auto colorImage : colorImages) { | 743 for (auto colorImage : colorImages) { |
744 ColorCodecSrc* src = new ColorCodecSrc(colorImage, ColorCodecSrc::kBasel
ine_Mode); | 744 ColorCodecSrc* src = new ColorCodecSrc(colorImage, ColorCodecSrc::kBasel
ine_Mode); |
745 push_src("image", "color_codec_baseline", src); | 745 push_src("image", "color_codec_baseline", src); |
746 | 746 |
747 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_HPZR30w_Mode); | 747 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_HPZR30w_Mode); |
748 push_src("image", "color_codec_HPZR30w", src); | 748 push_src("image", "color_codec_HPZR30w", src); |
749 | 749 |
| 750 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_sRGB_Mode); |
| 751 push_src("image", "color_codec_sRGB", src); |
| 752 |
750 #if defined(SK_TEST_QCMS) | 753 #if defined(SK_TEST_QCMS) |
751 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode); | 754 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode); |
752 push_src("image", "color_codec_QCMS_HPZR30w", src); | 755 push_src("image", "color_codec_QCMS_HPZR30w", src); |
753 #endif | 756 #endif |
754 } | 757 } |
755 | 758 |
756 return true; | 759 return true; |
757 } | 760 } |
758 | 761 |
759 static void push_sink(const SkCommandLineConfig& config, Sink* s) { | 762 static void push_sink(const SkCommandLineConfig& config, Sink* s) { |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1406 #endif | 1409 #endif |
1407 } | 1410 } |
1408 } // namespace skiatest | 1411 } // namespace skiatest |
1409 | 1412 |
1410 #if !defined(SK_BUILD_FOR_IOS) | 1413 #if !defined(SK_BUILD_FOR_IOS) |
1411 int main(int argc, char** argv) { | 1414 int main(int argc, char** argv) { |
1412 SkCommandLineFlags::Parse(argc, argv); | 1415 SkCommandLineFlags::Parse(argc, argv); |
1413 return dm_main(); | 1416 return dm_main(); |
1414 } | 1417 } |
1415 #endif | 1418 #endif |
OLD | NEW |