OLD | NEW |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
1 #include "DMSrcSink.h" | 8 #include "DMSrcSink.h" |
2 #include "SamplePipeControllers.h" | 9 #include "SamplePipeControllers.h" |
3 #include "SkCommonFlags.h" | 10 #include "SkCommonFlags.h" |
4 #include "SkCodec.h" | 11 #include "SkCodec.h" |
5 #include "SkDocument.h" | 12 #include "SkDocument.h" |
6 #include "SkError.h" | 13 #include "SkError.h" |
7 #include "SkMultiPictureDraw.h" | 14 #include "SkMultiPictureDraw.h" |
8 #include "SkNullCanvas.h" | 15 #include "SkNullCanvas.h" |
9 #include "SkOSFile.h" | 16 #include "SkOSFile.h" |
10 #include "SkPictureData.h" | 17 #include "SkPictureData.h" |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 surfaces.unrefAll(); | 581 surfaces.unrefAll(); |
575 return ""; | 582 return ""; |
576 } | 583 } |
577 SkISize size() const SK_OVERRIDE { return fSize; } | 584 SkISize size() const SK_OVERRIDE { return fSize; } |
578 Name name() const SK_OVERRIDE { sk_throw(); return ""; } // No one shou
ld be calling this. | 585 Name name() const SK_OVERRIDE { sk_throw(); return ""; } // No one shou
ld be calling this. |
579 } proxy(fW, fH, pic, src.size()); | 586 } proxy(fW, fH, pic, src.size()); |
580 return fSink->draw(proxy, bitmap, stream, log); | 587 return fSink->draw(proxy, bitmap, stream, log); |
581 } | 588 } |
582 | 589 |
583 } // namespace DM | 590 } // namespace DM |
OLD | NEW |