OLD | NEW |
| 1 /* |
| 2 * Copyright 2014 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 "SkRecording.h" | 8 #include "SkRecording.h" |
2 | 9 |
3 #include "SkRecord.h" | 10 #include "SkRecord.h" |
4 #include "SkRecorder.h" | 11 #include "SkRecorder.h" |
5 #include "SkRecordDraw.h" | 12 #include "SkRecordDraw.h" |
6 | 13 |
7 namespace EXPERIMENTAL { | 14 namespace EXPERIMENTAL { |
8 | 15 |
9 SkPlayback::SkPlayback(const SkRecord* record) : fRecord(record) {} | 16 SkPlayback::SkPlayback(const SkRecord* record) : fRecord(record) {} |
10 | 17 |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 42 |
36 SkRecording::~SkRecording() { | 43 SkRecording::~SkRecording() { |
37 SkDELETE(fRecorder); | 44 SkDELETE(fRecorder); |
38 } | 45 } |
39 | 46 |
40 SkCanvas* SkRecording::canvas() { | 47 SkCanvas* SkRecording::canvas() { |
41 return fRecorder; | 48 return fRecorder; |
42 } | 49 } |
43 | 50 |
44 } // namespace EXPERIMENTAL | 51 } // namespace EXPERIMENTAL |
OLD | NEW |