OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
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 // IWYU pragma: private, include "SkTypes.h" | 8 // IWYU pragma: private, include "SkTypes.h" |
9 | 9 |
10 #ifndef SkPostConfig_DEFINED | 10 #ifndef SkPostConfig_DEFINED |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 #endif | 339 #endif |
340 | 340 |
341 ////////////////////////////////////////////////////////////////////// | 341 ////////////////////////////////////////////////////////////////////// |
342 | 342 |
343 #ifndef GR_TEST_UTILS | 343 #ifndef GR_TEST_UTILS |
344 # define GR_TEST_UTILS 1 | 344 # define GR_TEST_UTILS 1 |
345 #endif | 345 #endif |
346 | 346 |
347 ////////////////////////////////////////////////////////////////////// | 347 ////////////////////////////////////////////////////////////////////// |
348 | 348 |
| 349 #if defined(SK_HISTOGRAM_ENUMERATION) && defined(SK_HISTOGRAM_BOOLEAN) |
| 350 # define SK_HISTOGRAMS_ENABLED 1 |
| 351 #else |
| 352 # define SK_HISTOGRAMS_ENABLED 0 |
| 353 #endif |
| 354 |
349 #ifndef SK_HISTOGRAM_BOOLEAN | 355 #ifndef SK_HISTOGRAM_BOOLEAN |
350 # define SK_HISTOGRAM_BOOLEAN(name, value) | 356 # define SK_HISTOGRAM_BOOLEAN(name, value) |
351 #endif | 357 #endif |
352 | 358 |
353 #ifndef SK_HISTOGRAM_ENUMERATION | 359 #ifndef SK_HISTOGRAM_ENUMERATION |
354 # define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value) | 360 # define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value) |
355 #endif | 361 #endif |
356 | 362 |
357 #endif // SkPostConfig_DEFINED | 363 #endif // SkPostConfig_DEFINED |
OLD | NEW |