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

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

Issue 1938033002: Remove SkBitmapHeap and SkBitmapHeapReader. They're unused. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore ability to partially read old SKPs Created 4 years, 7 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/SkPictureData.h ('k') | src/core/SkReadBuffer.h » ('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 #ifndef SkPictureFlat_DEFINED 7 #ifndef SkPictureFlat_DEFINED
8 #define SkPictureFlat_DEFINED 8 #define SkPictureFlat_DEFINED
9 9
10 10
11 #include "SkBitmapHeap.h"
12 #include "SkChecksum.h" 11 #include "SkChecksum.h"
13 #include "SkChunkAlloc.h" 12 #include "SkChunkAlloc.h"
14 #include "SkReadBuffer.h" 13 #include "SkReadBuffer.h"
15 #include "SkWriteBuffer.h" 14 #include "SkWriteBuffer.h"
16 #include "SkPaint.h" 15 #include "SkPaint.h"
17 #include "SkPicture.h" 16 #include "SkPicture.h"
18 #include "SkPtrRecorder.h" 17 #include "SkPtrRecorder.h"
19 #include "SkTDynamicHash.h" 18 #include "SkTDynamicHash.h"
20 19
21 enum DrawType { 20 enum DrawType {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void setupBuffer(SkReadBuffer& buffer) const { 156 void setupBuffer(SkReadBuffer& buffer) const {
158 buffer.setFactoryPlayback(fArray, fCount); 157 buffer.setFactoryPlayback(fArray, fCount);
159 } 158 }
160 159
161 private: 160 private:
162 int fCount; 161 int fCount;
163 SkFlattenable::Factory* fArray; 162 SkFlattenable::Factory* fArray;
164 }; 163 };
165 164
166 #endif 165 #endif
OLDNEW
« no previous file with comments | « src/core/SkPictureData.h ('k') | src/core/SkReadBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698