Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: src/core/SkPictureRecorder.cpp

Issue 362773002: Rename SkPicturePlayback to SkPictureData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix include order Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "SkPicturePlayback.h"
10 #include "SkPictureRecord.h" 9 #include "SkPictureRecord.h"
11 #include "SkPictureRecorder.h" 10 #include "SkPictureRecorder.h"
12 #include "SkRecord.h" 11 #include "SkRecord.h"
13 #include "SkRecordDraw.h" 12 #include "SkRecordDraw.h"
14 #include "SkRecorder.h" 13 #include "SkRecorder.h"
15 #include "SkTypes.h" 14 #include "SkTypes.h"
16 15
17 SkPictureRecorder::SkPictureRecorder() {} 16 SkPictureRecorder::SkPictureRecorder() {}
18 17
19 SkPictureRecorder::~SkPictureRecorder() {} 18 SkPictureRecorder::~SkPictureRecorder() {}
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 if (NULL != fRecord.get()) { 85 if (NULL != fRecord.get()) {
87 SkRecordDraw(*fRecord, canvas); 86 SkRecordDraw(*fRecord, canvas);
88 } 87 }
89 88
90 if (NULL != fPictureRecord.get()) { 89 if (NULL != fPictureRecord.get()) {
91 const bool deepCopyOps = true; 90 const bool deepCopyOps = true;
92 SkPicture picture(fWidth, fHeight, *fPictureRecord.get(), deepCopyOps); 91 SkPicture picture(fWidth, fHeight, *fPictureRecord.get(), deepCopyOps);
93 picture.draw(canvas); 92 picture.draw(canvas);
94 } 93 }
95 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698