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

Side by Side Diff: dm/DM.cpp

Issue 1376573002: DM: PDFSink sets rasterizer keyword (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | 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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | dm/DMSrcSink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698