| 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 | 8 |
| 9 #ifndef SkWriteBuffer_DEFINED | 9 #ifndef SkWriteBuffer_DEFINED |
| 10 #define SkWriteBuffer_DEFINED | 10 #define SkWriteBuffer_DEFINED |
| 11 | 11 |
| 12 #include "SkBitmapHeap.h" | |
| 13 #include "SkData.h" | 12 #include "SkData.h" |
| 14 #include "SkPath.h" | 13 #include "SkPath.h" |
| 15 #include "SkPicture.h" | 14 #include "SkPicture.h" |
| 16 #include "SkRefCnt.h" | 15 #include "SkRefCnt.h" |
| 17 #include "SkWriter32.h" | 16 #include "SkWriter32.h" |
| 18 | 17 |
| 19 class SkBitmap; | 18 class SkBitmap; |
| 19 class SkBitmapHeap; |
| 20 class SkFactorySet; | 20 class SkFactorySet; |
| 21 class SkFlattenable; | 21 class SkFlattenable; |
| 22 class SkNamedFactorySet; | 22 class SkNamedFactorySet; |
| 23 class SkRefCntSet; | 23 class SkRefCntSet; |
| 24 | 24 |
| 25 class SkWriteBuffer { | 25 class SkWriteBuffer { |
| 26 public: | 26 public: |
| 27 enum Flags { | 27 enum Flags { |
| 28 kCrossProcess_Flag = 1 << 0, | 28 kCrossProcess_Flag = 1 << 0, |
| 29 kValidation_Flag = 1 << 1, | 29 kValidation_Flag = 1 << 1, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 SkNamedFactorySet* fNamedFactorySet; | 111 SkNamedFactorySet* fNamedFactorySet; |
| 112 SkWriter32 fWriter; | 112 SkWriter32 fWriter; |
| 113 | 113 |
| 114 SkBitmapHeap* fBitmapHeap; | 114 SkBitmapHeap* fBitmapHeap; |
| 115 SkRefCntSet* fTFSet; | 115 SkRefCntSet* fTFSet; |
| 116 | 116 |
| 117 SkPicture::EncodeBitmap fBitmapEncoder; | 117 SkPicture::EncodeBitmap fBitmapEncoder; |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 #endif // SkWriteBuffer_DEFINED | 120 #endif // SkWriteBuffer_DEFINED |
| OLD | NEW |