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

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

Issue 1828433004: Revert of Delete SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@fix-animator
Patch Set: Created 4 years, 9 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/android/SkBitmapRegionDecoder.cpp ('k') | src/core/SkLayerInfo.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 2015 Google Inc. 2 * Copyright 2015 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 SkBigPicture_DEFINED 8 #ifndef SkBigPicture_DEFINED
9 #define SkBigPicture_DEFINED 9 #define SkBigPicture_DEFINED
10 10
11 #include "SkOncePtr.h" 11 #include "SkOncePtr.h"
12 #include "SkPicture.h" 12 #include "SkPicture.h"
13 #include "SkRect.h"
14 #include "SkTemplates.h" 13 #include "SkTemplates.h"
15 14
16 class SkBBoxHierarchy; 15 class SkBBoxHierarchy;
17 class SkMatrix;
18 class SkRecord; 16 class SkRecord;
19 17
20 // An implementation of SkPicture supporting an arbitrary number of drawing comm ands. 18 // An implementation of SkPicture supporting an arbitrary number of drawing comm ands.
21 class SkBigPicture final : public SkPicture { 19 class SkBigPicture final : public SkPicture {
22 public: 20 public:
23 // AccelData provides a base class for device-specific acceleration data. 21 // AccelData provides a base class for device-specific acceleration data.
24 class AccelData : public SkRefCnt { }; 22 class AccelData : public SkRefCnt { };
25 23
26 // An array of refcounted const SkPicture pointers. 24 // An array of refcounted const SkPicture pointers.
27 class SnapshotArray : ::SkNoncopyable { 25 class SnapshotArray : ::SkNoncopyable {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const SkRect fCullRect; 80 const SkRect fCullRect;
83 const size_t fApproxBytesUsedBySubPictures; 81 const size_t fApproxBytesUsedBySubPictures;
84 SkOncePtr<const Analysis> fAnalysis; 82 SkOncePtr<const Analysis> fAnalysis;
85 SkAutoTUnref<const SkRecord> fRecord; 83 SkAutoTUnref<const SkRecord> fRecord;
86 SkAutoTDelete<const SnapshotArray> fDrawablePicts; 84 SkAutoTDelete<const SnapshotArray> fDrawablePicts;
87 SkAutoTUnref<const SkBBoxHierarchy> fBBH; 85 SkAutoTUnref<const SkBBoxHierarchy> fBBH;
88 SkAutoTUnref<const AccelData> fAccelData; 86 SkAutoTUnref<const AccelData> fAccelData;
89 }; 87 };
90 88
91 #endif//SkBigPicture_DEFINED 89 #endif//SkBigPicture_DEFINED
OLDNEW
« no previous file with comments | « src/android/SkBitmapRegionDecoder.cpp ('k') | src/core/SkLayerInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698