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

Side by Side Diff: dm/DM.cpp

Issue 1129693003: Do we still need this DOUBLE_LOOP feature? (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 SINK("svg", SVGSink); 359 SINK("svg", SVGSink);
360 SINK("null", NullSink); 360 SINK("null", NullSink);
361 SINK("xps", XPSSink); 361 SINK("xps", XPSSink);
362 } 362 }
363 #undef SINK 363 #undef SINK
364 return NULL; 364 return NULL;
365 } 365 }
366 366
367 static Sink* create_via(const char* tag, Sink* wrapped) { 367 static Sink* create_via(const char* tag, Sink* wrapped) {
368 #define VIA(t, via, ...) if (0 == strcmp(t, tag)) { return new via(__VA_ARGS__); } 368 #define VIA(t, via, ...) if (0 == strcmp(t, tag)) { return new via(__VA_ARGS__); }
369 VIA("twice", ViaTwice, wrapped);
369 VIA("pipe", ViaPipe, wrapped); 370 VIA("pipe", ViaPipe, wrapped);
370 VIA("serialize", ViaSerialization, wrapped); 371 VIA("serialize", ViaSerialization, wrapped);
371 VIA("deferred", ViaDeferred, wrapped); 372 VIA("deferred", ViaDeferred, wrapped);
372 VIA("2ndpic", ViaSecondPicture, wrapped); 373 VIA("2ndpic", ViaSecondPicture, wrapped);
373 VIA("sp", ViaSingletonPictures, wrapped); 374 VIA("sp", ViaSingletonPictures, wrapped);
374 VIA("tiles", ViaTiles, 256, 256, NULL, wrapped); 375 VIA("tiles", ViaTiles, 256, 256, NULL, wrapped);
375 VIA("tiles_rt", ViaTiles, 256, 256, new SkRTreeFactory, wrapped); 376 VIA("tiles_rt", ViaTiles, 256, 256, new SkRTreeFactory, wrapped);
376 377
377 if (FLAGS_matrix.count() == 4) { 378 if (FLAGS_matrix.count() == 4) {
378 SkMatrix m; 379 SkMatrix m;
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 } 758 }
758 return 0; 759 return 0;
759 } 760 }
760 761
761 #if !defined(SK_BUILD_FOR_IOS) 762 #if !defined(SK_BUILD_FOR_IOS)
762 int main(int argc, char** argv) { 763 int main(int argc, char** argv) {
763 SkCommandLineFlags::Parse(argc, argv); 764 SkCommandLineFlags::Parse(argc, argv);
764 return dm_main(); 765 return dm_main();
765 } 766 }
766 #endif 767 #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