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 SkBenchmark_DEFINED | 8 #ifndef SkBenchmark_DEFINED |
9 #define SkBenchmark_DEFINED | 9 #define SkBenchmark_DEFINED |
10 | 10 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 bool fForceAA; | 147 bool fForceAA; |
148 bool fForceFilter; | 148 bool fForceFilter; |
149 SkTriState::State fDither; | 149 SkTriState::State fDither; |
150 bool fHasStrokeWidth; | 150 bool fHasStrokeWidth; |
151 SkScalar strokeWidth; | 151 SkScalar strokeWidth; |
152 uint32_t fOrMask, fClearMask; | 152 uint32_t fOrMask, fClearMask; |
153 | 153 |
154 typedef SkRefCnt INHERITED; | 154 typedef SkRefCnt INHERITED; |
155 }; | 155 }; |
156 | 156 |
157 typedef SkTRegistry<SkBenchmark*, void*> BenchRegistry; | 157 typedef SkTRegistry<SkBenchmark*(*)(void*)> BenchRegistry; |
158 | 158 |
159 #endif | 159 #endif |
OLD | NEW |