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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 return false; | 739 return false; |
740 } | 740 } |
741 | 741 |
742 for (auto colorImage : colorImages) { | 742 for (auto colorImage : colorImages) { |
743 ColorCodecSrc* src = new ColorCodecSrc(colorImage, ColorCodecSrc::kBasel
ine_Mode); | 743 ColorCodecSrc* src = new ColorCodecSrc(colorImage, ColorCodecSrc::kBasel
ine_Mode); |
744 push_src("image", "color_codec_baseline", src); | 744 push_src("image", "color_codec_baseline", src); |
745 | 745 |
746 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_HPZR30w_Mode); | 746 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kDst_HPZR30w_Mode); |
747 push_src("image", "color_codec_HPZR30w", src); | 747 push_src("image", "color_codec_HPZR30w", src); |
748 | 748 |
749 #if !defined(GOOGLE3) | 749 #if defined(SK_TEST_QCMS) |
750 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode); | 750 src = new ColorCodecSrc(colorImage, ColorCodecSrc::kQCMS_HPZR30w_Mode); |
751 push_src("image", "color_codec_QCMS_HPZR30w", src); | 751 push_src("image", "color_codec_QCMS_HPZR30w", src); |
752 #endif | 752 #endif |
753 } | 753 } |
754 | 754 |
755 return true; | 755 return true; |
756 } | 756 } |
757 | 757 |
758 static void push_sink(const SkCommandLineConfig& config, Sink* s) { | 758 static void push_sink(const SkCommandLineConfig& config, Sink* s) { |
759 SkAutoTDelete<Sink> sink(s); | 759 SkAutoTDelete<Sink> sink(s); |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 #endif | 1403 #endif |
1404 } | 1404 } |
1405 } // namespace skiatest | 1405 } // namespace skiatest |
1406 | 1406 |
1407 #if !defined(SK_BUILD_FOR_IOS) | 1407 #if !defined(SK_BUILD_FOR_IOS) |
1408 int main(int argc, char** argv) { | 1408 int main(int argc, char** argv) { |
1409 SkCommandLineFlags::Parse(argc, argv); | 1409 SkCommandLineFlags::Parse(argc, argv); |
1410 return dm_main(); | 1410 return dm_main(); |
1411 } | 1411 } |
1412 #endif | 1412 #endif |
OLD | NEW |