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

Side by Side Diff: dm/DM.cpp

Issue 2213333002: SkLite* (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: annoying... Created 4 years, 4 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/PictureOverheadBench.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 "DMJsonWriter.h" 8 #include "DMJsonWriter.h"
9 #include "DMSrcSink.h" 9 #include "DMSrcSink.h"
10 #include "DMSrcSinkAndroid.h" 10 #include "DMSrcSinkAndroid.h"
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 SINK("null", NullSink); 872 SINK("null", NullSink);
873 SINK("xps", XPSSink); 873 SINK("xps", XPSSink);
874 SINK("pdfa", PDFSink, true); 874 SINK("pdfa", PDFSink, true);
875 } 875 }
876 #undef SINK 876 #undef SINK
877 return nullptr; 877 return nullptr;
878 } 878 }
879 879
880 static Sink* create_via(const SkString& tag, Sink* wrapped) { 880 static Sink* create_via(const SkString& tag, Sink* wrapped) {
881 #define VIA(t, via, ...) if (tag.equals(t)) { return new via(__VA_ARGS__); } 881 #define VIA(t, via, ...) if (tag.equals(t)) { return new via(__VA_ARGS__); }
882 VIA("lite", ViaLite, wrapped);
882 VIA("twice", ViaTwice, wrapped); 883 VIA("twice", ViaTwice, wrapped);
883 VIA("serialize", ViaSerialization, wrapped); 884 VIA("serialize", ViaSerialization, wrapped);
884 VIA("pic", ViaPicture, wrapped); 885 VIA("pic", ViaPicture, wrapped);
885 VIA("2ndpic", ViaSecondPicture, wrapped); 886 VIA("2ndpic", ViaSecondPicture, wrapped);
886 VIA("sp", ViaSingletonPictures, wrapped); 887 VIA("sp", ViaSingletonPictures, wrapped);
887 VIA("defer", ViaDefer, wrapped); 888 VIA("defer", ViaDefer, wrapped);
888 VIA("tiles", ViaTiles, 256, 256, nullptr, wrapped); 889 VIA("tiles", ViaTiles, 256, 256, nullptr, wrapped);
889 VIA("tiles_rt", ViaTiles, 256, 256, new SkRTreeFactory, wrapped); 890 VIA("tiles_rt", ViaTiles, 256, 256, new SkRTreeFactory, wrapped);
890 891
891 if (FLAGS_matrix.count() == 4) { 892 if (FLAGS_matrix.count() == 4) {
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 #endif 1435 #endif
1435 } 1436 }
1436 } // namespace skiatest 1437 } // namespace skiatest
1437 1438
1438 #if !defined(SK_BUILD_FOR_IOS) 1439 #if !defined(SK_BUILD_FOR_IOS)
1439 int main(int argc, char** argv) { 1440 int main(int argc, char** argv) {
1440 SkCommandLineFlags::Parse(argc, argv); 1441 SkCommandLineFlags::Parse(argc, argv);
1441 return dm_main(); 1442 return dm_main();
1442 } 1443 }
1443 #endif 1444 #endif
OLDNEW
« no previous file with comments | « bench/PictureOverheadBench.cpp ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698