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

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

Issue 647973006: Remove a SkImageDecoder reference from SkPicture.h (Closed) Base URL: https://skia.googlesource.com/skia.git@separate-image-encoder-02-debug-functionality
Patch Set: Created 6 years, 2 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 | « samplecode/SampleApp.cpp ('k') | src/gpu/GrLayerHoister.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 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 #ifndef SkRecord_DEFINED 8 #ifndef SkRecord_DEFINED
9 #define SkRecord_DEFINED 9 #define SkRecord_DEFINED
10 10
11 #include "SkImage.h"
11 #include "SkChunkAlloc.h" 12 #include "SkChunkAlloc.h"
12 #include "SkRecords.h" 13 #include "SkRecords.h"
13 #include "SkTLogic.h" 14 #include "SkTLogic.h"
14 #include "SkTemplates.h" 15 #include "SkTemplates.h"
15 16
16 // SkRecord (REC-ord) represents a sequence of SkCanvas calls, saved for future use. 17 // SkRecord (REC-ord) represents a sequence of SkCanvas calls, saved for future use.
17 // These future uses may include: replay, optimization, serialization, or combin ations of those. 18 // These future uses may include: replay, optimization, serialization, or combin ations of those.
18 // 19 //
19 // Though an enterprising user may find calling alloc(), append(), visit(), and mutate() enough to 20 // Though an enterprising user may find calling alloc(), append(), visit(), and mutate() enough to
20 // work with SkRecord, you probably want to look at SkRecorder which presents an SkCanvas interface 21 // work with SkRecord, you probably want to look at SkRecorder which presents an SkCanvas interface
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 229
229 SkChunkAlloc fAlloc; 230 SkChunkAlloc fAlloc;
230 SkAutoTMalloc<Record> fRecords; 231 SkAutoTMalloc<Record> fRecords;
231 SkAutoTMalloc<Type8> fTypes; 232 SkAutoTMalloc<Type8> fTypes;
232 // fCount and fReserved measure both fRecords and fTypes, which always grow in lock step. 233 // fCount and fReserved measure both fRecords and fTypes, which always grow in lock step.
233 unsigned fCount; 234 unsigned fCount;
234 unsigned fReserved; 235 unsigned fReserved;
235 }; 236 };
236 237
237 #endif//SkRecord_DEFINED 238 #endif//SkRecord_DEFINED
OLDNEW
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/gpu/GrLayerHoister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698