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

Side by Side Diff: src/core/SkPictureData.h

Issue 381133002: Remove SkPicture copy constructor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Removed unused "copy" method 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
« no previous file with comments | « src/core/SkPicture.cpp ('k') | src/core/SkPictureData.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 SkPictureData_DEFINED 8 #ifndef SkPictureData_DEFINED
9 #define SkPictureData_DEFINED 9 #define SkPictureData_DEFINED
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 bool initialized; 125 bool initialized;
126 SkChunkFlatController controller; 126 SkChunkFlatController controller;
127 SkTDArray<SkFlatData*> paintData; 127 SkTDArray<SkFlatData*> paintData;
128 }; 128 };
129 #endif 129 #endif
130 130
131 class SkPictureData { 131 class SkPictureData {
132 public: 132 public:
133 #ifdef SK_SUPPORT_LEGACY_PICTURE_CLONE 133 #ifdef SK_SUPPORT_LEGACY_PICTURE_CLONE
134 SkPictureData(const SkPictureData& src, SkPictCopyInfo* deepCopyInfo = NULL) ; 134 SkPictureData(const SkPictureData& src, SkPictCopyInfo* deepCopyInfo = NULL) ;
135 #else
136 SkPictureData(const SkPictureData& src);
137 #endif 135 #endif
138 SkPictureData(const SkPictureRecord& record, const SkPictInfo&, bool deepCop yOps); 136 SkPictureData(const SkPictureRecord& record, const SkPictInfo&, bool deepCop yOps);
139 static SkPictureData* CreateFromStream(SkStream*, 137 static SkPictureData* CreateFromStream(SkStream*,
140 const SkPictInfo&, 138 const SkPictInfo&,
141 SkPicture::InstallPixelRefProc); 139 SkPicture::InstallPixelRefProc);
142 static SkPictureData* CreateFromBuffer(SkReadBuffer&, const SkPictInfo&); 140 static SkPictureData* CreateFromBuffer(SkReadBuffer&, const SkPictInfo&);
143 141
144 virtual ~SkPictureData(); 142 virtual ~SkPictureData();
145 143
146 const SkPicture::OperationList* getActiveOps(const SkIRect& queryRect) const ; 144 const SkPicture::OperationList* getActiveOps(const SkIRect& queryRect) const ;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 279
282 const SkPictInfo fInfo; 280 const SkPictInfo fInfo;
283 281
284 static void WriteFactories(SkWStream* stream, const SkFactorySet& rec); 282 static void WriteFactories(SkWStream* stream, const SkFactorySet& rec);
285 static void WriteTypefaces(SkWStream* stream, const SkRefCntSet& rec); 283 static void WriteTypefaces(SkWStream* stream, const SkRefCntSet& rec);
286 284
287 void initForPlayback() const; 285 void initForPlayback() const;
288 }; 286 };
289 287
290 #endif 288 #endif
OLDNEW
« no previous file with comments | « src/core/SkPicture.cpp ('k') | src/core/SkPictureData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698