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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 #endif | 582 #endif |
583 } | 583 } |
584 | 584 |
585 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK | 585 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
586 SINK("hwui", HWUISink); | 586 SINK("hwui", HWUISink); |
587 #endif | 587 #endif |
588 | 588 |
589 if (FLAGS_cpu) { | 589 if (FLAGS_cpu) { |
590 SINK("565", RasterSink, kRGB_565_SkColorType); | 590 SINK("565", RasterSink, kRGB_565_SkColorType); |
591 SINK("8888", RasterSink, kN32_SkColorType); | 591 SINK("8888", RasterSink, kN32_SkColorType); |
592 SINK("pdf", PDFSink); | 592 SINK("pdf", PDFSink, "Pdfium"); |
| 593 SINK("pdf_poppler", PDFSink, "Poppler"); |
593 SINK("skp", SKPSink); | 594 SINK("skp", SKPSink); |
594 SINK("svg", SVGSink); | 595 SINK("svg", SVGSink); |
595 SINK("null", NullSink); | 596 SINK("null", NullSink); |
596 SINK("xps", XPSSink); | 597 SINK("xps", XPSSink); |
597 } | 598 } |
598 #undef SINK | 599 #undef SINK |
599 return nullptr; | 600 return nullptr; |
600 } | 601 } |
601 | 602 |
602 static Sink* create_via(const char* tag, Sink* wrapped) { | 603 static Sink* create_via(const char* tag, Sink* wrapped) { |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 } | 1101 } |
1101 return 0; | 1102 return 0; |
1102 } | 1103 } |
1103 | 1104 |
1104 #if !defined(SK_BUILD_FOR_IOS) | 1105 #if !defined(SK_BUILD_FOR_IOS) |
1105 int main(int argc, char** argv) { | 1106 int main(int argc, char** argv) { |
1106 SkCommandLineFlags::Parse(argc, argv); | 1107 SkCommandLineFlags::Parse(argc, argv); |
1107 return dm_main(); | 1108 return dm_main(); |
1108 } | 1109 } |
1109 #endif | 1110 #endif |
OLD | NEW |