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 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 | 843 |
844 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK | 844 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
845 SINK("hwui", HWUISink); | 845 SINK("hwui", HWUISink); |
846 #endif | 846 #endif |
847 | 847 |
848 if (FLAGS_cpu) { | 848 if (FLAGS_cpu) { |
849 SINK("565", RasterSink, kRGB_565_SkColorType); | 849 SINK("565", RasterSink, kRGB_565_SkColorType); |
850 SINK("8888", RasterSink, kN32_SkColorType); | 850 SINK("8888", RasterSink, kN32_SkColorType); |
851 SINK("srgb", RasterSink, kN32_SkColorType, kSRGB_SkColorProfileType); | 851 SINK("srgb", RasterSink, kN32_SkColorType, kSRGB_SkColorProfileType); |
852 SINK("f16", RasterSink, kRGBA_F16_SkColorType); | 852 SINK("f16", RasterSink, kRGBA_F16_SkColorType); |
853 SINK("pdf", PDFSink, "Pdfium"); | 853 SINK("pdf", PDFSink); |
854 SINK("pdf_poppler", PDFSink, "Poppler"); | |
855 SINK("skp", SKPSink); | 854 SINK("skp", SKPSink); |
856 SINK("svg", SVGSink); | 855 SINK("svg", SVGSink); |
857 SINK("null", NullSink); | 856 SINK("null", NullSink); |
858 SINK("xps", XPSSink); | 857 SINK("xps", XPSSink); |
859 } | 858 } |
860 #undef SINK | 859 #undef SINK |
861 return nullptr; | 860 return nullptr; |
862 } | 861 } |
863 | 862 |
864 static Sink* create_via(const SkString& tag, Sink* wrapped) { | 863 static Sink* create_via(const SkString& tag, Sink* wrapped) { |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1500 Reporter* reporter, | 1499 Reporter* reporter, |
1501 GrContextFactory* fac
tory); | 1500 GrContextFactory* fac
tory); |
1502 } // namespace skiatest | 1501 } // namespace skiatest |
1503 | 1502 |
1504 #if !defined(SK_BUILD_FOR_IOS) | 1503 #if !defined(SK_BUILD_FOR_IOS) |
1505 int main(int argc, char** argv) { | 1504 int main(int argc, char** argv) { |
1506 SkCommandLineFlags::Parse(argc, argv); | 1505 SkCommandLineFlags::Parse(argc, argv); |
1507 return dm_main(); | 1506 return dm_main(); |
1508 } | 1507 } |
1509 #endif | 1508 #endif |
OLD | NEW |