OLD | NEW |
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" |
13 #include "SkTemplates.h" | 14 #include "SkTemplates.h" |
14 | 15 |
15 class SkBBoxHierarchy; | 16 class SkBBoxHierarchy; |
| 17 class SkMatrix; |
16 class SkRecord; | 18 class SkRecord; |
17 | 19 |
18 // An implementation of SkPicture supporting an arbitrary number of drawing comm
ands. | 20 // An implementation of SkPicture supporting an arbitrary number of drawing comm
ands. |
19 class SkBigPicture final : public SkPicture { | 21 class SkBigPicture final : public SkPicture { |
20 public: | 22 public: |
21 // AccelData provides a base class for device-specific acceleration data. | 23 // AccelData provides a base class for device-specific acceleration data. |
22 class AccelData : public SkRefCnt { }; | 24 class AccelData : public SkRefCnt { }; |
23 | 25 |
24 // An array of refcounted const SkPicture pointers. | 26 // An array of refcounted const SkPicture pointers. |
25 class SnapshotArray : ::SkNoncopyable { | 27 class SnapshotArray : ::SkNoncopyable { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 const SkRect fCullRect; | 82 const SkRect fCullRect; |
81 const size_t fApproxBytesUsedBySubPictures; | 83 const size_t fApproxBytesUsedBySubPictures; |
82 SkOncePtr<const Analysis> fAnalysis; | 84 SkOncePtr<const Analysis> fAnalysis; |
83 SkAutoTUnref<const SkRecord> fRecord; | 85 SkAutoTUnref<const SkRecord> fRecord; |
84 SkAutoTDelete<const SnapshotArray> fDrawablePicts; | 86 SkAutoTDelete<const SnapshotArray> fDrawablePicts; |
85 SkAutoTUnref<const SkBBoxHierarchy> fBBH; | 87 SkAutoTUnref<const SkBBoxHierarchy> fBBH; |
86 SkAutoTUnref<const AccelData> fAccelData; | 88 SkAutoTUnref<const AccelData> fAccelData; |
87 }; | 89 }; |
88 | 90 |
89 #endif//SkBigPicture_DEFINED | 91 #endif//SkBigPicture_DEFINED |
OLD | NEW |