OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
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 #ifndef SkAAClip_DEFINED | 8 #ifndef SkAAClip_DEFINED |
10 #define SkAAClip_DEFINED | 9 #define SkAAClip_DEFINED |
11 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 enum { | 127 enum { |
129 kSize = 32 * 32 | 128 kSize = 32 * 32 |
130 }; | 129 }; |
131 SkAutoSMalloc<kSize> fGrayMaskScratch; // used for blitMask | 130 SkAutoSMalloc<kSize> fGrayMaskScratch; // used for blitMask |
132 void* fScanlineScratch; // enough for a mask at 32bit, or runs+aa | 131 void* fScanlineScratch; // enough for a mask at 32bit, or runs+aa |
133 | 132 |
134 void ensureRunsAndAA(); | 133 void ensureRunsAndAA(); |
135 }; | 134 }; |
136 | 135 |
137 #endif | 136 #endif |
OLD | NEW |