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 SkMiniRecorder_DEFINED | 8 #ifndef SkMiniRecorder_DEFINED |
9 #define SkMiniRecorder_DEFINED | 9 #define SkMiniRecorder_DEFINED |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 static const size_t kInlineStorage = | 52 static const size_t kInlineStorage = |
53 Max<sizeof(SkRecords::DrawBitmapRectFixedSize), | 53 Max<sizeof(SkRecords::DrawBitmapRectFixedSize), |
54 Max<sizeof(SkRecords::DrawPath), | 54 Max<sizeof(SkRecords::DrawPath), |
55 Max<sizeof(SkRecords::DrawRect), | 55 Max<sizeof(SkRecords::DrawRect), |
56 sizeof(SkRecords::DrawTextBlob)>::val>::val>::val; | 56 sizeof(SkRecords::DrawTextBlob)>::val>::val>::val; |
57 SkAlignedSStorage<kInlineStorage> fBuffer; | 57 SkAlignedSStorage<kInlineStorage> fBuffer; |
58 }; | 58 }; |
59 | 59 |
60 #endif//SkMiniRecorder_DEFINED | 60 #endif//SkMiniRecorder_DEFINED |
OLD | NEW |