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

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

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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/SkBitmapFilter.cpp ('k') | src/core/SkBitmapHeap.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
2 /* 1 /*
3 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
7
8 #ifndef SkBitmapHeap_DEFINED 8 #ifndef SkBitmapHeap_DEFINED
9 #define SkBitmapHeap_DEFINED 9 #define SkBitmapHeap_DEFINED
10 10
11 #include "SkAtomics.h"
11 #include "SkBitmap.h" 12 #include "SkBitmap.h"
12 #include "SkFlattenable.h" 13 #include "SkPoint.h"
13 #include "SkRefCnt.h" 14 #include "SkRefCnt.h"
14 #include "SkTDArray.h" 15 #include "SkTDArray.h"
15 #include "SkAtomics.h" 16 #include "SkTypes.h"
16 17
17 /** 18 /**
18 * SkBitmapHeapEntry provides users of SkBitmapHeap (using internal storage) wit h a means to... 19 * SkBitmapHeapEntry provides users of SkBitmapHeap (using internal storage) wit h a means to...
19 * (1) get access a bitmap in the heap 20 * (1) get access a bitmap in the heap
20 * (2) indicate they are done with bitmap by releasing their reference (if they were an owner). 21 * (2) indicate they are done with bitmap by releasing their reference (if they were an owner).
21 */ 22 */
22 class SkBitmapHeapEntry : SkNoncopyable { 23 class SkBitmapHeapEntry : SkNoncopyable {
23 public: 24 public:
24 ~SkBitmapHeapEntry(); 25 ~SkBitmapHeapEntry();
25 26
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 const int32_t fOwnerCount; 290 const int32_t fOwnerCount;
290 size_t fBytesAllocated; 291 size_t fBytesAllocated;
291 292
292 bool fDeferAddingOwners; 293 bool fDeferAddingOwners;
293 SkTDArray<int> fDeferredEntries; 294 SkTDArray<int> fDeferredEntries;
294 295
295 typedef SkBitmapHeapReader INHERITED; 296 typedef SkBitmapHeapReader INHERITED;
296 }; 297 };
297 298
298 #endif // SkBitmapHeap_DEFINED 299 #endif // SkBitmapHeap_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkBitmapFilter.cpp ('k') | src/core/SkBitmapHeap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698