Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: dm/DM.cpp

Issue 2031053005: Use SK_TEST_QCMS to mark qcms test code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bench/ColorCodecBench.cpp ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « bench/ColorCodecBench.cpp ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698