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 #ifndef DMSrcSink_DEFINED | 8 #ifndef DMSrcSink_DEFINED |
9 #define DMSrcSink_DEFINED | 9 #define DMSrcSink_DEFINED |
10 | 10 |
11 #include "DMGpuSupport.h" | 11 #include "DMGpuSupport.h" |
12 #include "SkBBHFactory.h" | 12 #include "SkBBHFactory.h" |
13 #include "SkBBoxHierarchy.h" | 13 #include "SkBBoxHierarchy.h" |
14 #include "SkBitmap.h" | 14 #include "SkBitmap.h" |
15 #include "SkCanvas.h" | 15 #include "SkCanvas.h" |
16 #include "SkCodec.h" | |
17 #include "SkData.h" | 16 #include "SkData.h" |
18 #include "SkGPipe.h" | 17 #include "SkGPipe.h" |
19 #include "SkPicture.h" | 18 #include "SkPicture.h" |
20 #include "gm.h" | 19 #include "gm.h" |
21 | 20 |
22 namespace DM { | 21 namespace DM { |
23 | 22 |
24 // This is just convenience. It lets you use either return "foo" or return SkSt
ringPrintf(...). | 23 // This is just convenience. It lets you use either return "foo" or return SkSt
ringPrintf(...). |
25 struct ImplicitString : public SkString { | 24 struct ImplicitString : public SkString { |
26 template <typename T> | 25 template <typename T> |
(...skipping 282 matching lines...) Loading... |
309 | 308 |
310 class ViaTwice : public Via { | 309 class ViaTwice : public Via { |
311 public: | 310 public: |
312 explicit ViaTwice(Sink* sink) : Via(sink) {} | 311 explicit ViaTwice(Sink* sink) : Via(sink) {} |
313 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 312 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
314 }; | 313 }; |
315 | 314 |
316 } // namespace DM | 315 } // namespace DM |
317 | 316 |
318 #endif//DMSrcSink_DEFINED | 317 #endif//DMSrcSink_DEFINED |
OLD | NEW |