OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #ifndef SkPictureFlat_DEFINED | 8 #ifndef SkPictureFlat_DEFINED |
9 #define SkPictureFlat_DEFINED | 9 #define SkPictureFlat_DEFINED |
10 | 10 |
11 //#define SK_DEBUG_SIZE | |
12 | 11 |
13 #include "SkBitmapHeap.h" | 12 #include "SkBitmapHeap.h" |
14 #include "SkChecksum.h" | 13 #include "SkChecksum.h" |
15 #include "SkChunkAlloc.h" | 14 #include "SkChunkAlloc.h" |
16 #include "SkReadBuffer.h" | 15 #include "SkReadBuffer.h" |
17 #include "SkWriteBuffer.h" | 16 #include "SkWriteBuffer.h" |
18 #include "SkPaint.h" | 17 #include "SkPaint.h" |
19 #include "SkPicture.h" | 18 #include "SkPicture.h" |
20 #include "SkPtrRecorder.h" | 19 #include "SkPtrRecorder.h" |
21 #include "SkTDynamicHash.h" | 20 #include "SkTDynamicHash.h" |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 } | 601 } |
603 | 602 |
604 private: | 603 private: |
605 SkChunkAlloc fHeap; | 604 SkChunkAlloc fHeap; |
606 SkAutoTUnref<SkRefCntSet> fTypefaceSet; | 605 SkAutoTUnref<SkRefCntSet> fTypefaceSet; |
607 void* fLastAllocated; | 606 void* fLastAllocated; |
608 mutable SkTypefacePlayback fTypefacePlayback; | 607 mutable SkTypefacePlayback fTypefacePlayback; |
609 }; | 608 }; |
610 | 609 |
611 #endif | 610 #endif |
OLD | NEW |