OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "DMSrcSink.h" | 8 #include "DMSrcSink.h" |
9 #include "Resources.h" | 9 #include "Resources.h" |
10 #include "SkAndroidCodec.h" | 10 #include "SkAndroidCodec.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "SkOSFile.h" | 27 #include "SkOSFile.h" |
28 #include "SkOpts.h" | 28 #include "SkOpts.h" |
29 #include "SkPictureData.h" | 29 #include "SkPictureData.h" |
30 #include "SkPictureRecorder.h" | 30 #include "SkPictureRecorder.h" |
31 #include "SkRandom.h" | 31 #include "SkRandom.h" |
32 #include "SkRecordDraw.h" | 32 #include "SkRecordDraw.h" |
33 #include "SkRecorder.h" | 33 #include "SkRecorder.h" |
34 #include "SkSVGCanvas.h" | 34 #include "SkSVGCanvas.h" |
35 #include "SkStream.h" | 35 #include "SkStream.h" |
36 #include "SkTLogic.h" | 36 #include "SkTLogic.h" |
37 #include "SkSVGDOM.h" | |
38 #include "SkSwizzler.h" | 37 #include "SkSwizzler.h" |
39 #include <functional> | 38 #include <functional> |
40 | 39 |
41 #if defined(SK_BUILD_FOR_WIN) | 40 #if defined(SK_BUILD_FOR_WIN) |
42 #include "SkAutoCoInitialize.h" | 41 #include "SkAutoCoInitialize.h" |
43 #endif | 42 #endif |
44 | 43 |
45 #if defined(SK_TEST_QCMS) | 44 #if defined(SK_TEST_QCMS) |
46 #include "qcms.h" | 45 #include "qcms.h" |
47 #endif | 46 #endif |
48 | 47 |
49 #if defined(SK_XML) | 48 #if defined(SK_XML) |
| 49 #include "SkSVGDOM.h" |
50 #include "SkXMLWriter.h" | 50 #include "SkXMLWriter.h" |
51 #endif | 51 #endif |
52 | 52 |
53 DEFINE_bool(multiPage, false, "For document-type backends, render the source" | 53 DEFINE_bool(multiPage, false, "For document-type backends, render the source" |
54 " into multiple pages"); | 54 " into multiple pages"); |
55 DEFINE_bool(RAW_threading, true, "Allow RAW decodes to run on multiple threads?"
); | 55 DEFINE_bool(RAW_threading, true, "Allow RAW decodes to run on multiple threads?"
); |
56 | 56 |
57 using sk_gpu_test::GrContextFactory; | 57 using sk_gpu_test::GrContextFactory; |
58 | 58 |
59 namespace DM { | 59 namespace DM { |
(...skipping 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1603 skr.visit(i, drawsAsSingletonPictures); | 1603 skr.visit(i, drawsAsSingletonPictures); |
1604 } | 1604 } |
1605 sk_sp<SkPicture> macroPic(macroRec.finishRecordingAsPicture()); | 1605 sk_sp<SkPicture> macroPic(macroRec.finishRecordingAsPicture()); |
1606 | 1606 |
1607 canvas->drawPicture(macroPic); | 1607 canvas->drawPicture(macroPic); |
1608 return check_against_reference(bitmap, src, fSink); | 1608 return check_against_reference(bitmap, src, fSink); |
1609 }); | 1609 }); |
1610 } | 1610 } |
1611 | 1611 |
1612 } // namespace DM | 1612 } // namespace DM |
OLD | NEW |