| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "SkBBoxHierarchyRecord.h" | 8 #include "SkBBoxHierarchyRecord.h" |
| 9 #include "SkPictureRecord.h" | 9 #include "SkPictureRecord.h" |
| 10 #include "SkPictureRecorder.h" | 10 #include "SkPictureRecorder.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 101 } |
| 102 | 102 |
| 103 if (NULL != fRecord.get()) { | 103 if (NULL != fRecord.get()) { |
| 104 SkRecordDraw(*fRecord, canvas, NULL/*bbh*/, NULL/*callback*/); | 104 SkRecordDraw(*fRecord, canvas, NULL/*bbh*/, NULL/*callback*/); |
| 105 } | 105 } |
| 106 | 106 |
| 107 if (NULL != fPictureRecord.get()) { | 107 if (NULL != fPictureRecord.get()) { |
| 108 const bool deepCopyOps = true; | 108 const bool deepCopyOps = true; |
| 109 SkPicture picture(fCullWidth, fCullHeight, | 109 SkPicture picture(fCullWidth, fCullHeight, |
| 110 *fPictureRecord.get(), deepCopyOps); | 110 *fPictureRecord.get(), deepCopyOps); |
| 111 picture.draw(canvas); | 111 picture.playback(canvas); |
| 112 } | 112 } |
| 113 } | 113 } |
| OLD | NEW |