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 |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 explicit ViaTwice(Sink* sink) : Via(sink) {} | 439 explicit ViaTwice(Sink* sink) : Via(sink) {} |
440 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 440 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
441 }; | 441 }; |
442 | 442 |
443 class ViaMojo : public Via { | 443 class ViaMojo : public Via { |
444 public: | 444 public: |
445 explicit ViaMojo(Sink* sink) : Via(sink) {} | 445 explicit ViaMojo(Sink* sink) : Via(sink) {} |
446 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; | 446 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
447 }; | 447 }; |
448 | 448 |
| 449 class ViaLite : public Via { |
| 450 public: |
| 451 explicit ViaLite(Sink* sink) : Via(sink) {} |
| 452 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
| 453 }; |
| 454 |
449 } // namespace DM | 455 } // namespace DM |
450 | 456 |
451 #endif//DMSrcSink_DEFINED | 457 #endif//DMSrcSink_DEFINED |
OLD | NEW |