| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 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 */ |
| 8 | 7 |
| 9 | 8 |
| 10 #ifndef SkDescriptor_DEFINED | 9 #ifndef SkDescriptor_DEFINED |
| 11 #define SkDescriptor_DEFINED | 10 #define SkDescriptor_DEFINED |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 + sizeof(SkDescriptor::Entry) + sizeof(void*)
// for typeface | 166 + sizeof(SkDescriptor::Entry) + sizeof(void*)
// for typeface |
| 168 + 32 // slop for occational small extras | 167 + 32 // slop for occational small extras |
| 169 }; | 168 }; |
| 170 SkDescriptor* fDesc; | 169 SkDescriptor* fDesc; |
| 171 uint32_t fStorage[(kStorageSize + 3) >> 2]; | 170 uint32_t fStorage[(kStorageSize + 3) >> 2]; |
| 172 }; | 171 }; |
| 173 #define SkAutoDescriptor(...) SK_REQUIRE_LOCAL_VAR(SkAutoDescriptor) | 172 #define SkAutoDescriptor(...) SK_REQUIRE_LOCAL_VAR(SkAutoDescriptor) |
| 174 | 173 |
| 175 | 174 |
| 176 #endif | 175 #endif |
| OLD | NEW |